I ditched most streaming services well over a year ago now, but Spotify has clung on because I have a playlist of around 2000 songs. I’ve set up Navidrome but now need to transfer all my music in the highest quality possible as efficiently as possible.

I tried lidarr some time ago, but it seemed to be based more around artists than individual songs and my indexer failed to find most of my library.

I’ve seen a couple of apps that will look at a playlist and then try to yt-dlp the song from YouTube but I’m worried about having a lower quality or different version. I’ve wondered if automating an “analog hole” type approach where I just pipe the audio of each song to a file and leave it playing overnight for a couple of weeks might actually be the best approach but that does seem a bit insane at this scale.

  • dabe@lemmy.zip
    link
    fedilink
    English
    arrow-up
    5
    ·
    1 hour ago

    Here’s my “low complexity, medium effort, full legal, full quality” solution:

    Start actually buying your music. I go down the list in descending order of convenience:

    • Bandcamp
    • Qobuz
    • Apple iTunes (not Apple Music)
    • Physical CDs (for ripping)

    Tag all your music with Picard (or wrtag if you only buy full releases, there’s a GH issue for other cases) or beets. Picard is the simplest and most feature complete right now and has a nice GUI. Then upload your tagged music to your Navidrome.

    Then use a tool like

    • https://github.com/WilliamNT/tunesynctool
    • https://github.com/blastbeng/spotisub (check my fork for a better functioning version) These will match songs from your spotify playlists to songs in your subsonic-compatible server (which Navidrome is) and recreate your spotify playlists using the music it finds in your Navidrome. These syncing tooks can have misses and you may need to do some log-digging or issue-opening to find out why, but I’ve gotten them working fairly decent and plan on doing some work to improve them some day.

    It’s a nice, fully legal, fully self-hosted stack. Not NEARLY as convenient as having them auto-ripped for you from youtube, but like you said, there are quality and metadata concerns when ripping from youtube.

  • themakara@lemmy.world
    link
    fedilink
    English
    arrow-up
    8
    ·
    edit-2
    8 hours ago

    Here’s the not really legal way I have heard of

    1. Get a Deezer trail and cancle the sub right after. Migrate your relevant playlists to Deezer.
    2. Use Deemix to download the playlist any anything you are interested in in the quality you desire. Make sure the DL settings are also what you want. You can also use other tools to download from Qobuz.
    3. (Optional) Use Musicbrainz to identify and tag your files with unique IDs. You can also use custom scripts to give the artist field seperate entries for every artist. Makes it more convenient then separation by a ; or something. You can use ChatGPT for the script.
    4. (Still optional) Import the music to a Lidarr instance for better management and automatic naming. The IDs make this step easier. This allows you too track new or missing releases from artists.
    5. Import to Navidrome.

    The optional steps can be more involved and need a lot of manual work. Also, the migration to Deezer will have issues, it’s not perfect.

    If you want lyrics, I recommend using LRCGET or importing to Jellyfin and using it’s lyric plugin to automatically download them that way. The app SongSync on android also allows downloading lyrics automatically and manually from a variety is sources, including Apple and Spotify. Not on FDroid or Play, use GitHub or IzzyOnDroid.

    As for a music player on android, I’m currents trying Symfonium. Not FOSS and actually paid, but so far it’s the best I have seen.

    EDIT: Minor clarification.

    • Appoxo@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      3
      ·
      5 hours ago

      Theres tools like Zotify (and I am sure several others) to directly download the music files from Spotify.
      No need to get yet another subscription.
      They may not be lossless but who really cares when the first priority is getting away from it at all.

      • themakara@lemmy.world
        link
        fedilink
        English
        arrow-up
        6
        arrow-down
        3
        ·
        5 hours ago

        In my experience, most of these tools usually only search the equivalent song on YouTube ans download it from there. Which can cause some trouble when the algorithm finds some cover etc instead of the original thing. Plus the lossless issue. For me personally, it was easier to just get the better version outright instead of upgrading afterwards.

          • themakara@lemmy.world
            link
            fedilink
            English
            arrow-up
            1
            ·
            1 hour ago

            I commented that I have experience with similar tools and that is why I chose others. I never said anything about this particular one.

            Why would I need to look into this particular tool right now? I don’t need it and it has no real relevance to what I was saying either.

    • Appoxo@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      6
      ·
      edit-2
      5 hours ago

      Don’t be a leech and download several thousands of songs from other without sharing.
      If you don’t share back, at least only get hard to aquire content.

      • fossilesque@mander.xyz
        link
        fedilink
        English
        arrow-up
        4
        ·
        4 hours ago

        I have an auto message that asks people to share, but a lot of people are returning to collecting their own media, so you have to start somewhere sometimes! :)

  • Zachariah@lemmy.world
    link
    fedilink
    English
    arrow-up
    8
    arrow-down
    1
    ·
    edit-2
    10 hours ago

    https://soundiiz.com/ is so good at transferring playlists or exporting them to standard csv or playlist file. It’s $5 for one month—which is all you’ll need for this specific transfer. But I pay yearly (there’s a discount) because I like to export my playlists throughout the year. There are a bunch of other great features.

    Edit: Oh, you meant the audio, too. In that case I’d say transfer/export your playlist. Then go find FLAC files of the songs from various sources.

  • damnthefilibuster@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    8 hours ago

    Spotify scrobbles to LastFM. Maybe they have an API or export solution? All you would have to do is play your playlist straight through once after connecting to LastFM.

    I don’t know about importing it further as I don’t know what Navidrome is.

  • harsh3466@lemmy.ml
    link
    fedilink
    English
    arrow-up
    10
    arrow-down
    2
    ·
    11 hours ago

    Ytdlp works with Spotify too iirc, and there are Spotify downloaders out there too.

    • dabe@lemmy.zip
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 hour ago

      Every spotify downloader I’ve seen just matches to youtube and uses yt-dlp in the backend. I may have missed a new one though.

    • dbkblk@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      5 hours ago

      Is it? I’ve just tried and it doesn’t:

      ❯ yt-dlp "https://open.spotify.com/intl-fr/album/2NsGk9oBBBMfblYdLcjYhu"
      [generic] Extracting URL: https://open.spotify.com/intl-fr/album/2NsGk9oBBBMfblYdLcjYhu
      [generic] 2NsGk9oBBBMfblYdLcjYhu?si=5c3b12c1e70948a6: Downloading webpage
      [redirect] Following redirect to https://open.spotify.com/album/2NsGk9oBBBMfblYdLcjYhu
      [DRM] Extracting URL: https://open.spotify.com/album/2NsGk9oBBBMfblYdLcjYhu
      ERROR: [DRM] The requested site is known to use DRM protection. It will NOT be supported.
             Please DO NOT open an issue, unless you have evidence that the video is not DRM protected
      
  • theskyisfalling@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    3
    ·
    10 hours ago

    You are only going to be able to get 320 mp3s from Spotify at the very best, I use soggfy to intercept the audio and rip the tracks so you need to let the playlists run (although you can up the speed they play at) and there will also consequently be some organisation needed of the files afterwards so it is far from automated but works fairly well.

    A lot of the tools around take your playlists and find what it thinks are the correct tracks on YouTube and then rip from there so be wary of the quality you might get from those.

    I compared a track I ripped from Spotify with a 320 mp3 of the same track I had bought with a spectrometer (I think that is the correct name) and they looked identical

      • theskyisfalling@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        1
        ·
        5 hours ago

        Soggfy was just the first thing I tried that worked without crawling for shitty yt downloads of the same things and so I stuck with it. If the audio quality is the same then I really don’t see what difference it makes in the grand scheme of things.

        I will try out zotify so thanks for the name but it isn’t like it will be any quicker as I’ll still do everything in “real time” as I want to maintain my account and not get banned as it is a family plan and I don’t want to negatively impact the other people that use the same plan.

        Also I know people love to use command line but soggfy is just a modified Spotify client so I can just open it up and start what I need in a couple of clicks

        • Appoxo@lemmy.dbzer0.com
          link
          fedilink
          English
          arrow-up
          1
          ·
          2 hours ago

          I just created a dummy account that is part of the family plan.
          If it get’s banned: So what. I’ll create another ;)

          Regarding Zotify (the last time I used it was quite some time ago), authenticating was the only difficult task. After that it was just plugging in the playlist link, pressing enter and waiting.

          And I am not one that breathes the CLI.

  • perishthethought@lemm.ee
    link
    fedilink
    English
    arrow-up
    6
    arrow-down
    24
    ·
    11 hours ago

    You know the songs on Spotify are not yours, right? You were just renting them?

    I’m not saying you shouldn’t try to collect them now for use in Navidrome, but calling them “your songs” is just grating on me for some reason.

    Also, I am a Spotify subscriber and just now tried to use yt-dlp with it but got this error:

    ERROR: [DRM] The requested site is known to use DRM protection. It will NOT be supported. Please DO NOT open an issue, unless you have evidence that the video is not DRM protected

    :(

    • thericofactor@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      13
      ·
      10 hours ago

      If artists would actually get paid fairly by Spotify that would be a good model.

      Until about 100 years ago music artists would get paid for playing live only. Then music reproduction became possible, and lo and behold, companies started making a profit off of popular musicians by reproducing their music and taking a share, just because they could afford the technology.

      Then, reproduction came into the hands of regular people, and you could reproduce music at home, bypassing the companies that profit off of the musicians. So copyright laws were drafted to protect mostly the companies making a profit off of musicians.

      Now we’re going back to the situation of 100 years ago: musicians need to play live to get paid. But reproduction does still make them famous without them having to travel. So that’s a plus.

      And you can argue Spotify has to.pay for infrastructure and app development, but that technology is in the hands of individuals as well nowadays. So what do they actually offer, on top of the work of creative people making music? Not much. Yet they become more expensive every year. And the only people getting richer are their shareholders.

      • dabe@lemmy.zip
        link
        fedilink
        English
        arrow-up
        1
        ·
        58 minutes ago

        I think you may have shifted the argument a bit.

        We’re not “back to where we were 100 years ago”. Bandcamp exists and pays artists for song purchases. It’s not perfect, and the selection of Bandcamp and the few other services like it are sometimes limited, but there ARE ways to buy digital music and have a non-negligible amount of the money go directly to the artist.

        I think you’re trying to make an argument for just pirating digital format music. I would say, don’t just throw up your hands and go straight there by default, try to buy the music first, and then if you can’t or really can’t afford it, then by all means download the music in other ways.

      • paequ2@lemmy.today
        link
        fedilink
        English
        arrow-up
        4
        ·
        10 hours ago

        So what do they actually offer, on top of the work of creative people making music? Not much.

        OK, so I left Spotify for Navidrome a while back BUT. What Spotify sells isn’t music. Spotify sells curation and recommendations. Most people aren’t music lovers that want to hunt for cool new music. They just want a pre-generated list of songs that they’ll more or less like. That’s actually kinda huge.

        A recommendation engine is something I wish fediverse or open source would tackle. I’m on Navidrome now, but I’m definitely listening to way less music now—access isn’t an issue—I just haven’t had time to hunt around for new music. Investigating new bands takes time. On Spotify, you do it without even really thinking about it.

        • Fizz@lemmy.nz
          link
          fedilink
          English
          arrow-up
          2
          ·
          6 hours ago

          Listenbrainz is trying to tackle open source recommendations. Its not to bad.

        • damnthefilibuster@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          8 hours ago

          I reckon the problem with that is… what’s the source for the recommendations and then what’s the sink?

          Like, first, how do you get all that information about music, type of music, musicians, year of release etc?

          Then where do you store it? Then you come to the problem of building a robust recommendation engine. Sure that’s one step that seems solvable with open source. Not easy. Solvable.

          Then, what does a person do with the recommendations? So you have to build ways to export to YouTube, Spotify, Apple Music, FOSS music solutions. Perhaps plugins are the way to solve this.

          Not saying it’s not doable. Just difficult.

          Though I also believe someone would have tried to tackle it in their capacity in the FOSS world. Don’t know how Fedi plays into this. Maybe an online radio station?