1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-07-07 04:19:25 +02:00

Fixed: Handle wmapro and wmv3 codecs in formatter

Fixes RADARR-1G5R
Fixes RADARR-1G7V
This commit is contained in:
Qstick 2022-01-08 13:50:03 -06:00
parent 57e05b70da
commit 6e502d63c2

View File

@ -147,7 +147,8 @@ public static string FormatAudioCodec(MediaInfoModel mediaInfo, string sceneName
}
if (audioFormat == "wmav1" ||
audioFormat == "wmav2")
audioFormat == "wmav2" ||
audioFormat == "wmapro")
{
return "WMA";
}
@ -244,7 +245,8 @@ public static string FormatVideoCodec(MediaInfoModel mediaInfo, string sceneName
}
if (videoFormat == "wmv1" ||
videoFormat == "wmv2")
videoFormat == "wmv2" ||
videoFormat == "wmv3")
{
return "WMV";
}