Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Readarr/commit/5fb2c61c776867efa573cf58dcd02640e54a590e
You should set ROOT_URL correctly, otherwise the web may not work correctly.
4 changed files with
27 additions and
18 deletions
@ -51,6 +51,7 @@ namespace NzbDrone.Core.Test
var ep = mocker . Resolve < EpisodeProvider > ( ) . GetEpisodesByParseResult ( parseResult ) ;
ep . Should ( ) . HaveCount ( 1 ) ;
parseResult . EpisodeTitle . Should ( ) . Be ( fakeEpisode . Title ) ;
ep . First ( ) . ShouldHave ( ) . AllPropertiesBut ( e = > e . Series ) ;
}
@ -138,6 +139,7 @@ namespace NzbDrone.Core.Test
ep . Should ( ) . HaveCount ( 2 ) ;
db . Fetch < Episode > ( ) . Should ( ) . HaveCount ( 2 ) ;
ep . First ( ) . ShouldHave ( ) . AllPropertiesBut ( e = > e . Series ) ;
parseResult . EpisodeTitle . Should ( ) . Be ( fakeEpisode . Title ) ;
}
[Test]
@ -355,16 +355,19 @@ namespace PetaPoco
// Open a connection (can be nested)
public void OpenSharedConnection ( )
{
if ( _sharedConnectionDepth = = 0 )
using ( MvcMiniProfiler . MiniProfiler . StepStatic ( "OpenSharedConnection" ) )
{
_sharedConnection = _factory . CreateConnection ( ) ;
_sharedConnection . ConnectionString = _connectionString ;
_sharedConnection . Open ( ) ;
if ( _sharedConnectionDepth = = 0 )
{
_sharedConnection = _factory . CreateConnection ( ) ;
_sharedConnection . ConnectionString = _connectionString ;
_sharedConnection . Open ( ) ;
if ( KeepConnectionAlive )
_sharedConnectionDepth + + ; // Make sure you call Dispose
if ( KeepConnectionAlive )
_sharedConnectionDepth + + ; // Make sure you call Dispose
}
_sharedConnectionDepth + + ;
}
_sharedConnectionDepth + + ;
}
/// <summary>
@ -137,6 +137,7 @@ namespace NzbDrone.Core.Providers
if ( episodeInfo ! = null )
{
result . Add ( episodeInfo ) ;
parseResult . EpisodeTitle = episodeInfo . Title ;
}
else
{
@ -34,18 +34,21 @@ namespace NzbDrone
#if DEBUG
Attach ( ) ;
# endif
try
if ( Environment . UserInteractive )
{
Logger . Info ( "Starting default browser. {0}" , IISController . AppUrl ) ;
Process . Start ( IISController . AppUrl ) ;
}
catch ( Exception e )
{
Logger . ErrorException ( "Failed to open URL in default browser." , e ) ;
}
while ( true )
{
Console . ReadLine ( ) ;
try
{
Logger . Info ( "Starting default browser. {0}" , IISController . AppUrl ) ;
Process . Start ( IISController . AppUrl ) ;
}
catch ( Exception e )
{
Logger . ErrorException ( "Failed to open URL in default browser." , e ) ;
}
while ( true )
{
Console . ReadLine ( ) ;
}
}
}
catch ( Exception e )