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

Options provided in config file specified in `--config-location` is parsed, but not followed. #11741

Closed
tariqk opened this issue Jan 16, 2017 · 0 comments

Comments

@tariqk
Copy link

@tariqk tariqk commented Jan 16, 2017

Please follow the guide below

  • You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
  • Put an x into all the boxes [ ] relevant to your issue (like that [x])
  • Use Preview tab to see how your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2017.01.14. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

  • I've verified and I assure that I'm running youtube-dl 2017.01.14

Before submitting an issue make sure you have:

  • At least skimmed through README and most notably FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:

Before I do that, please make note that for this particular run of youtube-dl, I wish to use a configuration file, download.conf, which is as follows:

# Settings for downloading Critical Role videos via playlist
# Playlist: https://www.youtube.com/playlist?list=PL7atuZxmT954bCkC062rKwXTvJtcqFB8i

# Don't mark downloaded videos as watched

--no-mark-watched

# Infinite retries

-R infinite

# Set up download archive file to not waste time downloading stuff that's already downloaded.

--download-archive "archive.log"

# Make sure that downloaded files are marked with playlist index, for easy sorting.

-o "%(playlist_index)s-%(title)s-%(id)s.%(ext)s"

The command, and verbose input, is as follows:

$ youtube-dl --config-location download.conf -v "https://www.youtube.com/playlist?list=PL7atuZxmT954bCkC062rKwXTvJtcqFB8i"
[debug] System config: []
[debug] User config: []
[debug] Custom config: ['--no-mark-watched', '-R', 'infinite', '--download-archive', 'archive.log', '-o', '%(playlist_index)s-%(title)s-%(id)s.%(ext)s']
[debug] Command-line args: ['--config-location', 'download.conf', '-v', 'https://www.youtube.com/playlist?list=PL7atuZxmT954bCkC062rKwXTvJtcqFB8i']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2017.01.14
[debug] Python version 3.4.4 - Windows-7-6.1.7601-SP1
[debug] exe versions: none
[debug] Proxy map: {}
[youtube:playlist] PL7atuZxmT954bCkC062rKwXTvJtcqFB8i: Downloading webpage
[download] Downloading playlist: Critical Role
[youtube:playlist] playlist Critical Role: Downloading 86 videos
[download] Downloading video 1 of 86
[youtube] i-p9lWIhcLQ: Downloading webpage
[youtube] i-p9lWIhcLQ: Downloading video info webpage
[youtube] i-p9lWIhcLQ: Extracting video information
[youtube] i-p9lWIhcLQ: Downloading MPD manifest
[debug] Invoking downloader on 'https://r2---sn-uh-30aez.googlevideo.com/videoplayback?ratebypass=yes&signature=ACA13A96E52B16B1FFE958B04B3F08EF44BCB544.8DDD29695AEE0AD834B5DD568E5C3457C1545090&initcwndbps=833750&ipbits=0&source=youtube&pl=18&itag=22&dur=11014.524&mime=video%2Fmp4&expire=1484597553&ei=0dR8WOyzAYquoAPN4q_AAg&lmt=1471664999930609&requiressl=yes&mm=31&mv=m&mt=1484575845&ms=au&beids=%5B9452307%5D&key=yt6&ip=60.49.75.176&upn=bSu1HA8i9_U&mn=sn-uh-30aez&sparams=dur%2Cei%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cupn%2Cexpire&id=o-AHSaykX5kic_7lfutVbMkoJTnCLsB8L8aa0icq93vRJ8'
[download] Destination: Arrival at Kraghammer  - Critical Role RPG Show - Episode 1-i-p9lWIhcLQ.mp4
[download]   0.0% of 1.43GiB at 82.42KiB/s ETA 05:02:13

Notably, when the command is this, it works as required:

$ youtube-dl --no-mark-watched -R infinite -o "%(playlist_index)s-%(title)s-%(id)s.%(ext)s" --download-archive "archive.log" -v "https://www.youtube.com/playlist?list=PL7atuZxmT954bCkC062rKwXTvJtcqFB8i"
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--no-mark-watched', '-R', 'infinite', '-o', '%(playlist_index)s-%(title)s-%(id)s.%(ext)s', '--download-archive', 'archive.log', '-v', 'https://www.youtube.com/playlist?list=PL7atuZxmT954bCkC062rKwXTvJtcqFB8i']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2017.01.14
[debug] Python version 3.4.4 - Windows-7-6.1.7601-SP1
[debug] exe versions: none
[debug] Proxy map: {}
[youtube:playlist] PL7atuZxmT954bCkC062rKwXTvJtcqFB8i: Downloading webpage
[download] Downloading playlist: Critical Role
[youtube:playlist] playlist Critical Role: Downloading 86 videos
[download] Downloading video 1 of 86
[download] Arrival at Kraghammer  - Critical Role RPG Show: Episode 1 has already been recorded in archive
[download] Downloading video 2 of 86
[download] Into the Greyspine Mines - Critical Role RPG Show: Episode 2 has already been recorded in archive
[download] Downloading video 3 of 86
[download] Strange Bedfellows - Critical Role RPG Show: Episode 3 has already been recorded in archive
[download] Downloading video 4 of 86
[download] Attack on the Duergar Warcamp - Critical Role RPG Show: Episode 4 has already been recorded in archive
[download] Downloading video 5 of 86
[download] The Trick about Falling - Critical Role RPG Show: Episode 5 has already been recorded in archive
[download] Downloading video 6 of 86
[download] Breaching the Emberhold - Critical Role RPG Show: Episode 6 has already been recorded in archive
[download] Downloading video 7 of 86
[download] The Throne Room - Critical Role RPG Show: Episode 7 has already been recorded in archive
[download] Downloading video 8 of 86
[download] Glass and Bone - Critical Role RPG Show: Episode 8 has already been recorded in archive
[download] Downloading video 9 of 86
[download] Yug'voril Uncovered - Critical Role RPG Show: Episode 9 has already been recorded in archive
[download] Downloading video 10 of 86
[download] K'Varn Revealed - Critical Role RPG Show: Episode 10 has already been recorded in archive
[download] Downloading video 11 of 86
[download] The Temple Showdown - Critical Role RPG Show: Episode 11 has already been recorded in archive
[download] Downloading video 12 of 86
[download] Dungeons & Dragons Campaign Tips - Critical Role RPG Show: Episode 12 has already been recorded in archive
[download] Downloading video 13 of 86
[download] Escape from the Underdark - Critical Role RPG Show: Episode 13 has already been recorded in archive
[download] Downloading video 14 of 86
[download] SHOPPING AND SHIPPING - Critical Role RPG Show: Episode 14 has already been recorded in archive
[download] Downloading video 15 of 86
[download] SKYWARD - Critical Role RPG Show: Episode 15 has already been recorded in archive
[download] Downloading video 16 of 86
[download] Enter Vasselheim - Critical Role RPG Show: Episode 16 has already been recorded in archive
[download] Downloading video 17 of 86
[download] HUBRIS - Critical Role RPG Show: Episode 17 has already been recorded in archive
[download] Downloading video 18 of 86
[download] Trial of the Take - Critical Role RPG Show: Episode 18 has already been recorded in archive
[download] Downloading video 19 of 86
[download] Trial of the Take Part 2 ft. FELICIA DAY - Critical Role RPG Show: Episode 19 has already been recorded in archive
[download] Downloading video 20 of 86
[download] Trial of the Take, Part 3 - Critical Role RPG Show: Episode 20 has already been recorded in archive
[download] Downloading video 21 of 86
[download] Trial of the Take, Part 4 - Critical Role RPG Show: Episode 21 has already been recorded in archive
[download] Downloading video 22 of 86
[download] AraMente to Pyrah - Critical Role RPG Show: Episode 22 has already been recorded in archive
[download] Downloading video 23 of 86
[download] THE REMATCH - Critical Role RPG Show: Episode 23 has already been recorded in archive
[download] Downloading video 24 of 86
[download] THE FEAST - Critical Role RPG Show: Episode 24 has already been recorded in archive
[download] Downloading video 25 of 86
[download] Crimson Diplomacy - Critical Role RPG Show Episode 25 has already been recorded in archive
[download] Downloading video 26 of 86
[download] Consequences and Cows | Critical Role RPG Show Episode 26 has already been recorded in archive
[download] Downloading video 27 of 86
[download] The Path to Whitestone | Critical Role RPG Show Episode 27 has already been recorded in archive
[download] Downloading video 28 of 86
[download] The Sun Tree | Critical Role RPG Show Episode 28 has already been recorded in archive
[download] Downloading video 29 of 86
[download] Whispers  | Critical Role RPG Show Episode 29 has already been recorded in archive
[download] Downloading video 30 of 86
[download] Stoke the Flames | Critical Role RPG Show Episode 30 has already been recorded in archive
[download] Downloading video 31 of 86
[download] Gunpowder Plot, pt. 1  | Critical Role RPG Show Episode 31 has already been recorded in archive
[download] Downloading video 32 of 86
[download] Gunpowder Plot, pt. 2  | Critical Role RPG Show Episode 31 has already been recorded in archive
[download] Downloading video 33 of 86
[download] Against the Tide of Bone | Critical Role RPG Show Episode 32 has already been recorded in archive
[download] Downloading video 34 of 86
[download] Reunions | Critical Role RPG Show Episode 33, pt. 1 has already been recorded in archive
[download] Downloading video 35 of 86
[download] Reunions | Critical Role RPG Show Episode 33, pt. 2 has already been recorded in archive
[download] Downloading video 36 of 86
[download] Race to the Ziggurat | Critical Role RPG Show Episode 34 has already been recorded in archive
[download] Downloading video 37 of 86
[download] Denouement | Critical Role RPG Show Episode 35, pt. 1 has already been recorded in archive
[download] Downloading video 38 of 86
[download] Denouement | Critical Role RPG Show Episode 35, pt. 2 has already been recorded in archive
[download] Downloading video 39 of 86
[download] Winter's Crest in Whitestone | Critical Role RPG Show Episode 36 has already been recorded in archive
[download] Downloading video 40 of 86
[download] A Musician's Nostalgia | Critical Role RPG Show Episode 37 has already been recorded in archive
[download] Downloading video 41 of 86
[download] Echoes of the Past | Critical Role RPG Show Episode 38 has already been recorded in archive
[download] Downloading video 42 of 86
[download] Omens | Critical Role RPG Show Episode 39 has already been recorded in archive
[download] Downloading video 43 of 86
[download] Desperate Measures | Critical Role RPG Show Episode 40 has already been recorded in archive
[download] Downloading video 44 of 86
[download] In Ruins | Critical Role RPG Show Episode 41 has already been recorded in archive
[download] Downloading video 45 of 86
[download] Dangerous Dealings | Critical Role RPG Show Episode 42 has already been recorded in archive
[download] Downloading video 46 of 86
[download] Return to Vasselheim | Critical Role RPG Show Episode 43 has already been recorded in archive
[download] Downloading video 47 of 86
[download] TO THE POOP! - The Goblins | Critical Role PATHFINDER One-Shot! has already been recorded in archive
[download] Downloading video 48 of 86
[download] The Sunken Tomb | Critical Role RPG Show Episode 44 has already been recorded in archive
[download] Downloading video 49 of 86
[download] Those Who Walk Away... | Critical Role RPG Show Episode 45 has already been recorded in archive
[download] Downloading video 50 of 86
[download] Cindergrove Revisited | Critical Role RPG Show Episode 46 w/ CHRIS HARDWICK has already been recorded in archive
[download] Downloading video 51 of 86
[download] Check Out CRITICAL ROLE's New Intro! has already been recorded in archive
[download] Downloading video 52 of 86
[download] The Family Business | Critical Role RPG Show Episode 47 has already been recorded in archive
[download] Downloading video 53 of 86
[download] Into the Frostweald | Critical Role RPG Show Episode 48 has already been recorded in archive
[download] Downloading video 54 of 86
[download] A Name Is Earned | Critical Role RPG Show Episode 49 has already been recorded in archive
[download] Downloading video 55 of 86
[download] Best Laid Plans... | Critical Role RPG Show Episode 50 has already been recorded in archive
[download] Downloading video 56 of 86
[download] Test of Pride | Critical Role RPG Show Episode 51 has already been recorded in archive
[download] Downloading video 57 of 86
[download] The Kill Box | Critical Role RPG Show Episode 52 has already been recorded in archive
[download] Downloading video 58 of 86
[download] At Dawn, We Plan! | Critical Role RPG Show Episode 53 has already been recorded in archive
[download] Downloading video 59 of 86
[download] In the Belly of the Beast | Critical Role RPG Show Episode 54 has already been recorded in archive
[download] Downloading video 60 of 86
[youtube] 4FI8qB-yh-w: Downloading webpage
[youtube] 4FI8qB-yh-w: Downloading video info webpage
[youtube] 4FI8qB-yh-w: Extracting video information
[youtube] 4FI8qB-yh-w: Downloading MPD manifest
[debug] Invoking downloader on 'https://r2---sn-30a7dne6.googlevideo.com/videoplayback?lmt=1471681492628339&ip=60.49.75.176&ei=o9h8WMSAMY7ZogOQlpjwCw&expire=1484598531&id=o-AMWz6ZCWmMV3VMfwiZbAI5zp-Ml2LFqB3wxmTjnQ8sp4&mn=sn-30a7dne6&mm=31&signature=1AA4E1F1848E0B88965F8F7EF7F360D9DF57D907.7DEFE96464522B314378BFFEE1CA696F72563024&itag=22&dur=16259.657&mv=m&mt=1484576757&ms=au&requiressl=yes&ratebypass=yes&key=yt6&mime=video%2Fmp4&ipbits=0&upn=hE0IkNFXqjY&nh=IgpwcjAxLmt1bDA2Kg03Mi4xNC4yMTUuMjE1&pl=18&initcwndbps=502500&sparams=dur%2Cei%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cnh%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cupn%2Cexpire&source=youtube'
[download] Resuming download at byte 287665862
[download] Destination: 60-Critical Role RPG Show Q&A and Battle Royale!-4FI8qB-yh-w.mp4
[download]  13.9% of 1.93GiB at 138.96KiB/s ETA 03:29:27

So what appears to be happening here is that options passed through the custom configuration file is parsed, but not honored (notably --config-location and -o), but they seem to work when placed directly on the command prompt.

I'm currently using youtube-dl using Windows 7. This version was installed, and is updated, by using chocolatey, using this package.

@dstftw dstftw closed this in 0ce8c66 Jan 16, 2017
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
@tariqk and others
You can’t perform that action at this time.