From 6179540d270ca8446e72d2f32fc9e3ba65141afe Mon Sep 17 00:00:00 2001 From: rg9400 <39887349+rg9400@users.noreply.github.com> Date: Mon, 7 Sep 2020 00:16:08 -0500 Subject: [PATCH] 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 --- src/NzbDrone.Core/Notifications/Trakt/TraktService.cs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/NzbDrone.Core/Notifications/Trakt/TraktService.cs b/src/NzbDrone.Core/Notifications/Trakt/TraktService.cs index 4c8c6ba9f..088157e83 100644 --- a/src/NzbDrone.Core/Notifications/Trakt/TraktService.cs +++ b/src/NzbDrone.Core/Notifications/Trakt/TraktService.cs @@ -201,6 +201,8 @@ namespace NzbDrone.Core.Notifications.Trakt traktAudioFormat = "dolby_truehd"; break; case "EAC3 Atmos": + traktAudioFormat = "dolby_digital_plus_atmos"; + break; case "TrueHD Atmos": traktAudioFormat = "dolby_atmos"; break; @@ -218,9 +220,11 @@ namespace NzbDrone.Core.Notifications.Trakt traktAudioFormat = "dts_x"; break; case "MP3": - case "MP2": traktAudioFormat = "mp3"; break; + case "MP2": + traktAudioFormat = "mp2"; + break; case "Vorbis": traktAudioFormat = "ogg"; break; @@ -237,7 +241,7 @@ namespace NzbDrone.Core.Notifications.Trakt traktAudioFormat = "flac"; break; case "Opus": - traktAudioFormat = "ogg"; + traktAudioFormat = "ogg_opus"; break; }