Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Radarr/commit/b093be3f4e16ebd2dcbb286f57aca4ec74be0b6f
You should set ROOT_URL correctly, otherwise the web may not work correctly.
3 changed files with
51 additions and
0 deletions
@ -0,0 +1,48 @@
using System ;
using System.Collections.Generic ;
using System.Drawing ;
using System.Linq ;
using System.Runtime.InteropServices ;
using System.Text ;
using NzbDrone.Common.EnvironmentInfo ;
namespace NzbDrone.Core.MediaCover
{
public static class GdiPlusInterop
{
private static Exception _gdiPlusException ;
static GdiPlusInterop ( )
{
TestLibrary ( ) ;
}
private static void TestLibrary ( )
{
if ( OsInfo . IsWindows )
{
return ;
}
try
{
// We use StringFormat as test coz it gets properly cleaned up by the finalizer even if gdiplus is absent and is relatively non-invasive.
var strFormat = new StringFormat ( ) ;
strFormat . Dispose ( ) ;
}
catch ( Exception ex )
{
_gdiPlusException = ex ;
}
}
public static void CheckGdiPlus ( )
{
if ( _gdiPlusException ! = null )
{
throw new DllNotFoundException ( "Couldn't load GDIPlus library" , _gdiPlusException ) ;
}
}
}
}
@ -24,6 +24,8 @@ namespace NzbDrone.Core.MediaCover
{
try
{
GdiPlusInterop . CheckGdiPlus ( ) ;
using ( var sourceStream = _diskProvider . OpenReadStream ( source ) )
{
using ( var outputStream = _diskProvider . OpenWriteStream ( destination ) )
@ -686,6 +686,7 @@
<Compile Include= "Lifecycle\Commands\ShutdownCommand.cs" />
<Compile Include= "Lifecycle\LifecycleService.cs" />
<Compile Include= "MediaCover\CoverAlreadyExistsSpecification.cs" />
<Compile Include= "MediaCover\GdiPlusInterop.cs" />
<Compile Include= "MediaCover\MediaCover.cs" />
<Compile Include= "MediaCover\ImageResizer.cs" />
<Compile Include= "MediaCover\MediaCoverService.cs" />