-
Notifications
You must be signed in to change notification settings - Fork 215
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
VLC "invalid URL error" when attempting to play an HTTPS stream with square brackets #187
Comments
I tried to reproduce this on Windows 7 x86 with VLC 2.2.4 and Syncplay 1.5.3, with no luck. To be clear, I put the URL in the 'File' -> 'Open media stream URL' dialog of Syncplay. Perhaps someone else can try to reproduce this on other windows systems. |
I am on Win10 x64 using VLC 3.0.2 x64. I just tested both adding the URL to the shared playlist and using the 'Open media stream URL' dialog. This is happening for the other users using my syncplay server with the similar system specs. Syncplay server is running on a Fedora 28 machine if that matters. |
Reproduced on Win10 x64 with VLC 3.0.0. Apparently, this restricts this bug to something that affects only VLC 3.x. |
EDIT: to be honest, I get the same error (invalid URL) using VLC 3.0.0 and 3.0.2 alone, even without Syncplay. Can you check in the VLC debug logs what URL Syncplay is passing to the player in your system? Open Syncplay with VLC, then enable the logs by typing Ctrl + M in VLC and by choosing '2 (debug)' in the verbosity tab in the dialog that pops up. Then attempt to load the URL with [] from Syncplay and post the resulting log here. Thanks |
Debug log:
|
I can't see the error in this log, maybe you need to scroll further down or you could reduce the log verbosity to 1 or 0 and then attempt again to find why VLC is complaining. For what it's worth, the URL seems correctly encoded in the first line. Thanks again. |
Try http://syncplay.pl/syncplay_v1.5.3_vlcbracketfix.zip (portable build of Syncpluy) and let me know if it fixes the issue. The change I made was to remove [] from line 148 of vlc.py.
|
This solves the issue by encoding the square brackets, even though that should not be necessary. Tested this on Windows with both VLC 2.2.8 and 3.0.3 and it works. However, I am still unable to open a URL formatted as the one reported in this issue ( |
Okay, issue should be solved now - thanks bringing it to our attention. The fix will be in the next release, but in the meantime you can use http://syncplay.pl/syncplay_v1.5.3_vlcbracketfix.zip |
Example url:
https://example.com/Movies/Sample Movie (2018) - [1080p].mkv
Playing this URL via "Open Network Stream" in VLC's GUI without syncplay is fine. But when attempting to open this URL via Syncplay, VLC complains the URL is invalid. mpv does not have this issue, I didn't test other players besides VLC and mpv. Renaming the file on the server (and thus the stream URL) by removing the square brackets fixes the problem.
I'm on Windows with Syncplay 1.5.3
The text was updated successfully, but these errors were encountered: