scdl-org / scdl

Soundcloud Music Downloader
GNU General Public License v2.0
3.37k stars 337 forks source link

Playlist download fails when a track already downloaded #297

Closed ligeia closed 4 years ago

ligeia commented 4 years ago

scdl -l http://soundcloud.com/myluckypack/sets/water-november-2019 -c --addtofile --onlymp3 --path /mnt/c/Users/neilm/Music/playlists/ --download-archive archive.txt --min-size 800k

Soundcloud Downloader Found a playlist Track n°1 Retrieving more info on the track Downloading Shöckface & So Sus - Tribe Track "Shöckface & So Sus - Tribe" already downloaded. Traceback (most recent call last): File "/usr/local/bin/scdl", line 9, in load_entry_point('scdl==1.6.12', 'console_scripts', 'scdl')() File "/usr/local/lib/python3.5/dist-packages/scdl-1.6.12-py3.5.egg/scdl/scdl.py", line 179, in main File "/usr/local/lib/python3.5/dist-packages/scdl-1.6.12-py3.5.egg/scdl/scdl.py", line 265, in parse_url File "/usr/local/lib/python3.5/dist-packages/scdl-1.6.12-py3.5.egg/scdl/scdl.py", line 386, in download_playlist File "/usr/local/lib/python3.5/dist-packages/scdl-1.6.12-py3.5.egg/scdl/scdl.py", line 558, in download_track AttributeError: 'NoneType' object has no attribute 'endswith'

mavieth commented 4 years ago

Opened a PR that may fix some of these issues: https://github.com/flyingrub/scdl/pull/304

flyingrub commented 4 years ago

This is now fixed in the master branch