Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Readarr/commit/2b6f908038e982d770a8159f3c800bd879866b47
You should set ROOT_URL correctly, otherwise the web may not work correctly.
2 changed files with
10 additions and
0 deletions
@ -106,6 +106,8 @@ namespace NzbDrone.Core.Test.ParserTests
[TestCase("[Doremi] . Yes . Pretty . Cure . 5. Go . Go ! . 31. [ 1280 x720 ] . [ C65D4B1F ] . mkv ", false)]
[TestCase("[HorribleSubs] _Fairy_Tail_ - _145_ [ 720 p ] ", false)]
[TestCase("[Eveyuu] No Game No Life - 10 [ Hi10P 1280 x720 H264 ] [ 10 B23BD8 ] ", false)]
[TestCase("Hells.Kitchen.US.S12E17.HR.WS.PDTV.X264-DIMENSION", false)]
[TestCase("Survivorman.The.Lost.Pilots.Summer.HR.WS.PDTV.x264-DHD", false)]
public void should_parse_hdtv720p_quality ( string title , bool proper )
{
ParseAndVerifyQuality ( title , Quality . HDTV720p , proper ) ;
@ -41,6 +41,8 @@ namespace NzbDrone.Core.Parser
private static readonly Regex AnimeBlurayRegex = new Regex ( @"bd(?:720|1080)|(?<=\[|\(|\s)bd(?=\s|\)|\])" , RegexOptions . Compiled | RegexOptions . IgnoreCase ) ;
private static readonly Regex HighDefPdtvRegex = new Regex ( @"hr[-_. ]ws" , RegexOptions . Compiled | RegexOptions . IgnoreCase ) ;
public static QualityModel ParseQuality ( string name )
{
Logger . Debug ( "Trying to parse quality for {0}" , name ) ;
@ -163,6 +165,12 @@ namespace NzbDrone.Core.Parser
sourceMatch . Groups [ "sdtv" ] . Success | |
sourceMatch . Groups [ "dsr" ] . Success )
{
if ( HighDefPdtvRegex . IsMatch ( normalizedName ) )
{
result . Quality = Quality . HDTV720p ;
return result ;
}
result . Quality = Quality . SDTV ;
return result ;
}