mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 10:16:11 +00:00
Refining
People seem to set invalid paths as path subs, this should allow direct streaming to allow instead. To be tested.
This commit is contained in:
parent
cf17e957bb
commit
ad6626c086
1 changed files with 4 additions and 0 deletions
|
@ -156,6 +156,10 @@ class PlayUtils():
|
|||
USER_AGENT = 'QuickTime/7.7.4'
|
||||
playurl += "?|User-Agent=%s" % USER_AGENT
|
||||
|
||||
if ":" not in playurl:
|
||||
self.logMsg("Path seems invalid: %s" % playurl)
|
||||
return False
|
||||
|
||||
return playurl
|
||||
|
||||
except:
|
||||
|
|
Loading…
Reference in a new issue