mirror of
https://github.com/jellyfin/jellyfin-roku.git
synced 2024-11-23 06:09:41 +00:00
stop trying to direct play AAC profile "main"
This commit is contained in:
parent
bc0445e9d9
commit
9e5ae3aa1f
@ -440,7 +440,26 @@ function getCodecProfiles() as object
|
||||
if di.CanDecodeAudio({ Codec: audioCodec, ChCnt: audioChannel }).Result
|
||||
channelSupportFound = true
|
||||
for each codecType in ["VideoAudio", "Audio"]
|
||||
if audioCodec = "opus" and codecType = "Audio"
|
||||
if audioCodec = "aac"
|
||||
codecProfiles.push({
|
||||
"Type": codecType,
|
||||
"Codec": audioCodec,
|
||||
"Conditions": [
|
||||
{
|
||||
"Condition": "NotEquals",
|
||||
"Property": "AudioProfile",
|
||||
"Value": "Main",
|
||||
"IsRequired": true
|
||||
},
|
||||
{
|
||||
"Condition": "LessThanEqual",
|
||||
"Property": "AudioChannels",
|
||||
"Value": audioChannel,
|
||||
"IsRequired": true
|
||||
}
|
||||
]
|
||||
})
|
||||
else if audioCodec = "opus" and codecType = "Audio"
|
||||
' opus audio files not supported by roku
|
||||
else
|
||||
codecProfiles.push({
|
||||
|
Loading…
Reference in New Issue
Block a user