occivink / mpv-scripts

Various scripts for mpv
The Unlicense
417 stars 38 forks source link

Encode output does not sanitize filename for NTFS #80

Open Kerobyte opened 1 month ago

Kerobyte commented 1 month ago

The encode script does not properly sanitizing the output filename, which can cause issues when writing to NTFS file systems.

The ON_WINDOWS variable is insufficient, as it does not consider the scenario where the script is running on Linux but writing to an NTFS file system.