Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
More parameters for templates? #1938
Comments
|
For the first field requested you can use |
|
Yes. nth dir is the sensible option. You get any dir you want. |
|
Complicated templating like
|
Hello,
only a short issue. I have problems by downloads from southpark.de. The German Seasons 12 - 16 don't have the season and episode number and his from youtube-dl discovered pathname, so i must take the url without the named seasons.
rtmpe -cp75298.edgefcs.net_ondemand_mtviestor!_intlod_southpark_video_Deutsche_Season_12_1213_acts_sp_1213_act1_DEU_1280x720_1200.mp4
Its not pretty and a mass renamer solve some ugly names in path but it will be crazy if i can give the templates more options.
When i put all episodes in a batch-file like southpark.txt:
http://www.southpark.de/alle-episoden/s14e01/
http://www.southpark.de/alle-episoden/s14e05/
http://www.southpark.de/alle-episoden/s14e06/
http://www.southpark.de/alle-episoden/s14e13/
The Server from southpark made an rewrite of the urls and then youtube-dl use the resolved rewritten name of the path. Bit it will be great when i can use this original or resolved path in the template, like this:
%(batch-path)s => http://www.southpark.de/alle-episoden/s14e13/
%(batch-pathdir)s => /alle-episoden/s14e13/
%(batch-pathlastdir)s => s14e13
So i can use this plus the Title for prettyer naming the downloaded files:).
Only a suggestion. But it will make the southpark downloads a litte bit easier.
Thx
Greetings