mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 21:43:33 -07:00
Raw-HD
New: Raw-HD (TrollHD) support added Fixed: Parser for TrollHD releases from NzbIndex and NzbClub #ND-115 fixed #ND-115 comment Max size will be ignored for Raw-HD releases, since they are always very large anyways
This commit is contained in:
parent
b8fff306bf
commit
106ea1d04b
8 changed files with 48 additions and 18 deletions
|
@ -78,7 +78,10 @@ namespace NzbDrone.Core
|
|||
{
|
||||
new Regex(@"(?:\[.+\]\-\[.+\]\-\[.+\]\-\[)(?<nzbTitle>.+)(?:\]\-.+)",
|
||||
RegexOptions.IgnoreCase | RegexOptions.Compiled),
|
||||
|
||||
|
||||
new Regex(@"(?:\[.+\]\W+\[.+\]\W+\[.+\]\W+\"")(?<nzbTitle>.+)(?:\"".+)",
|
||||
RegexOptions.IgnoreCase | RegexOptions.Compiled),
|
||||
|
||||
new Regex(@"(?:\[)(?<nzbTitle>.+)(?:\]\-.+)",
|
||||
RegexOptions.IgnoreCase | RegexOptions.Compiled),
|
||||
};
|
||||
|
@ -315,6 +318,12 @@ namespace NzbDrone.Core
|
|||
return result;
|
||||
}
|
||||
|
||||
if (normalizedName.Contains("trollhd") || normalizedName.Contains("rawhd"))
|
||||
{
|
||||
result.Quality = QualityTypes.RAWHD;
|
||||
return result;
|
||||
}
|
||||
|
||||
if (normalizedName.Contains("x264") || normalizedName.Contains("h264") || normalizedName.Contains("720p"))
|
||||
{
|
||||
if(normalizedName.Contains("1080p"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue