]> code.delx.au - webdl/commitdiff
Fixed iView (thanks Charlie Bash)
authorJames Bunton <jamesbunton@delx.net.au>
Thu, 20 Oct 2016 03:29:19 +0000 (14:29 +1100)
committerJames Bunton <jamesbunton@delx.net.au>
Thu, 20 Oct 2016 03:29:19 +0000 (14:29 +1100)
iview.py

index 03f730bf65ac0b6613a33c22c4820b687b661af4..b23af386f4802d2b15e0f767746f0901dc6b39e0 100644 (file)
--- a/iview.py
+++ b/iview.py
@@ -20,7 +20,7 @@ class IviewEpisodeNode(Node):
     def find_hls_url(self, playlist):
         for video in playlist:
             if video["type"] == "program":
     def find_hls_url(self, playlist):
         for video in playlist:
             if video["type"] == "program":
-                return video["hls-high"]
+                return video["hls-high"].replace("http:", "https:")
         raise Exception("Missing hls-high program stream for " + self.video_key)
 
     def get_auth_details(self):
         raise Exception("Missing hls-high program stream for " + self.video_key)
 
     def get_auth_details(self):