mirror of
https://github.com/Readarr/Readarr
synced 2026-01-08 08:33:30 +01:00
Fixed: Added Formatter cases for Wavpack and APE
This commit is contained in:
parent
e7bd67fcfa
commit
029e057c06
1 changed files with 10 additions and 0 deletions
|
|
@ -113,6 +113,11 @@ public static string FormatAudioCodec(MediaInfoModel mediaInfo)
|
|||
return "MLP";
|
||||
}
|
||||
|
||||
if (audioFormat.Trim().EqualsIgnoreCase("Monkey's Audio"))
|
||||
{
|
||||
return "APE";
|
||||
}
|
||||
|
||||
if (audioFormat.Trim().EqualsIgnoreCase("mp3"))
|
||||
{
|
||||
return "MP3";
|
||||
|
|
@ -151,6 +156,11 @@ public static string FormatAudioCodec(MediaInfoModel mediaInfo)
|
|||
return "Vorbis";
|
||||
}
|
||||
|
||||
if (audioFormat.EqualsIgnoreCase("WavPack"))
|
||||
{
|
||||
return "WavPack";
|
||||
}
|
||||
|
||||
if (audioFormat == "WMA")
|
||||
{
|
||||
return "WMA";
|
||||
|
|
|
|||
Loading…
Reference in a new issue