mirror of
https://github.com/Radarr/Radarr.git
synced 2024-10-05 15:47:20 +02:00
Fixed: Handle wmapro and wmv3 codecs in formatter
Fixes RADARR-1G5R Fixes RADARR-1G7V
This commit is contained in:
parent
57e05b70da
commit
6e502d63c2
@ -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";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user