Syncing playlists with a folder

Third-party modifications and add-ons, Apps and Clients

Moderator: moderators

Syncing playlists with a folder

Postby navels » Sun Aug 05, 2012 3:10 pm

This is a pretty basic feature, I'm surprised Subsonic doesn't support it out of the box. I have a few playlists that change often (e.g., Week: music added in the last week, Concert: bands that I'm seeing soon, etc.) and I don't want to have to have to log into Subsonic and update the playlists all the time.

Attached is a perl script that

  • Deletes all my Subsonic playlists
  • Uploads all the playlists in a specified folder into Subsonic

This was a little tricker than I thought it would be, because the API doesn't provide a mechanism for uploading playlists. Hope this is useful for others.

Cheers,
Lee

ps Uploading the script as a text file, it seems the forum doesn't like the .pl file extension...
navels
 
Posts: 6
Joined: Sat Aug 04, 2012 6:57 pm

Re: Syncing playlists with a folder

Postby Nick1787 » Sun Dec 09, 2012 6:06 pm

Awesome! Thanks for this man I was thinking of writing something similar glad i searched first.
Nick1787
 
Posts: 2
Joined: Sun Dec 09, 2012 6:04 pm

Re: Syncing playlists with a folder

Postby navels » Sun Dec 09, 2012 6:13 pm

Happy to help, let me know if you run into any issues . . .
navels
 
Posts: 6
Joined: Sat Aug 04, 2012 6:57 pm


Return to Mods, Apps and Clients

Who is online

Users browsing this forum: No registered users and 3 guests