• Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    Syncing the playlists to disk

    Feature Suggestions
    2
    2
    137
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      petko10 last edited by

      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 1 Reply Last reply Reply Quote 2
      • jonas
        jonas @petko10 last edited by jonas

        @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.cpp

        An easier solution would be that you just create a script that retrieves the playlists from SQL and saves to them to files.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Powered by NodeBB | Contributors