-
Notifications
You must be signed in to change notification settings - Fork 14
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
Delete from filesystem does not work: Win10 64bit VLC 3.0.18 Vetinari #15
Comments
Thanks for your report. Was there anything special with the filename? Unicode letters, network drive, etc? |
Initially yes. Then I renamed it to something like "abc.mp4" on a normal drive (no UNC etc..) and it still failed. |
Can you try to get some more information/debug the script please? Maybe my windows detection is not working for Win10. |
The output message "File does not exist" only exists in function windowsDelete so it seems to detect windows. Perhaps the gsub, translating / into \ does not work?
|
I've tried hardcoding the filename:
That results in:
|
Also tried this:
That results in:
|
Also tried this:
That results in:
|
Alsot tried this:
That results in:
Which indicates that something is (also) wrong in:
|
I've put this complete code in a lua file: #11 (comment) But because I don't like
with:
And then tested it. Then the file is deleted. (and always shows two "dos box" popups for a single delete action) So please "just" "merge" that with your main version 🙏 |
I've tried your new version from Output:
|
Could you check the result of |
Maybe
works. At least my wine test gets the right exitcode. |
The When I replace the file_exists function with your suggestion, deleting the file works 🙏 I do see 3 cmd.exe popups when it deletes the file. The other working solution "only" has 2. The ideal solution does not have any popups. But obviously that's just a nice-to-have. |
Included in 6f5f276 3 popups are perfect, if it's not from 3 attempts to delete the file.
It would be much easier if |
See debug output attached, the file still exists after using the "Remove current file" menu-item.
Error in the debug log:
lua info: [vlc-delete] error: File does not exist
vlc.debug.txt
The text was updated successfully, but these errors were encountered: