Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Prowlarr/commit/e59257f4575ed11f080f7cbf3742640c88c67cde
You should set ROOT_URL correctly, otherwise the web may not work correctly.
4 changed files with
9 additions and
3 deletions
@ -159,6 +159,7 @@ namespace NzbDrone.Core.Test.ParserTests
[TestCase("Mission Impossible: Rogue Nation 2012 Bluray", "")]
[TestCase("Loving.Pablo.2018.TS.FRENCH.MD.x264-DROGUERiE", "")]
[TestCase("Uncut.Gems.2019.720p.BluRay.x264-YOL0W", "")]
[TestCase("Directors.Cut.German.2006.COMPLETE.PAL.DVDR-LoD", "")]
public void should_parse_edition ( string postTitle , string edition )
{
var parsed = Parser . Parser . ParseMovieTitle ( postTitle ) ;
@ -189,7 +189,7 @@ namespace NzbDrone.Core.MediaFiles.MovieImport
if ( folderMovieInfo ! = null )
{
var folderPath = path . GetAncestorPath ( folderMovieInfo . SimpleRelease Title) ;
var folderPath = path . GetAncestorPath ( folderMovieInfo . Original Title) ;
if ( folderPath ! = null )
{
@ -8,6 +8,8 @@ namespace NzbDrone.Core.Parser.Model
public class ParsedMovieInfo
{
public string MovieTitle { get ; set ; }
public string OriginalTitle { get ; set ; }
public string ReleaseTitle { get ; set ; }
public string SimpleReleaseTitle { get ; set ; }
public QualityModel Quality { get ; set ; }
public List < Language > Languages { get ; set ; } = new List < Language > ( ) ;
@ -165,6 +165,7 @@ namespace NzbDrone.Core.Parser
public static ParsedMovieInfo ParseMovieTitle ( string title , bool isDir = false )
{
var originalTitle = title ;
try
{
if ( ! ValidateBeforeParsing ( title ) )
@ -227,7 +228,7 @@ namespace NzbDrone.Core.Parser
if ( result ! = null )
{
//TODO: Add tests for this!
var simpleReleaseTitle = SimpleReleaseTitleRegex . Replace ( t itle, string . Empty ) ;
var simpleReleaseTitle = SimpleReleaseTitleRegex . Replace ( releaseT itle, string . Empty ) ;
var simpleTitleReplaceString = match [ 0 ] . Groups [ "title" ] . Success ? match [ 0 ] . Groups [ "title" ] . Value : result . MovieTitle ;
@ -247,7 +248,7 @@ namespace NzbDrone.Core.Parser
result . Edition = ParseEdition ( simpleReleaseTitle ) ;
}
result . ReleaseGroup = ParseReleaseGroup ( r eleaseTitle) ;
result . ReleaseGroup = ParseReleaseGroup ( simpleR eleaseTitle) ;
var subGroup = GetSubGroup ( match ) ;
if ( ! subGroup . IsNullOrWhiteSpace ( ) )
@ -263,6 +264,8 @@ namespace NzbDrone.Core.Parser
Logger . Debug ( "Release Hash parsed: {0}" , result . ReleaseHash ) ;
}
result . OriginalTitle = originalTitle ;
result . ReleaseTitle = releaseTitle ;
result . SimpleReleaseTitle = simpleReleaseTitle ;
result . ImdbId = ParseImdbId ( simpleReleaseTitle ) ;