mpv-scripts
mpv-scripts copied to clipboard
If the file name contains Chinese characters, it cannot be deleted by delete_file.lua
like “1080P_4000K_289924082 - 副本.mp4”
I'm on Win10 and this is not a problem for me. Is this still a problem for you and what OS are you on?
I'm on Win10 and this is not a problem for me. Is this still a problem for you and what OS are you on?
I think it works only with "English characters", it fails with Spanish words like árbol. I use Windows 7 64 bits SP1
确认:文件名是中文或俄文的视频文件无法删除,英文名文件可以删除 win10 64位 中文系统
Can you try the following?
replace the line os.remove(v) with os.execute(string.format('del "%s"', v)).
Does it now delete these files?