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
Other format options for time in file naming #424
Comments
You're right, it would be great. yt-dlp handles file naming, so you can suggest it at their issues page. |
I just did. Thank you for the hint. |
If it gets implemented, ping me and I'll update the Tartube code to include the new options. |
They showed me the solution in the documentation: Date/time Formatting: Date/time fields can be formatted according to strftime formatting by specifying it separated from the field name using a >. Eg: %(duration>%H-%M-%S)s, %(upload_date>%Y-%m-%d)s, %(epoch-3600>%H-%M-%S)s it's already possible. :) |
I added custom formats for dates/times in v2.4.050. The new code is only uploaded to Github/pypi. If you're using MS Windows, you can update your installation as described here. |
Would be great to have other format options for upload time in the file names like "2022-05-09" or "2022 05 09".
At the moment it seems that only "20220509" is possible. Sadly Plex for example can't handle this.
The text was updated successfully, but these errors were encountered: