this post was submitted on 18 Aug 2024
35 points (94.9% liked)

Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ

54577 readers
320 users here now

⚓ Dedicated to the discussion of digital piracy, including ethical problems and legal advancements.

Rules • Full Version

1. Posts must be related to the discussion of digital piracy

2. Don't request invites, trade, sell, or self-promote

3. Don't request or link to specific pirated titles, including DMs

4. Don't submit low-quality posts, be entitled, or harass others



Loot, Pillage, & Plunder

📜 c/Piracy Wiki (Community Edition):


💰 Please help cover server costs.

Ko-Fi Liberapay
Ko-fi Liberapay

founded 1 year ago
MODERATORS
 

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.

top 16 comments
sorted by: hot top controversial new old
[–] willya@lemmyf.uk 2 points 2 months ago (1 children)

I use the web UI version and the only way it works is by going into the playlist and hitting the select all checkmark box, then hit download all selected or whatever the button says.

[–] BlastboomStrice@mander.xyz 1 points 2 months ago (1 children)

Your solution seems interesting. So, the deemix web ui version has an option select which songs to download from spotify playlists?

Furthermore, 1)does this run on windows and 2)do you have any guide on how to install it?

[–] willya@lemmyf.uk 1 points 2 months ago (1 children)

Yes it runs on windows and there’s a portable version. No install needed. Just a double click.

[–] BlastboomStrice@mander.xyz 1 points 2 months ago* (last edited 2 months ago) (1 children)

Ok so I eventually found out how to do it, but still it fails. I opened deemix-gui, opened firefox, went to 127.0.0.1:6595, logged in with the deezer account and pasted the spotify playlist link in the search bar. Exactly the same errors appeared and there is no option to select songs from the spotify playlist at all. (I think this option comes up if I use a deezer playlist instead.)

May I ask

  1. Have you tried this today to check if it still works?

  2. Did you try to download a spotify playlist? For example pasting this one in the deemix search bar and downloading it: https://open.spotify.com/playlist/1nbef1tfmJSpsMPpOYn6GC

    On my device it parses the songs and once it tries to download them the errors start popping up🫤

[–] willya@lemmyf.uk 2 points 2 months ago (1 children)

Add the playlist to your profile on Spotify and it should add to your playlists tab where you can do the checkmark all option.

[–] BlastboomStrice@mander.xyz 2 points 2 months ago (1 children)

OH THANK YOUUUUU!!

And it works on deemix-gui too! Thank you!!!

Turns out I was using my display name instead of the username of my spotify account and I never had that option. Thank you! Now I can download my playlists!!!

And by changing the username I can download playlists directly from other acxounts without adding them to my favourites. Thank you!! I'll update the post as well :)))

[–] clark@midwest.social 2 points 2 months ago (1 children)

Hey! Time for me to try this out today. :)

[–] BlastboomStrice@mander.xyz 1 points 2 months ago (1 children)

Haha, I was gonna reply to you in the other thread, but you found it already😄 Good luck!

[–] clark@midwest.social 1 points 2 months ago (1 children)

Can you point me to the webui version? I keep getting 403s at deemix dot app.

[–] BlastboomStrice@mander.xyz 1 points 2 months ago (2 children)

I realized I actually got deemix from here (https://download.deemix.workers.dev/), not from archive.org. I found the link listed here https://old.reddit.com/r/deemix/comments/zlswiz/last_update_is_now_out/ . I don't know if there's any difference to the versions we have installed (like, if mine has the webui built-in).

To open the webui, I open the gui app. Wait about a minute for it to log in and start properly. Then I open my browser and type http://127.0.0.1:6595/ . The webui opens up (I had to put the arl once again though). Notice how in my gui app, in the about section it shows my webui version, if doesn't show up on yours it may not have it (or somehow it isn't running yet):

Just a reminder, for me it works in the gui version too. I put the spotify username (found here https://www.spotify.com/us/account/profile/) and find the long alphanumeric username spotify has for my account and paste it in the spotify username field in deemix. Then I go to the Favorites section in deemix, scroll down and can see my playlists.

[–] clark@midwest.social 2 points 2 months ago* (last edited 2 months ago) (1 children)

Still doesn't work for me.

*I mean downloading playlists. I have the webui version open.

**Hold on, I tried the checkbox method just now. Currently processing all songs...

***Works now!

[–] clark@midwest.social 1 points 2 months ago (1 children)

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?

[–] BlastboomStrice@mander.xyz 1 points 2 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😄

[–] eatham@aussie.zone 1 points 2 months ago (1 children)

I use onthespot to download from Spotify. Just make sure to delete the cache if you have added more songs to a playlist after downloading it.

[–] BlastboomStrice@mander.xyz 5 points 2 months ago* (last edited 2 months ago)

Thank you for your suggestion, but it doesnt help me much, as I want to download my music from deezer, in flac quality (spotify doesnt provide this). Deemix has a feature that it can take a spotify playlist, read the songs, find matches to the deezer library and download them from deezer in higher (probably) quality.