From 25ecdadad6195def7715736fcd485c19dcb95d88 Mon Sep 17 00:00:00 2001 From: angelblue05 Date: Thu, 15 Nov 2018 23:31:00 -0600 Subject: [PATCH] Allow live tv to direct stream --- resources/lib/helper/playutils.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/resources/lib/helper/playutils.py b/resources/lib/helper/playutils.py index eb8f491a..8d40370b 100644 --- a/resources/lib/helper/playutils.py +++ b/resources/lib/helper/playutils.py @@ -182,11 +182,11 @@ class PlayUtils(object): self.info['MediaSourceId'] = source['Id'] if source.get('RequiresClosing'): - ''' Server is returning live tv stream with hardcoded 127.0.0.1. Skip over direct play/stream until fixed. + + ''' Server is returning live tv stream for direct play is hardcoded with 127.0.0.1. ''' self.info['LiveStreamId'] = source['LiveStreamId'] source['SupportsDirectPlay'] = False - source['SupportsDirectStream'] = False source['Protocol'] = "LiveTV" if source.get('Protocol') == 'Http' or source['SupportsDirectPlay'] and (self.is_strm(source) or not settings('playFromStream.bool') and self.is_file_exists(source)): @@ -442,8 +442,6 @@ class PlayUtils(object): "BreakOnNonKeyFrames": True }) - profile['DirectPlayProfiles'] = [] - return profile def set_external_subs(self, source, listitem):