mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-20 18:02:44 +01:00
Fixed: Handle MS variant MPEG4 files in video formatter
This commit is contained in:
parent
7bbd2246c4
commit
45d8227654
@ -20,6 +20,9 @@ public class FormatVideoCodecFixture : TestBase
|
||||
[TestCase("wmv2, WMV2", "Droned.wmv", "WMV")]
|
||||
[TestCase("mpeg4, XVID", "", "XviD")]
|
||||
[TestCase("mpeg4, DIV3", "spsm.dvdrip.divx.avi'.", "DivX")]
|
||||
[TestCase("msmpeg4, DIV3", "Exit the Dragon, Enter the Tiger (1976) 360p MPEG Audio.avi", "DivX")]
|
||||
[TestCase("msmpeg4v2, DIV3", "Exit the Dragon, Enter the Tiger (1976) 360p MPEG Audio.avi", "DivX")]
|
||||
[TestCase("msmpeg4v3, DIV3", "Exit the Dragon, Enter the Tiger (1976) 360p MPEG Audio.avi", "DivX")]
|
||||
[TestCase("vp6, 4", "Top Gear - S12E01 - Lorries - SD TV.flv", "VP6")]
|
||||
[TestCase("vp7, VP70", "Sweet Seymour.avi", "VP7")]
|
||||
[TestCase("vp8, V_VP8", "Dick.mkv", "VP8")]
|
||||
|
@ -208,7 +208,7 @@ public static string FormatVideoCodec(MediaInfoModel mediaInfo, string sceneName
|
||||
return "MPEG";
|
||||
}
|
||||
|
||||
if (videoFormat == "mpeg4")
|
||||
if (videoFormat == "mpeg4" || videoFormat.Contains("msmpeg4"))
|
||||
{
|
||||
if (videoCodecID == "XVID")
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user