Is there a way to automatically locally save Spotify music as I listen to it? Or to access/convert the files that Spotify saves for offline playback?

  • gosling@lemmy.world
    link
    fedilink
    English
    arrow-up
    26
    ·
    1 year ago

    These recommendations are good. I personally wrote my own Python script to use the Spotify API to get playlists and metadata then download the audio off YouTube.

    It’s similar to spotdl but the last time I used them, they were only taking the first audio (which could be the music video version). So for my script, I put a filter for duration, prioritize YouTube music, and use keywords like “lyrics” and “official audio” that’s more likely to match the Spotify version

  • graham1@gekinzuku.com
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year ago

    You can look into Spotify Downloader spotdl, a Python package here: https://github.com/spotDL/spotify-downloader

    It doesn’t download as you listen, but it’ll do something smart and download all the tracks of a playlist/album/etc by grabbing high-quality audio from Youtube videos (and it magically avoids dreaded music video versions) if you feed it a Spotify URL. It also puts all the metadata in the tracks automatically.

    • SolOrion@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Tip for anyone else that uses this: make sure your playlist is public or it can’t download it. That seems really obvious now, but it didn’t occur to me initially lol.