Fixed: Added Formatter cases for Wavpack and APE

This commit is contained in:
Qstick 2018-10-01 21:17:51 -04:00
parent e7bd67fcfa
commit 029e057c06
1 changed files with 10 additions and 0 deletions

View File

@ -113,6 +113,11 @@ namespace NzbDrone.Core.MediaFiles.MediaInfo
return "MLP"; return "MLP";
} }
if (audioFormat.Trim().EqualsIgnoreCase("Monkey's Audio"))
{
return "APE";
}
if (audioFormat.Trim().EqualsIgnoreCase("mp3")) if (audioFormat.Trim().EqualsIgnoreCase("mp3"))
{ {
return "MP3"; return "MP3";
@ -151,6 +156,11 @@ namespace NzbDrone.Core.MediaFiles.MediaInfo
return "Vorbis"; return "Vorbis";
} }
if (audioFormat.EqualsIgnoreCase("WavPack"))
{
return "WavPack";
}
if (audioFormat == "WMA") if (audioFormat == "WMA")
{ {
return "WMA"; return "WMA";