Skip to content
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

Compatible with file paths containing single quotes #29

Closed
Youxikong opened this issue Jun 18, 2024 · 4 comments · Fixed by #30
Closed

Compatible with file paths containing single quotes #29

Youxikong opened this issue Jun 18, 2024 · 4 comments · Fixed by #30

Comments

@Youxikong
Copy link

Youxikong commented Jun 18, 2024

If file paths containing single quotes, cmd of the menu items which recent-menu sends to dyn_menu.lua will be like this, but it doesn't work.
loadfile 'D:\[LPSub&LP-Raws] BanG Dream! It's MyGO!!!!! [BD 01-13 Fin][AVC AAC][1080p][JPTC]\[LPSub] BanG Dream! It's MyGO!!!!! [BDRip][01][1080p][AVC AAC][JPTC].mp4'
According to mpv manual, argument witch single quotes or double quotes must be in style of `X <custom_quoted> X`.

@natural-harmonia-gropius
Copy link
Owner

Try this #30

@Youxikong
Copy link
Author

Didn't work. Here are logs:

[input] Broken string escapes: ...>"D:\[LPSub&LP-Raws] BanG Dream! It's MyGO!!!!! [BD 01-13 Fin][AVC AAC][1080p][JPTC]\[LPSub] BanG Dream! It's MyGO!!!!! [BDRip][01][1080p][AVC AAC][JPTC].mp4"<.

[input] Command loadfile: error in argument 1.

[input] Command was defined at menu.

@natural-harmonia-gropius
Copy link
Owner

PR updated, try again.

@Youxikong
Copy link
Author

Work Properly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants