Fix VLC error when HTTPS URL contains square brackets (#187)
This commit is contained in:
parent
9349b887bd
commit
3b6996f7ab
@ -145,7 +145,7 @@ class VlcPlayer(BasePlayer):
|
|||||||
def getMRL(self, fileURL):
|
def getMRL(self, fileURL):
|
||||||
if utils.isURL(fileURL):
|
if utils.isURL(fileURL):
|
||||||
fileURL = fileURL.encode('utf8')
|
fileURL = fileURL.encode('utf8')
|
||||||
fileURL = urllib.quote(fileURL, safe="%/:=&?~#+!$,;'@()*[]")
|
fileURL = urllib.quote(fileURL, safe="%/:=&?~#+!$,;'@()*")
|
||||||
return fileURL
|
return fileURL
|
||||||
|
|
||||||
fileURL = fileURL.replace(u'\\', u'/')
|
fileURL = fileURL.replace(u'\\', u'/')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user