You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Locally store a file with a dictionary of song ids and 1-5 youtube urls for the song. Written to whenever a new song not present in the file is played. Only do this for liked songs and songs in playlists. Check this list when a song about to be played is stored in a playlist or liked. Potentially reduces load time for songs (which is currently ridiculous).
Also, allow selecting default sources for tracks so that no. of sources stored in dictionary can be reduced. Only search YouTube for sources if track not in likes and not in playlist, or alternative sources button clicked.
Could be an optional setting if people don't want to use more storage (although shouldn't use much)
Useful resources
No response
Additional information
Only need to query spotify on setup of program, when opened and when new song played. Only need to query yt when new song played.
The text was updated successfully, but these errors were encountered:
This is already implemented and was available from v2.6.0. Spotube by default, caches all the songs played for certain period of time. Btw, this only works when Settings > Pre-download and Play is enabled
Is there an existing issue for this?
Pain
Slowwwww
Suggested solution
Locally store a file with a dictionary of song ids and 1-5 youtube urls for the song. Written to whenever a new song not present in the file is played. Only do this for liked songs and songs in playlists. Check this list when a song about to be played is stored in a playlist or liked. Potentially reduces load time for songs (which is currently ridiculous).
Also, allow selecting default sources for tracks so that no. of sources stored in dictionary can be reduced. Only search YouTube for sources if track not in likes and not in playlist, or alternative sources button clicked.
Could be an optional setting if people don't want to use more storage (although shouldn't use much)
Useful resources
No response
Additional information
Only need to query spotify on setup of program, when opened and when new song played. Only need to query yt when new song played.
The text was updated successfully, but these errors were encountered: