mirror of
https://github.com/Radarr/Radarr.git
synced 2025-04-24 14:37:07 -04:00
Fixed: Ignore case for DIVX VideoCodecID
This commit is contained in:
parent
093e076db0
commit
b8c92d23f4
2 changed files with 6 additions and 3 deletions
|
@ -19,6 +19,8 @@ namespace NzbDrone.Core.Test.MediaFiles.MediaInfo.MediaInfoFormatterTests
|
|||
[TestCase("wmv1, WMV1", "Droned.wmv", "WMV")]
|
||||
[TestCase("wmv2, WMV2", "Droned.wmv", "WMV")]
|
||||
[TestCase("mpeg4, XVID", "", "XviD")]
|
||||
[TestCase("mpeg4, DIVX", "", "DivX")]
|
||||
[TestCase("mpeg4, divx", "", "DivX")]
|
||||
[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")]
|
||||
|
|
|
@ -217,8 +217,8 @@ namespace NzbDrone.Core.MediaFiles.MediaInfo
|
|||
}
|
||||
|
||||
if (videoCodecID == "DIV3" ||
|
||||
videoCodecID == "DIVX" ||
|
||||
videoCodecID == "DX50")
|
||||
videoCodecID == "DX50" ||
|
||||
videoCodecID.ToUpperInvariant() == "DIVX")
|
||||
{
|
||||
return "DivX";
|
||||
}
|
||||
|
@ -256,7 +256,8 @@ namespace NzbDrone.Core.MediaFiles.MediaInfo
|
|||
videoFormat == "rv10" ||
|
||||
videoFormat == "rv20" ||
|
||||
videoFormat == "rv30" ||
|
||||
videoFormat == "rv40")
|
||||
videoFormat == "rv40" ||
|
||||
videoFormat == "cinepak")
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue