mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
Fix playback for server 3.6.0.61
This commit is contained in:
parent
1bace6f0c3
commit
3070740f52
1 changed files with 2 additions and 11 deletions
|
@ -318,10 +318,6 @@ class PlayUtils(object):
|
||||||
{
|
{
|
||||||
"Type": "Video"
|
"Type": "Video"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Type": "Video",
|
|
||||||
"Container": "strm"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Type": "Audio"
|
"Type": "Audio"
|
||||||
},
|
},
|
||||||
|
@ -424,13 +420,8 @@ class PlayUtils(object):
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
if self.info['ForceTranscode'] or self.item['LocationType'] == 'Remote':
|
if self.info['ForceTranscode']:
|
||||||
profile['DirectPlayProfiles'] = [
|
profile['DirectPlayProfiles'] = [{}]
|
||||||
{
|
|
||||||
"Type": "Video",
|
|
||||||
"Container": "strm"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
|
|
||||||
if self.item['Type'] == 'TvChannel':
|
if self.item['Type'] == 'TvChannel':
|
||||||
profile['TranscodingProfiles'].insert(0, {
|
profile['TranscodingProfiles'].insert(0, {
|
||||||
|
|
Loading…
Reference in a new issue