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.
-
@petko10
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:
https://github.com/strawberrymusicplayer/strawberry/blob/master/src/playlist/playlistmanager.cppAn easier solution would be that you just create a script that retrieves the playlists from SQL and saves to them to files.
-
Sync playlist to a file would be good. I want to use the player on my computer and put out a playlist and add the playist to my DLNA server so my Streaming box can pick up the playlist as well and i can play what i want and not just some random stuff.
-
That would be a very useful feature for me!
Also it would help to solve the problem I had in: https://github.com/strawberrymusicplayer/strawberry/issues/1403I think it would be nice if you could select the playlists you want to be saved. Like right click on the playlist tab -> Automatically save to file.