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:
angelblue05 2015-06-08 03:11:04 -05:00
parent cf17e957bb
commit ad6626c086

View file

@ -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: