Add Max Audio Channel condition to supported codecs
This commit is contained in:
parent
d727f0b924
commit
f27c5e206a
|
@ -38,12 +38,13 @@ function getDeviceProfile() as object
|
|||
tsAudioCodecs = "aac"
|
||||
end if
|
||||
|
||||
DirectPlayProfile = GetDirectPlayProfiles()
|
||||
|
||||
return {
|
||||
"MaxStreamingBitrate": 120000000,
|
||||
"MaxStaticBitrate": 100000000,
|
||||
"MusicStreamingTranscodingBitrate": 192000,
|
||||
"DirectPlayProfiles": GetDirectPlayProfiles(),
|
||||
"DirectPlayProfiles": DirectPlayProfile,
|
||||
"TranscodingProfiles": [
|
||||
{
|
||||
"Container": "aac",
|
||||
|
@ -111,6 +112,18 @@ function getDeviceProfile() as object
|
|||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"Type": "VideoAudio",
|
||||
"Codec": DirectPlayProfile[1].AudioCodec, ' Use supported MKV Audio list
|
||||
"Conditions": [
|
||||
{
|
||||
"Condition": "LessThanEqual",
|
||||
"Property": "AudioChannels",
|
||||
"Value": StrI(maxAudioChannels) ' Currently Jellyfin server expects this as a string
|
||||
"IsRequired": false
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"Type": "Video",
|
||||
"Codec": "h264",
|
||||
|
|
Loading…
Reference in New Issue
Block a user