Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/recyclarr/commit/5b9edbfdf5444a55beae55313667d396a553f115
You should set ROOT_URL correctly, otherwise the web may not work correctly.
4 changed files with
9 additions and
6 deletions
@ -17,6 +17,7 @@ public class CustomFormatAutofacModule : Module
builder . RegisterType < CustomFormatDataLister > ( ) ;
builder . RegisterType < CustomFormatCachePersister > ( ) . As < ICachePersister < CustomFormatCache > > ( ) ;
builder . RegisterType < CustomFormatTransactionLogger > ( ) ;
builder . RegisterTypes (
typeof ( CustomFormatConfigPhase ) ,
@ -1,8 +1,8 @@
namespace Recyclarr.Cli.Pipelines.CustomFormat ;
internal static class CustomFormatPipelineExtensions
internal class CustomFormatTransactionLogger ( ILogger log )
{
public static void LogTransactions ( this CustomFormatPipelineContext context , ILogger log )
public void LogTransactions ( CustomFormatPipelineContext context )
{
var transactions = context . TransactionOutput ;
@ -2,7 +2,8 @@ using Recyclarr.Cli.Pipelines.Generic;
namespace Recyclarr.Cli.Pipelines.CustomFormat.PipelinePhases ;
public class CustomFormatLogPhase ( ILogger log ) : ILogPipelinePhase < CustomFormatPipelineContext >
internal class CustomFormatLogPhase ( CustomFormatTransactionLogger cfLogger , ILogger log )
: ILogPipelinePhase < CustomFormatPipelineContext >
{
// Returning 'true' means to exit. 'false' means to proceed.
public bool LogConfigPhaseAndExitIfNeeded ( CustomFormatPipelineContext context )
@ -23,6 +24,6 @@ public class CustomFormatLogPhase(ILogger log) : ILogPipelinePhase<CustomFormatP
public void LogPersistenceResults ( CustomFormatPipelineContext context )
{
c ontext. LogTransactions ( log ) ;
c fLogger. LogTransactions ( context ) ;
}
}
@ -2,10 +2,11 @@ using Recyclarr.Cli.Pipelines.Generic;
namespace Recyclarr.Cli.Pipelines.CustomFormat.PipelinePhases ;
public class CustomFormatPreviewPhase ( ILogger log ) : IPreviewPipelinePhase < CustomFormatPipelineContext >
internal class CustomFormatPreviewPhase ( CustomFormatTransactionLogger logger )
: IPreviewPipelinePhase < CustomFormatPipelineContext >
{
public void Execute ( CustomFormatPipelineContext context )
{
context. LogTransactions ( log ) ;
logger. LogTransactions ( context ) ;
}
}