Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Sonarr/commit/b16d85d0fc4a83636be2ed929a8018fe2e91b3fc
You should set ROOT_URL correctly, otherwise the web may not work correctly.
4 changed files with
9 additions and
5 deletions
@ -120,7 +120,7 @@ namespace NzbDrone.Core.Datastore.Migration
. WithColumn ( "Title" ) . AsString ( ) . NotNullable ( )
. WithColumn ( "CleanTitle" ) . AsString ( ) . NotNullable ( )
. WithColumn ( "Status" ) . AsInt32 ( ) . NotNullable ( )
. WithColumn ( "Overview" ) . AsString ( ) . N otN ullable( )
. WithColumn ( "Overview" ) . AsString ( ) . N ullable( )
. WithColumn ( "AirTime" ) . AsString ( ) . Nullable ( )
. WithColumn ( "Language" ) . AsString ( ) . NotNullable ( )
. WithColumn ( "Path" ) . AsString ( ) . NotNullable ( )
@ -132,11 +132,11 @@ namespace NzbDrone.Core.Datastore.Migration
. WithColumn ( "Runtime" ) . AsInt32 ( ) . NotNullable ( )
. WithColumn ( "SeriesType" ) . AsInt32 ( ) . NotNullable ( )
. WithColumn ( "BacklogSetting" ) . AsInt32 ( ) . NotNullable ( )
. WithColumn ( "Network" ) . AsString ( ) . N otN ullable( )
. WithColumn ( "Network" ) . AsString ( ) . N ullable( )
. WithColumn ( "CustomStartDate" ) . AsDateTime ( ) . Nullable ( )
. WithColumn ( "UseSceneNumbering" ) . AsBoolean ( ) . NotNullable ( )
. WithColumn ( "TvRageId" ) . AsInt32 ( ) . Nullable ( )
. WithColumn ( "TvRageTitle" ) . AsString ( ) . N otN ullable( )
. WithColumn ( "TvRageTitle" ) . AsString ( ) . N ullable( )
. WithColumn ( "UtcOffSet" ) . AsInt32 ( ) . NotNullable ( )
. WithColumn ( "FirstAired" ) . AsDateTime ( ) . Nullable ( )
. WithColumn ( "NextAiring" ) . AsDateTime ( ) . Nullable ( ) ;
@ -29,7 +29,7 @@ namespace NzbDrone.Core.Datastore
RegisterMappers ( ) ;
Mapper . Entity < Config > ( ) . RegisterModel ( "Config" ) ;
Mapper . Entity < RootFolder > ( ) . RegisterModel ( "RootFolders" ) ;
Mapper . Entity < RootFolder > ( ) . RegisterModel ( "RootFolders" ) .Ignore ( r = > r . FreeSpace ) ;
Mapper . Entity < Indexer > ( ) . RegisterModel ( "IndexerDefinitions" ) ;
Mapper . Entity < NewznabDefinition > ( ) . RegisterModel ( "NewznabDefinitions" ) ;
@ -33,7 +33,7 @@ namespace NzbDrone.Core.Jobs
public IList < JobDefinition > GetPendingJobs ( )
{
return Queryable ( ) . Where ( c = > c . Enable = = fals e & & c . Interval ! = 2 ) . ToList ( ) . Where ( c = > c . LastExecution < DateTime . Now . AddMinutes ( - c . Interval ) ) . ToList ( ) ;
return Queryable ( ) . Where ( c = > c . Enable = = tru e & & c . Interval ! = 2 ) . ToList ( ) . Where ( c = > c . LastExecution < DateTime . Now . AddMinutes ( - c . Interval ) ) . ToList ( ) ;
}
public void Init ( )
@ -122,6 +122,7 @@ namespace NzbDrone.Core.Tv
repoSeries . Monitored = true ;
repoSeries . QualityProfileId = qualityProfileId ;
repoSeries . Title = title ;
repoSeries . CleanTitle = Parser . NormalizeTitle ( title ) ;
if ( qualityProfileId = = 0 )
repoSeries . QualityProfileId = _configService . DefaultQualityProfile ;
@ -132,6 +133,9 @@ namespace NzbDrone.Core.Tv
if ( airedAfter . HasValue )
repoSeries . CustomStartDate = airedAfter ;
//Todo: Allow the user to set this as part of the addition process.
repoSeries . Language = "en" ;
_seriesRepository . Insert ( repoSeries ) ;
_eventAggregator . Publish ( new SeriesAddedEvent ( repoSeries ) ) ;