View Single Post
Posts: 564 | Thanked: 693 times | Joined on Apr 2010
#362
The idea with a possibility to e.g,., add a button to sync a particular playlist would be great; I did consider that option already at the start, however the current version of the openspotify library does not support re-loading just a single (particular) playlist; playlist handling is automic and a single change to a playlist would require all the user's playlists to be reloaded. I have considered implementing a cache functionality, which would load the playlist and track data from a persistent local cache (and only in case that e.g, a playlists has been added / changed the playlists would need to be reloaded from the Spotify servers).

Originally Posted by florian View Post
on the note of large playlists...

load each playlist on opening it.
Have a cache for the playlists.
Have an option in the titlebar menu (where FM transmitter is..) to "refresh" a single playlist.

That way, instead of on launch loading all data, the data is loaded in parts, however, through having a cache, it wouldn't slow down the user experience.
The added benefit of having a refresh button for a single playlist, is like a "sync" option, which might also be useful during runtime (outdated cache or I just added a song to that playlist on my computer).
 

The Following User Says Thank You to aenbacka For This Useful Post: