1
0
Fork 0
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:
Chris Allen 2017-02-01 23:22:28 +13:00 committed by Leonardo Galli
parent a07138680b
commit 3e9594f069

View file

@ -747,19 +747,19 @@ private void AddMediaInfoTokens(Dictionary<string, Func<TokenMatch, string>> tok
break;
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";
}
else if (movieFile.MediaInfo.AudioProfile == "MA / Core" || movieFile.MediaInfo.AudioProfile == "MA / ES Matrix / Core")
else if (movieFile.MediaInfo.AudioProfile == "MA")
{
audioCodec = "DTS-HD MA";
}
else if (movieFile.MediaInfo.AudioProfile == "HRA / Core")
else if (movieFile.MediaInfo.AudioProfile == "HRA")
{
audioCodec = "DTS-HD HRA";
}
else if (movieFile.MediaInfo.AudioProfile == "X / MA / Core")
else if (movieFile.MediaInfo.AudioProfile == "X")
{
audioCodec = "DTS-X";
}