this post was submitted on 23 May 2025
11 points (82.4% liked)

Selfhosted

46676 readers
530 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
11
Spotify sync web gui (downonthestreet.eu)
submitted 15 hours ago* (last edited 13 hours ago) by Shimitar@downonthestreet.eu to c/selfhosted@lemmy.world
 

Hi fellow selfhosters!

i pay (i know, i know) for Spotify Premium and i would like to progressively build my self-hosted music collection leveraging the fact that i am a paying customer and i would hate if the pull songs under my rug over time.

Any good self-hostable approach here? Ideally, the flow would be:

  • I listen to spotify on my mobile devices, add songs to playlists and such
  • my self-host setup syncs those playlists
  • ... and download the songs using my paid for premium account from spotify itself
  • Doean't really needs to be web-based, i can access my server anbd run anything CLI based or even plain old GUI (linux).

I don't want fake solutions that use Google Music or Deezer to download, i pay spotify and expect somehow to be able to download 320Kbps music from it.

The overall process can be manual, but better automated.

I already have lidarr, but it's basically impossible to download the same music from it, at least not the music i listen to.

A viable workaround could be something that builds by spotify playlists using what music i have downloaded with lidarr, maybe notifying me what is missing...

EDIT: somebody pointed out this is against Spotify TOS. Anyway i found a solution using Spotizerr, which is a self-hosted web app that does exactly what i was looking for. You still need a paid spotify account unless you want to download low-res from Deezer.

top 16 comments
sorted by: hot top controversial new old
[–] ivgranite@lemmy.world 1 points 9 hours ago (1 children)

What about lidarr import lists? Connects to your Spotify and you can sync your saved playlists

[–] Shimitar@downonthestreet.eu 2 points 8 hours ago (1 children)

I have that setup... while it kinda works (provided the music you listen to can be found at all on torrents/usenet) its a pain and the playlists are not created, just the artists are synchronized. This is not good when all you listen to is one track from one artist that has 20 albums...

[–] ivgranite@lemmy.world 1 points 7 hours ago

Ah fair! I also ran into that same problem, hence why I stopped lol seems we’re in similar situations. I ended up giving up on Spotify entirely in favor of YouTube music (yt premium), and I scrobble everything to last fm. Slskd helped the discovery aspect but it’s the Wild West as far as metadata tagging and organization goes. I also miss Spotifys playlists but Jellyfin instant mixes help, although I’m trying to go back to dedicated albums and artists more. Music world is tough with this stuff and streaming has gotten too convenient, so I feel your pain

[–] izoslav@programming.dev 4 points 14 hours ago (1 children)

Yeah, so, Spotify sub is just a license to listen to the music provided by Spotify and using their services to do so. You don’t have rights to the music itself, downloading it and bypassing DRMs is breaking ToS. Even if you downloaded the music, self-hosted it, etc, and you stop paying your sub, you’re just pirating the music.

My recommendation, and what I also do: Navidrome to host, Amperfy mobile app for playback (offline mode supported), and buy music directly from artists whenever possible.

[–] Shimitar@downonthestreet.eu 1 points 14 hours ago

I do have navidrome and use Symphony (for which i have also paid, because it's worth it), but i miss the spotify playlists and ease to use them. I would like to be able to download those in an easy way.

[–] RandomLegend@lemmy.dbzer0.com 1 points 13 hours ago (1 children)

I've also stumbled upon Spotizerr but i've had so much problems with it. Usually only getting around 75% of my playlists synced.

I now use onthespot and manually download my playlists once a week. Onthespot also saves a .m3u8 playlist file with absolute paths of the saved music. That way i can just chuck those playlists straigh into my jellyfin and be done.

onthespot needs some tweaking to get it working right. Usually wait 15 seconds between downloads and after around 100 downloaded songs it starts to fail every other song.

I just let it run through and the start the download process for the whole playlist again - it skips all already existing ones and after two or three runs i have everything updated again.

[–] Shimitar@downonthestreet.eu 1 points 12 hours ago (1 children)

I had zero issues with Spotizerr, maybe because i have premium account? Anyway, this is how i set it up and installed: https://wiki.gardiol.org/doku.php?id=services%3Aspotizerr in case it owuld be usefull for somebody.

Spotizerr create the .m3u file too and Navidrome picked it up immediately, very neat.

[–] RandomLegend@lemmy.dbzer0.com 1 points 12 hours ago (1 children)

i also have a spotify premium account so that can't be the issue.

Well - happy for you that it works as you want it to. I might give it another shot, maybe i had a bad installation or a flaky version

[–] Shimitar@downonthestreet.eu 2 points 11 hours ago

It worked perfectly on my playlist. It seems that if you want to do "bulk" download of entire artists it will hit some issues, but i guess it's due to spotofy throttling or limiting, in any case it's working pretyt nicely.

[–] Strit@lemmy.linuxuserspace.show 1 points 15 hours ago* (last edited 14 hours ago) (1 children)

I would think that downloading songs from Spotify (and breaking DRM) is against their TOS...

You can probably download them for "offline mode", but you would still need to use the Spotify interface for it.

Am I wrong?

[–] Shimitar@downonthestreet.eu 1 points 14 hours ago (1 children)

Yes, i use the offline mode on my android device, but that music is still DRM protected and cannot be really stored in any way.

[–] Strit@lemmy.linuxuserspace.show 2 points 14 hours ago (1 children)

So my point still stands. You want to break the DRM on those downloads because you want to self-host it, but I still think it would be against their TOS. So in essence you are asking how to break Spotity DRM against their terms.

[–] Shimitar@downonthestreet.eu 2 points 14 hours ago (1 children)

I didn't tought about that in that way, but put like this i guess its a spotify TOS violation. In that case, should i delete the post?

[–] HelloRoot@lemy.lol 4 points 14 hours ago

Keep it up for other people to read and learm from

[–] tapdattl@lemmy.world 1 points 15 hours ago (1 children)

Spotube is an android app that provides a frontend to Spotify and allows you to download songs you listen to to your device. Im guessing you could sync those files to your server and store them in a different system.

[–] Shimitar@downonthestreet.eu 3 points 15 hours ago

Spotube downloads from YouTube Music and as of late, it has been banned from accessing your playlists on Spotify if i am not wrong...