this post was submitted on 02 Jun 2025
1 points (100.0% liked)

Self-Hosted Alternatives to Popular Services

222 readers
1 users here now

A place to share, discuss, discover, assist with, gain assistance for, and critique self-hosted alternatives to our favorite web apps, web...

founded 2 years ago
MODERATORS
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/selfhosted by /u/gabrielfenyx on 2025-06-01 23:06:09+00:00.


Hi everyone, this is the first time I've written anything on Reddit, I believe. I've been a Jellyfin user and fan for almost two years, and I've followed many of its developments, mainly for listening to music. After experiencing some issues with SpotDL (apparently related to a version incompatible with ffmpeg; I still can't determine what happened), I couldn't keep my library up to date. That's why, after trying multiple tools, I decided to create my own (in Python).

I'm terrible at naming things, so I couldn't think of a better name than "SpotifySaver." It's basically a CLI tool that receives Spotify links, searches for their equivalent on YoutubeMusic, and downloads them.

As for the technical aspects, below I use libraries like yt-dlp, an unofficial library for the YouTube API, and the official library for the Spotify API. That's why, to use SpotifySaver, you'll need Spotify API credentials (you can log in from the developer page; it's not very complicated, don't worry).

The thing is, I took advantage of simplifying the process I used to use to add music to the Jellyfin library, and I've managed to:

  • Download the synchronized lyrics (from LrcLib)
  • Download the album covers (named "cover.jpg")
  • The music downloads directly in m4a (similar to mp3, although I'm still in the process of adding support for converting to mp3)
  • Generate .nfo files in Jellyfin's metadata format (this helped me simplify the process a lot).
  • Generates a subfolder structure following the Jellyfin convention: {artist_name}/{album_name (year)}/{track_name}

I wanted to share the project with you and let you know it's available, in case anyone finds it useful!

You can download from the repo following the normal process: GitHub

Or you can also install from PyPi with pip install spotifysaver

If you ever use it, I'd be happy to read your comments. It's not really a self-hosted tool, but it's designed to help those of us who are fans of JellyFin and want to have our own hosted services.

https://preview.redd.it/iixhbc7ace4f1.png?width=677&format=png&auto=webp&s=588fa3c946e51f43ddffc046f173c55fc32eab43

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here