Url encode strm files

This commit is contained in:
angelblue05 2016-11-25 16:03:18 -06:00
parent e288f991c7
commit a9aad8fabc
1 changed files with 5 additions and 0 deletions

View File

@ -4,6 +4,7 @@
import logging
import sys
import urllib
import xbmc
import xbmcgui
@ -191,6 +192,10 @@ class PlayUtils():
USER_AGENT = "QuickTime/7.7.4"
playurl += "?|User-Agent=%s" % USER_AGENT
# Strm
if playurl.endswith('.strm'):
playurl = urllib.urlencode(playurl)
return playurl
def fileExists(self):