mirror of https://github.com/Radarr/Radarr
add more audio codecs for Trakt connection
Just updated on production at Trakt's end. They are still discussing adding a new format for TV
This commit is contained in:
parent
f7e208afe1
commit
6179540d27
|
@ -201,6 +201,8 @@ namespace NzbDrone.Core.Notifications.Trakt
|
||||||
traktAudioFormat = "dolby_truehd";
|
traktAudioFormat = "dolby_truehd";
|
||||||
break;
|
break;
|
||||||
case "EAC3 Atmos":
|
case "EAC3 Atmos":
|
||||||
|
traktAudioFormat = "dolby_digital_plus_atmos";
|
||||||
|
break;
|
||||||
case "TrueHD Atmos":
|
case "TrueHD Atmos":
|
||||||
traktAudioFormat = "dolby_atmos";
|
traktAudioFormat = "dolby_atmos";
|
||||||
break;
|
break;
|
||||||
|
@ -218,9 +220,11 @@ namespace NzbDrone.Core.Notifications.Trakt
|
||||||
traktAudioFormat = "dts_x";
|
traktAudioFormat = "dts_x";
|
||||||
break;
|
break;
|
||||||
case "MP3":
|
case "MP3":
|
||||||
case "MP2":
|
|
||||||
traktAudioFormat = "mp3";
|
traktAudioFormat = "mp3";
|
||||||
break;
|
break;
|
||||||
|
case "MP2":
|
||||||
|
traktAudioFormat = "mp2";
|
||||||
|
break;
|
||||||
case "Vorbis":
|
case "Vorbis":
|
||||||
traktAudioFormat = "ogg";
|
traktAudioFormat = "ogg";
|
||||||
break;
|
break;
|
||||||
|
@ -237,7 +241,7 @@ namespace NzbDrone.Core.Notifications.Trakt
|
||||||
traktAudioFormat = "flac";
|
traktAudioFormat = "flac";
|
||||||
break;
|
break;
|
||||||
case "Opus":
|
case "Opus":
|
||||||
traktAudioFormat = "ogg";
|
traktAudioFormat = "ogg_opus";
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue