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?

  • graham1@gekinzuku.com
    link
    fedilink
    English
    arrow-up
    11
    arrow-down
    1
    ·
    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
      2
      ·
      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.

  • gosling@lemmy.world
    link
    fedilink
    English
    arrow-up
    7
    ·
    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

  • Monkey With A Shell@lemmy.socdojo.com
    link
    fedilink
    English
    arrow-up
    4
    ·
    1 year ago

    Spytify worked last I checked, it pretty much just rips from the audio output stream so it’s essentially impossible to block. On the downside without creating a dev api key the metadata is kind of iffy (it will attempt to grab it from somewhere other than spotify without the api key) and being a stream copy it can only copy as fast as they can play.

  • Mongostein@lemmy.ca
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 year ago

    When I was in school for radio I was outputting the Spotify player to the rack then bringing it back to an input to record through audition.

    Kind of tedious, but it worked.