You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Cannot use spaces or quotes in player arguments for vlc #665
When I enter the following code to specify the snapshot folder in the player arguments, it gives an error due to spaces even though the folder path is in quotation marks
--language en --extraintf=luaintf:http --http-port=12342 --http-password=vlcpassword --snapshot-path "D:\stok\test folder\snapshots"
also the arguments where I use quotation marks without spaces don't work. In cmd I can run the following code properly
Thanks for reporting this issue. I've had a look and I think it's a bug. As far as I can see if you want a space in a snapshot path that for now you will need to either manually set it in VLC preferences or use mpv/mpv.net.
Thanks for your reply! I specifically wanted to be able to specify the snapshot location by entering arguments. By the way, when I try with mpv, I get the same result, in the syncplay.ini file the folder path seems to be separated even though there are quotation marks
I've also tested this with mpv and mpv.net using the arguments title="mpv (Syncplay)" keep-open=always osd-msg1="Test" and it fixes the issue for mpv as well. As such, I'll be accepting the PR. If people find any problems with this change then please let me know.
Activity
Et0h commentedon Jan 24, 2024
Thanks for reporting this issue. I've had a look and I think it's a bug. As far as I can see if you want a space in a snapshot path that for now you will need to either manually set it in VLC preferences or use mpv/mpv.net.
zuluwi commentedon Jan 24, 2024
Thanks for your reply! I specifically wanted to be able to specify the snapshot location by entering arguments. By the way, when I try with mpv, I get the same result, in the
syncplay.inifile the folder path seems to be separated even though there are quotation marksEt0h commentedon Jan 24, 2024
Just checked and you're right, it is incorrectly splitting stuff in syncplay.ini.
Allow player arguments with spaces/quotes (#665)
Et0h commentedon Jan 26, 2024
I've tried to fix the issue in PR #668
@zuluwi could you please test out the Syncplay build at https://github.com/Syncplay/syncplay/actions/runs/7671885102?pr=668 (Syncplay-1.7.1-Setup.exe or Syncplay_1.7.1_Portable) to let me know if it fixes the issue and allows
--snapshot-path="D:\stok\test folder\snapshots"?zuluwi commentedon Jan 26, 2024
I tried it and it worked with no problem. Thank you so much for your hard work 🙏
Et0h commentedon Jan 28, 2024
I've also tested this with mpv and mpv.net using the arguments
title="mpv (Syncplay)" keep-open=always osd-msg1="Test"and it fixes the issue for mpv as well. As such, I'll be accepting the PR. If people find any problems with this change then please let me know.Allow player arguments with spaces/quotes (#665) (#668)
Delete Allow_player_arguments_with_spaces_quotes_(#665).patch
Improve handling of big media directories (#694) (#699)