mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
Allow live tv to direct stream
This commit is contained in:
parent
ad6aa7e448
commit
25ecdadad6
1 changed files with 2 additions and 4 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue