Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Readarr/commit/44e6c46337e4f9c3e47d1a434ec55a5a860de835?style=split&whitespace=ignore-eol
You should set ROOT_URL correctly, otherwise the web may not work correctly.
4 changed files with
27 additions and
3 deletions
@ -13,11 +13,19 @@ namespace NzbDrone.Core.Backup
return true ;
return true ;
}
}
}
}
public override bool UpdateScheduledTask
{
get
{
return Type = = BackupType . Scheduled ;
}
}
}
}
public enum BackupType
public enum BackupType
{
{
Scheduled = 0 ,
Scheduled = 0 ,
Manual = 1 ,
Manual = 1 ,
Update = 2
Update = 2
}
}
@ -127,7 +127,7 @@ namespace NzbDrone.Core.Jobs
{
{
var scheduledTask = _scheduledTaskRepository . All ( ) . SingleOrDefault ( c = > c . TypeName = = message . Command . Body . GetType ( ) . FullName ) ;
var scheduledTask = _scheduledTaskRepository . All ( ) . SingleOrDefault ( c = > c . TypeName = = message . Command . Body . GetType ( ) . FullName ) ;
if ( scheduledTask ! = null )
if ( scheduledTask ! = null & & message . Command . Body . UpdateScheduledTask )
{
{
_logger . Trace ( "Updating last run time for: {0}" , scheduledTask . TypeName ) ;
_logger . Trace ( "Updating last run time for: {0}" , scheduledTask . TypeName ) ;
_scheduledTaskRepository . SetLastExecutionTime ( scheduledTask . Id , DateTime . UtcNow ) ;
_scheduledTaskRepository . SetLastExecutionTime ( scheduledTask . Id , DateTime . UtcNow ) ;
@ -4,7 +4,7 @@ namespace NzbDrone.Core.Messaging.Commands
{
{
public abstract class Command
public abstract class Command
{
{
public virtual Boolean SendUpdatesToClient
public virtual bool SendUpdatesToClient
{
{
get
get
{
{
@ -12,6 +12,14 @@ namespace NzbDrone.Core.Messaging.Commands
}
}
}
}
public virtual bool UpdateScheduledTask
{
get
{
return true ;
}
}
public virtual string CompletionMessage
public virtual string CompletionMessage
{
{
get
get
@ -22,5 +22,13 @@ namespace NzbDrone.Core.Tv.Commands
return true ;
return true ;
}
}
}
}
public override bool UpdateScheduledTask
{
get
{
return ! SeriesId . HasValue ;
}
}
}
}
}
}