mirror of
https://github.com/Radarr/Radarr
synced 2025-02-25 15:43:08 +00:00
Use shorter format Profile string. (#561)
This commit is contained in:
parent
a07138680b
commit
3e9594f069
1 changed files with 4 additions and 4 deletions
|
@ -747,19 +747,19 @@ private void AddMediaInfoTokens(Dictionary<string, Func<TokenMatch, string>> tok
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "DTS":
|
case "DTS":
|
||||||
if (movieFile.MediaInfo.AudioProfile == "ES Discrete / Core" || movieFile.MediaInfo.AudioProfile == "ES Matrix / Core")
|
if (movieFile.MediaInfo.AudioProfile == "ES Discrete" || movieFile.MediaInfo.AudioProfile == "ES Matrix")
|
||||||
{
|
{
|
||||||
audioCodec = "DTS-ES";
|
audioCodec = "DTS-ES";
|
||||||
}
|
}
|
||||||
else if (movieFile.MediaInfo.AudioProfile == "MA / Core" || movieFile.MediaInfo.AudioProfile == "MA / ES Matrix / Core")
|
else if (movieFile.MediaInfo.AudioProfile == "MA")
|
||||||
{
|
{
|
||||||
audioCodec = "DTS-HD MA";
|
audioCodec = "DTS-HD MA";
|
||||||
}
|
}
|
||||||
else if (movieFile.MediaInfo.AudioProfile == "HRA / Core")
|
else if (movieFile.MediaInfo.AudioProfile == "HRA")
|
||||||
{
|
{
|
||||||
audioCodec = "DTS-HD HRA";
|
audioCodec = "DTS-HD HRA";
|
||||||
}
|
}
|
||||||
else if (movieFile.MediaInfo.AudioProfile == "X / MA / Core")
|
else if (movieFile.MediaInfo.AudioProfile == "X")
|
||||||
{
|
{
|
||||||
audioCodec = "DTS-X";
|
audioCodec = "DTS-X";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue