Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Sonarr/commit/dbc4f01d6a5b0205182ba91c53ea64869e9bb74b
You should set ROOT_URL correctly, otherwise the web may not work correctly.
2 changed files with
6 additions and
3 deletions
@ -78,7 +78,8 @@ namespace NzbDrone.Core.Test.ParserTests
new object [ ] { "POI S02E11 1080i HDTV DD5.1 MPEG2-TrollHD" , Quality . RAWHD , false } ,
new object [ ] { "How I Met Your Mother S01E18 Nothing Good Happens After 2 A.M. 720p HDTV DD5.1 MPEG2-TrollHD" , Quality . RAWHD , false } ,
new object [ ] { "Arrested.Development.S04E01.iNTERNAL.1080p.WEBRip.x264-QRUS" , Quality . WEBDL1080p , false } ,
new object [ ] { "Arrested.Development.S04E01.720p.WEBRip.AAC2.0.x264-NFRiP" , Quality . WEBDL720p , false }
new object [ ] { "Arrested.Development.S04E01.720p.WEBRip.AAC2.0.x264-NFRiP" , Quality . WEBDL720p , false } ,
new object [ ] { "Sons.Of.Anarchy.S02E13.1080p.BluRay.x264-AVCDVD" , Quality . Bluray1080p , false }
} ;
public static object [ ] SelfQualityParserCases =
@ -249,7 +249,9 @@ namespace NzbDrone.Core.Parser
var result = new QualityModel { Quality = Quality . Unknown } ;
result . Proper = ( normalizedName . Contains ( "proper" ) | | normalizedName . Contains ( "repack" ) ) ;
if ( normalizedName . Contains ( "dvd" ) | | normalizedName . Contains ( "bdrip" ) | | normalizedName . Contains ( "brrip" ) )
//if (Regex.Match(normalizedName))
if ( ( normalizedName . Contains ( "dvd" ) & & ! normalizedName . Contains ( "avcdvd" ) ) | | normalizedName . Contains ( "bdrip" ) | | normalizedName . Contains ( "brrip" ) )
{
result . Quality = Quality . DVD ;
return result ;
@ -325,8 +327,8 @@ namespace NzbDrone.Core.Parser
result . Quality = Quality . HDTV720p ;
return result ;
}
//Based on extension
//Based on extension
if ( result . Quality = = Quality . Unknown & & ! name . ContainsInvalidPathChars ( ) )
{
try