Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/13unk0wn/Feather
/ functions
Functions
45 in github.com/13unk0wn/Feather
⨍
Functions
45
◇
Types & classes
20
↓ 3 callers
Method
handle_keystrokes
Handle key presses for playback control
feather_frontend/src/player.rs:72
↓ 2 callers
Method
change_state
Toggles between search bar and results view
feather_frontend/src/search.rs:136
↓ 2 callers
Method
play_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 callers
Method
unpause
Resumes playback.
feather/src/player.rs:78
↓ 1 callers
Method
add_entry
Adds a new entry to the history database. Limits the total stored entries to 50.
feather/src/database.rs:67
↓ 1 callers
Method
check_playing
Function to check whether a song is playing
feather_frontend/src/player.rs:95
↓ 1 callers
Method
delete_entry
Deletes a specific history entry by song ID.
feather/src/database.rs:100
↓ 1 callers
Method
duration
Retrieves the duration of the currently playing media.
feather/src/player.rs:114
↓ 1 callers
Method
fetch_song_url
Fetches the audio stream URL for a given song ID.
feather/src/yt.rs:52
↓ 1 callers
Method
get_current_time
Retrieves the current playback time as a string.
feather/src/player.rs:106
↓ 1 callers
Method
get_history
Retrieves up to 50 history entries, sorted by most recent first.
feather/src/database.rs:87
↓ 1 callers
Method
is_playing
Returns whether a media file is currently playing.
feather/src/player.rs:122
↓ 1 callers
Method
limit_history_size
Ensures the history database does not exceed `max_size` entries. Removes the oldest entries if necessary.
feather/src/database.rs:77
↓ 1 callers
Method
observe_time
Function to continuously update the current playback time
feather_frontend/src/player.rs:47
↓ 1 callers
Method
pause
Pauses playback.
feather/src/player.rs:72
↓ 1 callers
Method
play
Loads and plays a media file from a given URL.
feather/src/player.rs:63
↓ 1 callers
Method
play_pause
Toggles between play and pause states.
feather/src/player.rs:84
↓ 1 callers
Method
render
Main render loop for updating the UI.
feather_frontend/src/main.rs:114
↓ 1 callers
Method
search
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 callers
Method
seek_backword
Seeks backward by 5 seconds in the current track.
feather/src/player.rs:100
↓ 1 callers
Method
seek_forward
Seeks forward by 5 seconds in the current track.
feather/src/player.rs:94
↓ 1 callers
Method
select_next
Moves selection to next item, respecting bounds
feather_frontend/src/history.rs:78
↓ 1 callers
Method
select_previous
Moves selection to previous item, preventing underflow
feather_frontend/src/history.rs:86
Method
clear_history
Clears all history entries from the database.
feather/src/database.rs:106
Method
fetch_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
Method
fetch_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
Method
fetch_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
Method
from
(value: Song)
feather_frontend/src/backend.rs:32
Method
get_last_played_song
Retrieves the most recently played song's ID, if available.
feather/src/database.rs:112
Method
handle_global_keystrokes
Handles global keystrokes and state transitions.
feather_frontend/src/main.rs:76
Method
handle_keystrokes
Handles keyboard input for navigation and actions
feather_frontend/src/history.rs:44
Method
handle_keystrokes
Handles keyboard input based on current state
feather_frontend/src/search.rs:65
Function
main
()
feather/build.rs:1
Function
main
()
feather_frontend/src/main.rs:19
Method
new
Creates a new instance of `YoutubeClient`.
feather/src/yt.rs:17
Method
new
Creates a new `Player` instance and configures MPV settings for optimized audio playback.
feather/src/player.rs:31
Method
new
Creates a new history entry with the current timestamp.
feather/src/database.rs:20
Method
new
Creates a new instance of the application.
feather_frontend/src/main.rs:55
Method
new
(backend: Arc<Backend>, rx: mpsc::Receiver<bool>)
feather_frontend/src/player.rs:35
Method
new
Creates a new `Song` instance.
feather_frontend/src/backend.rs:40
Method
new
Constructor initializing the History struct
feather_frontend/src/history.rs:27
Method
new
Constructor initializing the Search struct
feather_frontend/src/search.rs:45
Method
render
Render the player UI
feather_frontend/src/player.rs:160
Method
render
Renders the history UI component
feather_frontend/src/history.rs:92
Method
render
Renders the search UI
feather_frontend/src/search.rs:144