Import Playlists from other services...

Need help? Post your questions here.

Moderator: moderators

Import Playlists from other services...

Postby mason » Tue Jul 04, 2017 8:00 am

Hey there,

I still struggling and searching for a way to get playlists from other services into subsonic. I have a good sorted library and would like to create playlists based on spotify/allmusic or even play textfiles with artists and tracks. Can someone think of any way on how to achieve this automated without searching and adding every single track by hand in subsonic? It's pretty cumbersome...

Thanks... mason
User avatar
mason
 
Posts: 29
Joined: Tue Apr 07, 2009 12:13 pm

Re: Import Playlists from other services...

Postby acroyear » Thu Jul 06, 2017 12:55 am

i'd be interested in writing an app to generate playlists like that, but i'd need an idea of what your spotify/allmusic playlists look like.

Subsonic's import takes mp3 provided you have exactly the right file path in the files *as the server* would see them. That is, if i'm on a client box where the files are /Volumes/MusicBox/..., but the server hosting them, in both Subsonic and on the file system, is /media/MusicBox/..., then the m3u file needs to use /media/MusicBox/ to find the matches.

But a more general match-up that looks specifically at artist-album or artist-song? I'd be interested in writing that, and it probably wouldn't take long, but I could only do it if I knew what the original exported file looks like.

http://subfireplayer.net/radio/ is an app for making playlists I've already written. I'm working on a general playlist editor (left-panel == browsing, right panel == the playlist, drag from left to right to add, drag up and down to sort, and at any point, you can double-click to start playing), but it'll be a couple more months before I can finish it.

Feel free to PM me here and share an excerpt of a playlist file from allmusic or the 'textfiles' you mention, and I'll see what I can do.
--
Joe Shelby
http://subfiresuite.com/
http://subfireplayer.net/
User avatar
acroyear
 
Posts: 779
Joined: Wed Mar 27, 2013 8:05 pm
Location: Northern, VA

Re: Import Playlists from other services...

Postby acroyear » Thu Jul 06, 2017 1:02 am

And no, I can't look directly at Spotify: I refuse to use their service because I believe they are under-paying royalties to the artists. I accept that financially, if they did they'd be broke again, and I also accept that Amazon/Google/Apple are also in the same market and being just as abusive, and the labels are letting them, and blah blah blah, but there we are. Yes I don't sign on for any of the others' "play whatever we have whenever you want" over that issue.

So yeah, you'll need to 'export' it and share with me what the exported file looks like, and then I can try to match it up.

I'll be stuck with very TIGHT matching, similar to how Subsonic already has to tightly match last.fm on the artist to get the artist info, and the album to get the artwork. E.g., it might not match up if you have Alan Parsons Project in your mp3s on Subsonic, but the spotify playlist has THE Alan Parsons Project. :)
--
Joe Shelby
http://subfiresuite.com/
http://subfireplayer.net/
User avatar
acroyear
 
Posts: 779
Joined: Wed Mar 27, 2013 8:05 pm
Location: Northern, VA

Re: Import Playlists from other services...

Postby mason » Thu Jul 06, 2017 6:08 am

thanks for the reply, I always liked to give subfire a try but I never are comfortable to enter my server credentials somewhere. (yeah I read all about it.. still ;))

anyway, back to the topic... the easiest thing would to mach against plain text files with artist and trackname since you are getting this out of every service. most of them are snippets or workarounds but they all leave me at least with the artist & track information. A tight match shouldn't be a problem, at least for me.. alll my stuff is painfully tagged with picard/mb and exact as possible.

also i have to agree with your sight on spotify and co... therefore I love to have my own.

Here is an example of a exported plain list from allmusic it's actually (%artist - %album - %track), since they don't have any function for this i used some 3rd party code snippet which works pretty well. (https://gist.github.com/jmiserez/c9a9a0f41e867e5ebb75)

Friska Viljor - In My Sofa I'm Safe - In My Sofa I'm Safe
Will Butler - Anna - Anna
Death Cab for Cutie - Black Sun - Black Sun
Hot Chip - Huarache Lights (Soulwax Remix) - Huarache Lights (Soulwax Remix)
Viet Cong - Viet Cong - Silhouettes
Action Bronson - Baby Blue (feat. Chance the Rapper) - Baby Blue (feat. Chance the Rapper)
Modest Mouse - Strangers to Ourselves - Ansel
User avatar
mason
 
Posts: 29
Joined: Tue Apr 07, 2009 12:13 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 19 guests