Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/recyclarr/commit/4f8d76a62a405b7fc69bbe53a2defd58a5b0eb56
You should set ROOT_URL correctly, otherwise the web may not work correctly.
2 changed files with
6 additions and
7 deletions
@ -56,12 +56,6 @@ internal class ReleaseProfileUpdater : IReleaseProfileUpdater
private async Task DoVersionEnforcement ( )
{
// _compatibility.Capabilities
// .Where(x => !x.SupportsNamedReleaseProfiles)
// .Subscribe(x => throw new VersionException(
// $"Your Sonarr version {x.Version} does not meet the minimum " +
// $"required version of {_compatibility.MinimumVersion} to use this program"));
var capabilities = await _compatibility . Capabilities . LastAsync ( ) ;
if ( ! capabilities . SupportsNamedReleaseProfiles )
{
@ -2,14 +2,18 @@ using System;
using System.Reactive.Concurrency ;
using System.Reactive.Linq ;
using Flurl.Http ;
using Serilog ;
using TrashLib.Config.Services ;
namespace TrashLib.Sonarr ;
public class SonarrCompatibility : ISonarrCompatibility
{
public SonarrCompatibility ( IServerInfo serverInfo )
private readonly ILogger _log ;
public SonarrCompatibility ( IServerInfo serverInfo , ILogger log )
{
_log = log ;
Capabilities = Observable . FromAsync (
async ( ) = > await serverInfo . BuildRequest ( )
. AppendPathSegment ( "system/status" )
@ -26,6 +30,7 @@ public class SonarrCompatibility : ISonarrCompatibility
private SonarrCapabilities BuildCapabilitiesObject ( Version version )
{
_log . Debug ( "Sonarr Version: {Version}" , version ) ;
return new SonarrCapabilities ( version )
{
SupportsNamedReleaseProfiles =