Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Sonarr/commit/e07b588fd88d71f82837615288d0b5f1b4169525
You should set ROOT_URL correctly, otherwise the web may not work correctly.
3 changed files with
4 additions and
7 deletions
@ -5,15 +5,15 @@ namespace NzbDrone.Core.DataAugmentation.Scene
{
public class SceneMapping : ModelBase
{
[JsonProperty(" CleanT itle")]
[JsonProperty(" t itle")]
public string ParseTerm { get ; set ; }
[JsonProperty(" Title")]
[JsonProperty(" search Title")]
public string SearchTerm { get ; set ; }
[JsonProperty("Id")]
public int TvdbId { get ; set ; }
[JsonProperty("season")]
public int SeasonNumber { get ; set ; }
}
}
@ -21,7 +21,7 @@ namespace NzbDrone.Core.DataAugmentation.Scene
public List < SceneMapping > Fetch ( )
{
var mappingsJson = _httpProvider . DownloadString ( Services . RootUrl + "/ SceneMapping/Active ") ;
var mappingsJson = _httpProvider . DownloadString ( Services . RootUrl + "/ v1/ SceneMapping") ;
return Json . Deserialize < List < SceneMapping > > ( mappingsJson ) ;
}
}
@ -44,7 +44,6 @@ namespace NzbDrone.Core.DataAugmentation.Scene
return mapping . SearchTerm ;
}
public Nullable < Int32 > GetTvDbId ( string cleanName )
{
var mapping = _gettvdbIdCache . Find ( cleanName . CleanSeriesTitle ( ) ) ;
@ -55,7 +54,6 @@ namespace NzbDrone.Core.DataAugmentation.Scene
return mapping . TvdbId ;
}
private void UpdateMappings ( )
{
_logger . Info ( "Updating Scene mapping" ) ;
@ -74,7 +72,6 @@ namespace NzbDrone.Core.DataAugmentation.Scene
}
_repository . InsertMany ( mappings ) ;
}
else
{