Update device profile

This commit is contained in:
angelblue05 2018-06-25 03:32:01 -05:00
parent 26c3bbf088
commit 87fa40d111

View file

@ -526,47 +526,33 @@ class PlayUtils():
"MusicStreamingTranscodingBitrate": 1280000, "MusicStreamingTranscodingBitrate": 1280000,
"TimelineOffsetSeconds": 5, "TimelineOffsetSeconds": 5,
"Identification": {
"ModelName": "Kodi",
"Headers": [
{
"Name": "User-Agent",
"Value": "Kodi",
"Match": 2
}
]
},
"TranscodingProfiles": [ "TranscodingProfiles": [
{ {
"Container": "mp3", "Container": "mp3",
"AudioCodec": "mp3", "AudioCodec": "mp3",
"Type": 0 "Type": "Audio"
}, },
{ {
"Container": "m3u8", "Container": "m3u8",
"AudioCodec": "ac3", "AudioCodec": "ac3",
"VideoCodec": "h264", "VideoCodec": "h264",
"Type": 1 "Type": "Video"
}, },
{ {
"Container": "jpeg", "Container": "jpeg",
"Type": 2 "Type": "Photo"
} }
], ],
"DirectPlayProfiles": [ "DirectPlayProfiles": [
{ {
"Container": "", "Type": "Video"
"Type": 0
}, },
{ {
"Container": "", "Type": "Audio"
"Type": 1
}, },
{ {
"Container": "", "Type": "Photo"
"Type": 2
} }
], ],
@ -577,50 +563,67 @@ class PlayUtils():
"SubtitleProfiles": [ "SubtitleProfiles": [
{ {
"Format": "srt", "Format": "srt",
"Method": 2 "Method": "External"
},
{
"Format": "sub",
"Method": 2
}, },
{ {
"Format": "srt", "Format": "srt",
"Method": 1 "Method": "Embed"
}, },
{ {
"Format": "ass", "Format": "ass",
"Method": 1, "Method": "External"
"DidlMode": ""
}, },
{ {
"Format": "ssa", "Format": "ass",
"Method": 1, "Method": "Embed"
"DidlMode": ""
},
{
"Format": "smi",
"Method": 1,
"DidlMode": ""
},
{
"Format": "dvdsub",
"Method": 1,
"DidlMode": ""
},
{
"Format": "pgs",
"Method": 1,
"DidlMode": ""
},
{
"Format": "pgssub",
"Method": 1,
"DidlMode": ""
}, },
{ {
"Format": "sub", "Format": "sub",
"Method": 1, "Method": "Embed"
"DidlMode": "" },
{
"Format": "sub",
"Method": "External"
},
{
"Format": "ssa",
"Method": "Embed"
},
{
"Format": "ssa",
"Method": "External"
},
{
"Format": "smi",
"Method": "Embed"
},
{
"Format": "smi",
"Method": "External"
},
{
"Format": "pgssub",
"Method": "Embed"
},
{
"Format": "pgssub",
"Method": "External"
},
{
"Format": "dvdsub",
"Method": "Embed"
},
{
"Format": "dvdsub",
"Method": "External"
},
{
"Format": "pgs",
"Method": "Embed"
},
{
"Format": "pgs",
"Method": "External"
} }
] ]
} }