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

[soundcloud] --no-playlist parameter doesn't work with soundcloud sets #5283

Closed
pricejn2 opened this issue Mar 25, 2015 · 3 comments
Closed

[soundcloud] --no-playlist parameter doesn't work with soundcloud sets #5283

pricejn2 opened this issue Mar 25, 2015 · 3 comments

Comments

@pricejn2
Copy link

@pricejn2 pricejn2 commented Mar 25, 2015

When using the --no-playlist parameter with soundcloud set, all songs in the set are still downloaded:

youtube-dl --verbose --no-playlist -o '~/%(title)s_%(id)s_%(extractor)s.%(ext)s' 'https://soundcloud.com/umf2014sets/sets/ultra-music-festival-2014'
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', '--no-playlist', '-o', '~/%(title)s_%(id)s_%(extractor)s.%(ext)s', 'https://soundcloud.com/umf2014sets/sets/ultra-music-festival-2014']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.03.24
[debug] Python version 3.2.3 - Linux-3.14.32-xxxx-grs-ipv6-64-x86_64-with-Debian-7
[debug] exe versions: avconv 1.2.12, avprobe 1.2.12, ffmpeg 1.2.12, ffprobe 1.2.12, rtmpdump 2.4
[debug] Proxy map: {}
[soundcloud:set] umf2014sets/sets/ultra-music-festival-2014: Resolving id
[soundcloud:set] umf2014sets/sets/ultra-music-festival-2014: Downloading JSON metadata
[soundcloud:set] 141995623: Downloading track url
[soundcloud:set] 141995623: Checking fallback video format URL
[soundcloud:set] 141995623: Checking http_mp3_128_url video format URL
[soundcloud:set] 142303541: Downloading track url
[soundcloud:set] 142303541: Checking fallback video format URL
[soundcloud:set] 142303541: Checking http_mp3_128_url video format URL
[soundcloud:set] 142303604: Downloading track url
[soundcloud:set] 142303604: Checking fallback video format URL
[soundcloud:set] 142303604: Checking http_mp3_128_url video format URL
[soundcloud:set] 142303666: Downloading track url
[soundcloud:set] 142303666: Checking fallback video format URL
[soundcloud:set] 142303666: Checking http_mp3_128_url video format URL
[soundcloud:set] 142303742: Downloading track url
[soundcloud:set] 142303742: Checking fallback video format URL
[soundcloud:set] 142303742: Checking http_mp3_128_url video format URL
[soundcloud:set] 142303780: Downloading track url
[soundcloud:set] 142303780: Checking fallback video format URL
[soundcloud:set] 142303780: Checking http_mp3_128_url video format URL
[soundcloud:set] 142303823: Downloading track url
[soundcloud:set] 142303823: Checking fallback video format URL
[soundcloud:set] 142303823: Checking http_mp3_128_url video format URL
[soundcloud:set] 142303879: Downloading track url
[soundcloud:set] 142303879: Checking fallback video format URL
[soundcloud:set] 142303879: Checking http_mp3_128_url video format URL
[soundcloud:set] 142303916: Downloading track url
[soundcloud:set] 142303916: Checking fallback video format URL
[soundcloud:set] 142303916: Checking http_mp3_128_url video format URL
[soundcloud:set] 142303971: Downloading track url
[soundcloud:set] 142303971: Checking fallback video format URL
[soundcloud:set] 142303971: Checking http_mp3_128_url video format URL
[soundcloud:set] 142463373: Downloading track url
[soundcloud:set] 142463373: Checking fallback video format URL
[soundcloud:set] 142463373: Checking http_mp3_128_url video format URL
[soundcloud:set] 142464048: Downloading track url
[soundcloud:set] 142464048: Checking fallback video format URL
[soundcloud:set] 142464048: Checking http_mp3_128_url video format URL
[soundcloud:set] 142464099: Downloading track url
[soundcloud:set] 142464099: Checking fallback video format URL
[soundcloud:set] 142464099: Checking http_mp3_128_url video format URL
[soundcloud:set] 142464148: Downloading track url
[soundcloud:set] 142464148: Checking fallback video format URL
[soundcloud:set] 142464148: Checking http_mp3_128_url video format URL
[download] Downloading playlist: Ultra Music Festival 2014 (Miami, FL) Live Sets
[soundcloud:set] playlist Ultra Music Festival 2014 (Miami, FL) Live Sets: Collected 14 video ids (downloading 14 of them)
[download] Downloading video 1 of 14
[debug] Invoking downloader on 'https://cf-media.sndcdn.com/wuTLbsmVX4Hb.128.mp3?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiKjovL2NmLW1lZGlhLnNuZGNkbi5jb20vd3VUTGJzbVZYNEhiLjEyOC5tcDMiLCJDb25kaXRpb24iOnsiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjE0MjcyOTgzNjl9fX1dfQ__&Signature=SrQE2z64s31BLRtO-9kYxO6DLERl61npRZgTZsb8KMaAvJb1lg-ibNWcW8CiKMzn55nCtDNXmfFUW7qYd1XbD0La8uqqDTeEZ-JG3Me6w~hNcYP6QijhHigOJtqu1Jipuv0e2Y7SysigOuLMcF-TgXEmji6kyFPefYInOlosB8UEPRmp90d8uud0MxwLMdWoN5lKDpZIhnFKXsmg0iMOCqfp3ap4XZCLcCxGG1A7NCfXAJOBBDi-KuWeRid5ohg9j6lixbEX3GoGGwniEl3JZgW9DydiQncA~ltRIvqAIVd1TH66kaczSJw6smgpADFU7cfKhz55oZcE7NEh9CHScA__&Key-Pair-Id=APKAJAGZ7VMH2PFPW6UQ'
[download] Destination: /root/Zedd – Live @ Ultra Music Festival UMF 2014 (WMC 2014, Miami) – 28.03.2014_141995623_soundcloud -set.mp3
[download] 100% of 15.57MiB in 00:00
[download] Downloading video 2 of 14
[debug] Invoking downloader on 'https://cf-media.sndcdn.com/KHD7e7CBLxJc.128.mp3?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiKjovL2NmLW1lZGlhLnNuZGNkbi5jb20vS0hEN2U3Q0JMeEpjLjEyOC5tcDMiLCJDb25kaXRpb24iOnsiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjE0MjczMDA5MTR9fX1dfQ__&Signature=UCcJGquGmm7W-hYapWlDjIaRe~1MkX732fIVDcVILIuKj~MkEHKHBZ8cmvOs8s7eZmrenYoWdL8WANOtq4XrsOMh~5zxwO-VtxXgcJqiwIeMHYPVIkXM~trRVCa5vX3KAdnfVb7~gPKBz1rZzIPko2dXjToiI7JLPP8hWl7mADBipMLoQei7V261yrUjjOsBV1liSqNlgWIHsQCCtOFsCf7EZWCNYmiC8bcX7GbPZ2WjcnQ4R9JXzkPXjOVvTlgKOfjEjGZJBBpmM5yYjPIR3oph2uRnmrXob21JHCasxSOa72mPYHYZmPGZBQRsUikQuB78VtoHWdHl7Ts9d4wtOg__&Key-Pair-Id=APKAJAGZ7VMH2PFPW6UQ'
[download] Destination: /root/Cosmic Gate – Live At ASOT 650 (Ultra Music Festival Miami 2014) – 30.03.2014_142303541_soundcloud -set.mp3
[download]  11.2% of 54.40MiB at  2.90MiB/s ETA 00:16^C
...
...
@dstftw
Copy link
Collaborator

@dstftw dstftw commented Mar 25, 2015

This is expected behavior as explained in --help. What would you expect from youtube-dl to download when you pass --no-playlist along with playlist link?

@pricejn2
Copy link
Author

@pricejn2 pricejn2 commented Mar 25, 2015

Expected because help only references videos?

--no-playlist
If the URL refers to a video and a playlist, download only the video.

I guess I was expecting it to either download nothing with a message that this is a playlist or perhaps the first song in the set (I understand I could use --playlist-end 1 for the latter behavior)

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Mar 25, 2015

Expected because https://soundcloud.com/umf2014sets/sets/ultra-music-festival-2014 is a playlist URL (and not a single media URL) without any ambiguity. For example, https://www.youtube.com/watch?v=pBhT_CINPjE&index=2&list=PL6ggZGXwREC2FV8Ms17KRWZ8_jf0U79cr is ambiguous as it contains a video part v=pBhT_CINPjE and a playlist part list=PL6ggZGXwREC2FV8Ms17KRWZ8_jf0U79cr. When you download latter URL without --no-playlist it will treat URL as playlist URL and download the whole playlist. If you'll pass --no-playlist it will treat URL as video URL and download only single pBhT_CINPjE video.

@dstftw dstftw closed this Mar 25, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.