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

Specifying output-filename in batch-file #12935

Closed
seiz opened this issue Apr 30, 2017 · 1 comment
Closed

Specifying output-filename in batch-file #12935

seiz opened this issue Apr 30, 2017 · 1 comment

Comments

@seiz
Copy link

@seiz seiz commented Apr 30, 2017

  • I've verified and I assure that I'm running youtube-dl 2017.04.28
  • 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

Feature request: Specify the output filename in batch-file

I have youtube-dl download files via the -a parameter, a text file with URLs and cron to later watch them via Plex. Works beautifully. But for TV-Episodes, i'd like to already specify the output-filename in the batch file, because Plex has rather strict requirements for filenames (e.g. SeriesNames01e01.mp4).

My suggestion is, that we could just start lines in the batch-file with regular youtube-dl arguments. So specifying an output-filename and url in a batch file might look like this:

-o "Watchit s01e01.mp4" http://myurl.example.com/my-movie-e01.mp4
-o "Watchit s01e02.mp4" http://myurl.example.com/my-movie-e02.mp4
…

Thanks for a great tool!
Stefan

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Apr 30, 2017

Batch file is not supposed to carry configuration. Output template supports substitutions for %(season_number)s and so on.

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.