Yesterday, after this conversation with Wild Bill, we concluded that Deemix can’t download songs from spotify playlists. It does recognize the songs in the playlists, but somehow it fails to download them and reports cannot read properties of undefined (reading 'flac') (on Bill’s pc it only reports cannot read properties of undefined). If you hover the cursor over the error, a tooltip comes up with more info:

TypeError Cannot read properties of undefined (reading 'flac')
at f (C:\Program Files\deemix-gui\resources\app.asar\server\dist\app.js:2:94278)
at z (C:\Program Files\deemix-gui\resources\app.asar\server\dist\app.js:2:94979)
at process.processTicks.AndRejections (node:internal/process/task_queues:96:5)
at async Downloader.download (C:\Program Files\deemix-gui\resources\app.asar\server\dist\app.js:2:97603)
at async Downloader.downloadWrapper (C:\Program Files\deemix-gui\resources\app.asar\server\dist\app.js:2:102154)
at async C:\Program Files\deemix-gui\resources\app.asar\server\dist\app.js:2:96320

You can’t just paste the spotify playlists link in the search bar and download the playlist.

Apparently, Spotify or Deezer or somethibg else changed their api or something and is giving Deemix a hard time.

Notes:

  • It worked for me about half a year ago (I have downloaded around 3k songs that way).

  • I can download individual songs from spotify with their link.

  • The tracking parameter spotify adds in the end doesnt seem to play any role, as the playlists dont get downloaded whether I remove the parameter or not and individual songs get downloaded whether I remove the parameter or not.

  • I tried creating a new “app” in spotify developer dashboard and use its iIDs, but it didnt help.

  • I also tried adding the “Web Playback SDK” kit in the spotify app, but it didnt help (I have the “Web API” on at all times btw). Spotify shows in the dashboard that I have indeed made calls to their api by downloding songs.

  • I’m using the latest deemix-gui version (I think): 2022.12.14-r222.5d447b6035.

  • I’m using it on windows 10.

  • If you want to see my settings, it’s under the Deemix settings section in this guide I made https://mander.xyz/post/13720820

  • I use a hifi account (from a random arl). I also tried another account, still didnt help.

  • The same issue occurs when downloading mp3, not just flac

  • I tried downloading playlists which deemix had successfully downloaded in the past, it failed. I even tried creating new playlists for deemix to download, it failed again.

I tried searching the error online, ~nothing related to deemix came up. This is the deemix gitlab repository, in case it helps anyone with finding more info.

Plz halp.

  • Wild Bill@midwest.social
    link
    fedilink
    English
    arrow-up
    1
    ·
    3 months ago

    Some songs fail to download because “Your account can’t stream the track from your current country and no alternative found”. Not many but some. Should I just download them off of YouTube or something else?

    • Blastboom StriceOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 months ago

      I dont know much, but it may not be available at that quality (it might be available at lower quality, for example mp3 instead of flac). If the issue persists, you probably have to look somewhere else for them, yes. I think I had around 4% error rate on my playlists. (Many of which I havent yet downloaded, too bored to look them up somewhere else, lol.)

      I had a notepad opened ~at all times to keep track of what is downloaded and what not.

      Happy that you eventually made it, this is where the fun begins😄