mirror of
https://github.com/Radarr/Radarr
synced 2024-12-23 00:12:44 +00:00
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
1 changed files with 6 additions and 2 deletions
|
@ -201,6 +201,8 @@ private string MapAudio(MovieFile movieFile)
|
|||
traktAudioFormat = "dolby_truehd";
|
||||
break;
|
||||
case "EAC3 Atmos":
|
||||
traktAudioFormat = "dolby_digital_plus_atmos";
|
||||
break;
|
||||
case "TrueHD Atmos":
|
||||
traktAudioFormat = "dolby_atmos";
|
||||
break;
|
||||
|
@ -218,9 +220,11 @@ private string MapAudio(MovieFile movieFile)
|
|||
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 @@ private string MapAudio(MovieFile movieFile)
|
|||
traktAudioFormat = "flac";
|
||||
break;
|
||||
case "Opus":
|
||||
traktAudioFormat = "ogg";
|
||||
traktAudioFormat = "ogg_opus";
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue