PacketSurf / ZSpotifyGUI

A user-friendly GUI for the ZSpotify music downloader.
https://github.com/Footsiefat/zspotify
GNU General Public License v3.0
234 stars 19 forks source link

[BUG] Can't download my playlist #15

Open ataraxia1337 opened 1 year ago

ataraxia1337 commented 1 year ago

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:

image

Link for the playlist:

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

Catsef commented 8 months ago

Same here

Zombiebattler commented 6 months ago

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 :)

technobird22 commented 4 months ago

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