YT-DLP-SCRIPTS icon indicating copy to clipboard operation
YT-DLP-SCRIPTS copied to clipboard

OUTPUTDIR folder name needs two digits

Open b33z opened this issue 3 years ago • 2 comments

Not really sure how to say this in your proper terms, but here goes...

First, the Discovery Plus script works like a dream! Loving it, Thanks!

One thing that kinda "bugs" me tho, is the output folder for the season uses only one digit instead of two.

Example: x:\TvShow1\Season 1
vs x:\TvShow2\Season 01
(screenshot attached) sshot-1

Not really a big deal at all and certainly not a bug, just an annoyance since shows that have more that 10 seasons will be listed in the wrong order in some programs like for example Windows Explorer.

Thanks again for your time and efforts!!! And sorry if I did this wrong... -B

b33z avatar Feb 06 '22 22:02 b33z

You should be able to do that by editing this line from the discovery script

https://github.com/ohmybahgosh/YT-DLP-SCRIPTS/blob/2b039ba1762a2a85cc26789bfb7a9d793dd34e47/DISCOVERY-PLUS-YTDLP/DISCOVERY_PLUS-YTDLP#L242

Change it to: -o '%(series)s/Season %(season_number)02d/%(series)s - S%(season_number)02dE%(episode_number)02d: %(title)s.%(ext)s' \

IONECarter avatar May 25 '22 01:05 IONECarter

You should be able to do that by editing this line from the discovery script

https://github.com/ohmybahgosh/YT-DLP-SCRIPTS/blob/2b039ba1762a2a85cc26789bfb7a9d793dd34e47/DISCOVERY-PLUS-YTDLP/DISCOVERY_PLUS-YTDLP#L242

Change it to: -o '%(series)s/Season %(season_number)02d/%(series)s - S%(season_number)02dE%(episode_number)02d: %(title)s.%(ext)s' \

If you'd like the credit, go ahead and submit a PR and I'll commit it! If not, I can go ahead and modify/test your line above

ohmybahgosh avatar Jun 01 '22 01:06 ohmybahgosh