Syncing the playlists to disk
Hi, the player looks great, but the feature mentioned in the title is a must for me (for non-automatic playlists of course). The use case is the following: I have my collection in a directory, in which there's a folder "playlists". The collection gets synchronized on several devices. Optimally the music player playlists should be synchronized with the playlist folder in the collection. I'd be willing to put in the work to make it happen if I get some pointers as to where/how such a feature would best be integrated.
jonas last edited by jonas
The playlists are stored in SQL.
Reloading playlists from files will be a bit tricky to do. The other way, syncing playlists to disk would be easier and makes more sense.
An option for this could be added to the playlist settings. This needs to be done in the Playlist Backend: https://github.com/strawberrymusicplayer/strawberry/blob/master/src/playlist/playlistbackend.cpp
You can see how playlists are saved to file in the Playlist Manager here:
An easier solution would be that you just create a script that retrieves the playlists from SQL and saves to them to files.