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'
|
USER_AGENT = 'QuickTime/7.7.4'
|
||||||
playurl += "?|User-Agent=%s" % USER_AGENT
|
playurl += "?|User-Agent=%s" % USER_AGENT
|
||||||
|
|
||||||
|
if ":" not in playurl:
|
||||||
|
self.logMsg("Path seems invalid: %s" % playurl)
|
||||||
|
return False
|
||||||
|
|
||||||
return playurl
|
return playurl
|
||||||
|
|
||||||
except:
|
except:
|
||||||
|
|
Loading…
Reference in a new issue