dyphire / mpv-scripts

userscripts for mpv
MIT License
56 stars 5 forks source link

[open_dialog.lua] import_clipboard breaks the script if the pasted text is in quotes #22

Closed KonoVitoDa closed 8 months ago

KonoVitoDa commented 8 months ago

I tried to paste some file paths I copied with Windows File Explorer context-menu, which comes in quotes, and the file fails to open; and yet more, this error makes the entire script to completely stop to work.

Additionally, it would be good if the script printed osd messages about its actions ("Opening file...", "Loading URL...", etc), errors, etc.

KonoVitoDa commented 8 months ago

It's working now, thank you!