mpv-scripts
mpv-scripts copied to clipboard
Encode output does not sanitize filename for NTFS
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.