From 2794789f05de5970e2269bfbd802d8eacfe5b168 Mon Sep 17 00:00:00 2001 From: angelblue05 Date: Thu, 23 Jun 2016 18:50:34 -0500 Subject: [PATCH] Fix for channel not changing To be reviewed. --- resources/lib/playutils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/lib/playutils.py b/resources/lib/playutils.py index d364bbb3..ea76b085 100644 --- a/resources/lib/playutils.py +++ b/resources/lib/playutils.py @@ -36,7 +36,7 @@ class PlayUtils(): and self.item['MediaSources'][0]['Protocol'] == "Http"): # Play LiveTV or recordings log("File protocol is http (livetv).", 1) - playurl = "%s/emby/Videos/%s/live.m3u8?static=true" % (self.server, self.item['Id']) + playurl = "%s/emby/Videos/%s/stream.ts?audioCodec=copy&videoCodec=copy" % (self.server, self.item['Id']) window('emby_%s.playmethod' % playurl, value="Transcode") elif self.item.get('MediaSources') and self.item['MediaSources'][0]['Protocol'] == "Http": @@ -244,7 +244,7 @@ class PlayUtils(): elif self.item['Type'] == "Audio": playurl = "%s/emby/Audio/%s/stream.mp3" % (self.server, self.item['Id']) else: - playurl = "%s/emby/Videos/%s/stream?static=true" % (self.server, self.item['Id']) + playurl = "%s/emby/Videos/%s/stream.ts?audioCodec=copy&videoCodec=copy" % (self.server, self.item['Id']) return playurl