mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-24 17:56:11 +00:00
Url encode strm files
This commit is contained in:
parent
e288f991c7
commit
a9aad8fabc
1 changed files with 5 additions and 0 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue