PacketSurf/ZSpotifyGUI

[BUG] Can't download my playlist

ataraxia1337 opened this issue · 3 comments

Describe the bug
Can't download created playlist

To Reproduce
Steps to reproduce the behavior:

  1. Find playlist through search
  2. Press Download
  3. Check CMD

System Info:

  • OS: Win 10
  • Version 10.0.19044 Build 19044

image

Link for the playlist:

https://open.spotify.com/playlist/0q1K3cH1ZDeXHDM10Savy4?si=9a94a085bae643a8

Same here

Hi

You can solve the problem by going to the Source/playlist.py file and replacing

status = download_track(song[TRACK][ID], mode='extplaylist', extra_keys={'playlist': playlist[NAME], 'playlist_num': str(enum).zfill(2)},
disable_progressbar=True, progress_callback=progress_callback)

1

with

status = download_track(song[TRACK][ID], mode='extplaylist', extra_keys={'playlist': playlist_id, 'playlist_num': str(enum).zfill(2)})

on lines 61/62

2

Caution

Note that a folder will now be created with the ID of the playlist and not the name
and if you try to download the playlist but the folder for it already exists there will be an error

But I think it helps as long as there is no fix for this issue

I hope I could help :)

Thank you very much @Zombiebattler, that solved the issue! :)