Bug Description
When the proposed output file already exists, the program attempts to append a timestamp to the filename to ensure its uniquity. Due to the locale on many systems, this date ends up being formatted as dd/mm/yyyy hh:mm:ss . The / character is illegal in file paths so the following encode fails.
Steps to Reproduce
- Ensure a file already exists with the name that the batch encode would spit out. Usually <filename>-ENC.<ext>
- Attempt to run the encoder
- Program reports that a file already exists with this name and it will append a timestamp to mitigate filename collisions.
- The program crashes.
[[[include screenshot here]]]
Potential Cause
The timestamp being locale dependent. If possible, enforce the format to be something like yyyy-mm-dd_hh-mm-ss.
Bug Description
When the proposed output file already exists, the program attempts to append a timestamp to the filename to ensure its uniquity. Due to the locale on many systems, this date ends up being formatted as
dd/mm/yyyy hh:mm:ss. The/character is illegal in file paths so the following encode fails.Steps to Reproduce
[[[include screenshot here]]]
Potential Cause
The timestamp being locale dependent. If possible, enforce the format to be something like
yyyy-mm-dd_hh-mm-ss.