MCPcopy Create free account

hub / github.com/13unk0wn/Feather / functions

Functions45 in github.com/13unk0wn/Feather

↓ 3 callersMethodhandle_keystrokes
Handle key presses for playback control
feather_frontend/src/player.rs:72
↓ 2 callersMethodchange_state
Toggles between search bar and results view
feather_frontend/src/search.rs:136
↓ 2 callersMethodplay_music
Plays a song by fetching its URL from YouTube and passing it to the player. # Arguments `song` - The song to be played. # Returns `Result<(), Backen
feather_frontend/src/backend.rs:93
↓ 2 callersMethodunpause
Resumes playback.
feather/src/player.rs:78
↓ 1 callersMethodadd_entry
Adds a new entry to the history database. Limits the total stored entries to 50.
feather/src/database.rs:67
↓ 1 callersMethodcheck_playing
Function to check whether a song is playing
feather_frontend/src/player.rs:95
↓ 1 callersMethoddelete_entry
Deletes a specific history entry by song ID.
feather/src/database.rs:100
↓ 1 callersMethodduration
Retrieves the duration of the currently playing media.
feather/src/player.rs:114
↓ 1 callersMethodfetch_song_url
Fetches the audio stream URL for a given song ID.
feather/src/yt.rs:52
↓ 1 callersMethodget_current_time
Retrieves the current playback time as a string.
feather/src/player.rs:106
↓ 1 callersMethodget_history
Retrieves up to 50 history entries, sorted by most recent first.
feather/src/database.rs:87
↓ 1 callersMethodis_playing
Returns whether a media file is currently playing.
feather/src/player.rs:122
↓ 1 callersMethodlimit_history_size
Ensures the history database does not exceed `max_size` entries. Removes the oldest entries if necessary.
feather/src/database.rs:77
↓ 1 callersMethodobserve_time
Function to continuously update the current playback time
feather_frontend/src/player.rs:47
↓ 1 callersMethodpause
Pauses playback.
feather/src/player.rs:72
↓ 1 callersMethodplay
Loads and plays a media file from a given URL.
feather/src/player.rs:63
↓ 1 callersMethodplay_pause
Toggles between play and pause states.
feather/src/player.rs:84
↓ 1 callersMethodrender
Main render loop for updating the UI.
feather_frontend/src/main.rs:114
↓ 1 callersMethodsearch
Searches for music based on the given query. Returns a vector of tuples where each entry contains a song name and ID, along with a list of associated
feather/src/yt.rs:28
↓ 1 callersMethodseek_backword
Seeks backward by 5 seconds in the current track.
feather/src/player.rs:100
↓ 1 callersMethodseek_forward
Seeks forward by 5 seconds in the current track.
feather/src/player.rs:94
↓ 1 callersMethodselect_next
Moves selection to next item, respecting bounds
feather_frontend/src/history.rs:78
↓ 1 callersMethodselect_previous
Moves selection to previous item, preventing underflow
feather_frontend/src/history.rs:86
Methodclear_history
Clears all history entries from the database.
feather/src/database.rs:106
Methodfetch_playlist
Searches for playlists based on a given query. Returns a hashmap where the key is the playlist name and the value is a tuple containing the playlist I
feather/src/yt.rs:65
Methodfetch_playlist_songs
Fetches songs from a given playlist ID. Returns a hashmap where each key is a tuple of (song name, song ID), and the value is a list of associated art
feather/src/yt.rs:93
Methodfetch_related_song
Fetches related songs for a given song ID. Returns a hashmap where each key is a tuple of (song name, song ID), and the value is a list of associated
feather/src/yt.rs:121
Methodfrom
(value: Song)
feather_frontend/src/backend.rs:32
Methodget_last_played_song
Retrieves the most recently played song's ID, if available.
feather/src/database.rs:112
Methodhandle_global_keystrokes
Handles global keystrokes and state transitions.
feather_frontend/src/main.rs:76
Methodhandle_keystrokes
Handles keyboard input for navigation and actions
feather_frontend/src/history.rs:44
Methodhandle_keystrokes
Handles keyboard input based on current state
feather_frontend/src/search.rs:65
Functionmain
()
feather/build.rs:1
Functionmain
()
feather_frontend/src/main.rs:19
Methodnew
Creates a new instance of `YoutubeClient`.
feather/src/yt.rs:17
Methodnew
Creates a new `Player` instance and configures MPV settings for optimized audio playback.
feather/src/player.rs:31
Methodnew
Creates a new history entry with the current timestamp.
feather/src/database.rs:20
Methodnew
Creates a new instance of the application.
feather_frontend/src/main.rs:55
Methodnew
(backend: Arc<Backend>, rx: mpsc::Receiver<bool>)
feather_frontend/src/player.rs:35
Methodnew
Creates a new `Song` instance.
feather_frontend/src/backend.rs:40
Methodnew
Constructor initializing the History struct
feather_frontend/src/history.rs:27
Methodnew
Constructor initializing the Search struct
feather_frontend/src/search.rs:45
Methodrender
Render the player UI
feather_frontend/src/player.rs:160
Methodrender
Renders the history UI component
feather_frontend/src/history.rs:92
Methodrender
Renders the search UI
feather_frontend/src/search.rs:144