We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm trying to override config working_directory when calling the command line but looks like it's not possible:
Trying like this:
ytdl-sub --config config.yaml --configuration.working_directory ".ytdl-sub-downloads-abcd" dl --tv --url "https://www.youtube.com/watch?v=abc1234"
Gives error: ytdl-sub: error: argument subparser: invalid choice: '.ytdl-sub-downloads-abcd' (choose from 'sub', 'dl', 'view')
ytdl-sub: error: argument subparser: invalid choice: '.ytdl-sub-downloads-abcd' (choose from 'sub', 'dl', 'view')
Tried also:
ytdl-sub --config config.yaml dl --configuration.working_directory ".ytdl-sub-downloads-abcd" --tv --url "https://www.youtube.com/watch?v=abc1234"
That gives error: Validation error in cli-dl-b3683b3c: 'cli-dl-b3683b3c' contains the field 'configuration' which is not allowed. Allowed fields: _view, audio_extract, chapters, date_range, download, embed_thumbnail, file_convert, filter_exclude, filter_include, format, match_filters, music_tags, nfo_tags, output_directory_nfo_tags, output_options, overrides, preset, regex, split_by_chapters, subtitles, throttle_protection, video_tags, ytdl_options
Validation error in cli-dl-b3683b3c: 'cli-dl-b3683b3c' contains the field 'configuration' which is not allowed. Allowed fields: _view, audio_extract, chapters, date_range, download, embed_thumbnail, file_convert, filter_exclude, filter_include, format, match_filters, music_tags, nfo_tags, output_directory_nfo_tags, output_options, overrides, preset, regex, split_by_chapters, subtitles, throttle_protection, video_tags, ytdl_options
The text was updated successfully, but these errors were encountered:
What is the end-goal of overriding the working dir?
Sorry, something went wrong.
@jmbannon I’m trying to download several individual videos on demand, which can happen in parallel. I’m using an API built on top of ytdl-sub.
So each new instance of ytdl-sub needs a different working directory
Got it. Perhaps we can make it so if no working directory is specified, it will use a random temp folder each time
@jmbannon yes that would be great
No branches or pull requests
I'm trying to override config working_directory when calling the command line but looks like it's not possible:
Trying like this:
Gives error:
ytdl-sub: error: argument subparser: invalid choice: '.ytdl-sub-downloads-abcd' (choose from 'sub', 'dl', 'view')
Tried also:
That gives error:
Validation error in cli-dl-b3683b3c: 'cli-dl-b3683b3c' contains the field 'configuration' which is not allowed. Allowed fields: _view, audio_extract, chapters, date_range, download, embed_thumbnail, file_convert, filter_exclude, filter_include, format, match_filters, music_tags, nfo_tags, output_directory_nfo_tags, output_options, overrides, preset, regex, split_by_chapters, subtitles, throttle_protection, video_tags, ytdl_options
The text was updated successfully, but these errors were encountered: