Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Playlist download not finishing sc-dl 0.1.26 #26

Open
oorxx opened this issue Mar 23, 2021 · 7 comments
Open

Playlist download not finishing sc-dl 0.1.26 #26

oorxx opened this issue Mar 23, 2021 · 7 comments
Assignees
Labels

Comments

@oorxx
Copy link

oorxx commented Mar 23, 2021

When i try to download any playlist it downloads some tracks then stops and gives this error :

Traceback (most recent call last):
  File "c:\users\orx\appdata\local\programs\python\python39\lib\runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "c:\users\orx\appdata\local\programs\python\python39\lib\runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "C:\Users\orx\AppData\Local\Programs\Python\Python39\Scripts\sc-dl.exe\__main__.py", line 7, in <module>
  File "c:\users\orx\appdata\local\programs\python\python39\lib\site-packages\soundcloud_dl.py", line 64, in main
    d.main()
  File "c:\users\orx\appdata\local\programs\python\python39\lib\site-packages\downloader\downloader.py", line 218, in main
    self.get_playlist(data)
  File "c:\users\orx\appdata\local\programs\python\python39\lib\site-packages\downloader\downloader.py", line 81, in get_playlist
    self.get_multiple_tracks(playlist.tracks)
  File "c:\users\orx\appdata\local\programs\python\python39\lib\site-packages\downloader\downloader.py", line 77, in get_multiple_tracks
    self.get_single_track(track)
  File "c:\users\orx\appdata\local\programs\python\python39\lib\site-packages\downloader\downloader.py", line 63, in get_single_track
    metadata = self.get_track_metadata(track)
  File "c:\users\orx\appdata\local\programs\python\python39\lib\site-packages\downloader\downloader.py", line 50, in get_track_metadata
    url, fileFormat = self.get_track_url(track)
  File "c:\users\orx\appdata\local\programs\python\python39\lib\site-packages\downloader\downloader.py", line 33, in get_track_url
    if track["downloadable"] and "download_url" in track:

KeyError: 'downloadable'
@suyashb95 suyashb95 added the bug label Mar 25, 2021
@suyashb95 suyashb95 self-assigned this Mar 25, 2021
@suyashb95
Copy link
Owner

@oorxx Thanks for reporting!

@oorxx
Copy link
Author

oorxx commented Mar 30, 2021

Does that bug affect you too ?

@suyashb95
Copy link
Owner

suyashb95 commented Mar 31, 2021

@oorxx I haven't come across this one so far but it looks like a particular track in the playlist has no metadata. Which playlist are you trying to fetch?

@oorxx
Copy link
Author

oorxx commented Apr 1, 2021

I tried with any playlist it always does it

@Larvitar
Copy link

Larvitar commented Apr 25, 2021

Track 6 on this playlist fails with same error: https://soundcloud.com/lemmymii/sets/heavens-feel-ii-lost-butterfly-ost

EDIT: actually every track after No.5. fails, but only when downloading the playlist. Downloading individual mp3s works fine

@leoflowers
Copy link

Ran into this problem today. Same scenario, track metadata does not seem to show up after the fourth or fifth song in playlist. I'll be looking into it some more in the coming days

@suyashb95
Copy link
Owner

@Larvitar, @leoflowers thanks for looking into this! I'll try to debug this but might not have the time to fix this. I'd really appreciate a PR if either of you have the time though :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants