Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Readarr/commit/1451a63c066148f80bfa38f8edfd1c4fffbc5f66
You should set ROOT_URL correctly, otherwise the web may not work correctly.
12 changed files with
20 additions and
20 deletions
@ -1,8 +1,8 @@
using NzbDrone.Core.Configuration ;
using NzbDrone.Core.Configuration ;
namespace Lidarr.Api.V1.Config
{
public class DownloadClientConfigModule : Son arrConfigModule< DownloadClientConfigResource >
public class DownloadClientConfigModule : Lid arrConfigModule< DownloadClientConfigResource >
{
public DownloadClientConfigModule ( IConfigService configService )
: base ( configService )
@ -14,4 +14,4 @@ namespace Lidarr.Api.V1.Config
return DownloadClientConfigResourceMapper . ToResource ( model ) ;
}
}
}
}
@ -4,7 +4,7 @@ using Lidarr.Http.Validation;
namespace Lidarr.Api.V1.Config
{
public class IndexerConfigModule : Son arrConfigModule< IndexerConfigResource >
public class IndexerConfigModule : Lid arrConfigModule< IndexerConfigResource >
{
public IndexerConfigModule ( IConfigService configService )
@ -1,4 +1,4 @@
using System.Linq ;
using System.Linq ;
using System.Reflection ;
using NzbDrone.Core.Configuration ;
using Lidarr.Http ;
@ -6,16 +6,16 @@ using Lidarr.Http.REST;
namespace Lidarr.Api.V1.Config
{
public abstract class Son arrConfigModule< TResource > : LidarrRestModule < TResource > where TResource : RestResource , new ( )
public abstract class Lid arrConfigModule< TResource > : LidarrRestModule < TResource > where TResource : RestResource , new ( )
{
private readonly IConfigService _configService ;
protected Son arrConfigModule( IConfigService configService )
protected Lid arrConfigModule( IConfigService configService )
: this ( new TResource ( ) . ResourceName . Replace ( "config" , "" ) , configService )
{
}
protected Son arrConfigModule( string resource , IConfigService configService ) :
protected Lid arrConfigModule( string resource , IConfigService configService ) :
base ( "config/" + resource . Trim ( '/' ) )
{
_configService = configService ;
@ -4,7 +4,7 @@ using NzbDrone.Core.Validation.Paths;
namespace Lidarr.Api.V1.Config
{
public class MediaManagementConfigModule : Son arrConfigModule< MediaManagementConfigResource >
public class MediaManagementConfigModule : Lid arrConfigModule< MediaManagementConfigResource >
{
public MediaManagementConfigModule ( IConfigService configService , PathExistsValidator pathExistsValidator )
: base ( configService )
@ -6,7 +6,7 @@ using NzbDrone.Core.Validation;
namespace Lidarr.Api.V1.Config
{
public class MetadataProviderConfigModule : Son arrConfigModule< MetadataProviderConfigResource >
public class MetadataProviderConfigModule : Lid arrConfigModule< MetadataProviderConfigResource >
{
public MetadataProviderConfigModule ( IConfigService configService )
: base ( configService )
@ -5,7 +5,7 @@ using Lidarr.Http;
namespace Lidarr.Api.V1.Config
{
public class UiConfigModule : Son arrConfigModule< UiConfigResource >
public class UiConfigModule : Lid arrConfigModule< UiConfigResource >
{
public UiConfigModule ( IConfigService configService )
: base ( configService )
@ -131,7 +131,7 @@
<Compile Include= "Config\NamingConfigModule.cs" />
<Compile Include= "Config\NamingConfigResource.cs" />
<Compile Include= "Config\NamingExampleResource.cs" />
<Compile Include= "Config\ Son arrConfigModule.cs" />
<Compile Include= "Config\ Lid arrConfigModule.cs" />
<Compile Include= "FileSystem\FileSystemModule.cs" />
<Compile Include= "DiskSpace\DiskSpaceModule.cs" />
<Compile Include= "DiskSpace\DiskSpaceResource.cs" />
@ -39,7 +39,7 @@ namespace Lidarr.Api.V1
Tags = definition . Tags ,
Fields = SchemaBuilder . ToSchema ( definition . Settings ) ,
InfoLink = string . Format ( "https://github.com/ Sonarr/Son arr/wiki/Supported-{0}#{1}",
InfoLink = string . Format ( "https://github.com/ Lidarr/Lid arr/wiki/Supported-{0}#{1}",
typeof ( TProviderResource ) . Name . Replace ( "Resource" , "s" ) ,
definition . Implementation . ToLower ( ) )
} ;
@ -67,4 +67,4 @@ namespace Lidarr.Api.V1
return definition ;
}
}
}
}
@ -1,4 +1,4 @@
using System ;
using System ;
using System.Collections.Generic ;
using System.Globalization ;
using System.IO ;
@ -168,14 +168,14 @@ namespace NzbDrone.Common.Test.Http
}
var request = new HttpRequestBuilder ( $"http://{_httpBinHost}/redirect-to" )
. AddQueryParam ( "url" , $"https:// sonarr.tv /")
. AddQueryParam ( "url" , $"https:// lidarr.audio /")
. Build ( ) ;
request . AllowAutoRedirect = true ;
var response = Subject . Get ( request ) ;
response . StatusCode . Should ( ) . Be ( HttpStatusCode . OK ) ;
response . Content . Should ( ) . Contain ( " Son arr") ;
response . Content . Should ( ) . Contain ( " Lid arr") ;
ExceptionVerification . ExpectedErrors ( 0 ) ;
}
@ -39,7 +39,7 @@ namespace NzbDrone.Console
{
System . Console . WriteLine ( "" ) ;
System . Console . WriteLine ( "" ) ;
Logger . Fatal ( ex . Message + ". This can happen if another instance of Son arr is already running another application is using the same port (default: 8989) or the user has insufficient permissions") ;
Logger . Fatal ( ex . Message + ". This can happen if another instance of Lid arr is already running another application is using the same port (default: 8989) or the user has insufficient permissions") ;
Exit ( ExitCodes . RecoverableFailure ) ;
}
catch ( Exception ex )
@ -30,7 +30,7 @@ namespace NzbDrone.Core.HealthCheck.Checks
{
// Mono 5.0 still has issues in combination with libmediainfo, so disabling this check for now.
//_logger.Debug("Mono version 5.0.0 or higher and legacy TLS provider is selected, recommending user to switch to btls.");
//return new HealthCheck(GetType(), HealthCheckResult.Warning, " Son arr now supports Mono 5.x with btls enabled, consider removing MONO_TLS_PROVIDER=legacy option");
//return new HealthCheck(GetType(), HealthCheckResult.Warning, " Lid arr now supports Mono 5.x with btls enabled, consider removing MONO_TLS_PROVIDER=legacy option");
}
return new HealthCheck ( GetType ( ) ) ;
@ -64,7 +64,7 @@ namespace NzbDrone.Host
_serviceProvider . SetPermissions ( ServiceProvider . SERVICE_NAME ) ;
// Start the service and exit.
// Ensures that there isn't an instance of Son arr already running that the service account cannot stop.
// Ensures that there isn't an instance of Lid arr already running that the service account cannot stop.
_processProvider . SpawnNewProcess ( "sc.exe" , $"start {ServiceProvider.SERVICE_NAME}" , null , true ) ;
}
break ;