Fix playback for server 3.6.0.61

This commit is contained in:
angelblue05 2018-11-06 17:09:20 -06:00
parent 1bace6f0c3
commit 3070740f52

View file

@ -318,10 +318,6 @@ class PlayUtils(object):
{
"Type": "Video"
},
{
"Type": "Video",
"Container": "strm"
},
{
"Type": "Audio"
},
@ -424,13 +420,8 @@ class PlayUtils(object):
}
)
if self.info['ForceTranscode'] or self.item['LocationType'] == 'Remote':
profile['DirectPlayProfiles'] = [
{
"Type": "Video",
"Container": "strm"
}
]
if self.info['ForceTranscode']:
profile['DirectPlayProfiles'] = [{}]
if self.item['Type'] == 'TvChannel':
profile['TranscodingProfiles'].insert(0, {