From ad6626c0864ba9769c933fbae818f9a934660450 Mon Sep 17 00:00:00 2001 From: angelblue05 Date: Mon, 8 Jun 2015 03:11:04 -0500 Subject: [PATCH] Refining People seem to set invalid paths as path subs, this should allow direct streaming to allow instead. To be tested. --- resources/lib/PlayUtils.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/resources/lib/PlayUtils.py b/resources/lib/PlayUtils.py index a53d9cb9..078551bb 100644 --- a/resources/lib/PlayUtils.py +++ b/resources/lib/PlayUtils.py @@ -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: