Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Lidarr/commit/640fcf3eaf6600fed9dce4819c93b27fefabfcc8
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
12 additions and
9 deletions
@ -68,22 +68,25 @@ namespace NzbDrone.Core.DecisionEngine
private int CompareProtocol ( DownloadDecision x , DownloadDecision y )
{
var result = CompareBy ( x . RemoteEpisode , y . RemoteEpisode , remoteEpisode = >
{
var delayProfile = _delayProfileService . BestForTags ( remoteEpisode . Series . Tags ) ;
var downloadProtocol = remoteEpisode . Release . DownloadProtocol ;
return downloadProtocol = = delayProfile . PreferredProtocol ;
} ) ;
if ( x . IsForMovie )
{
result = CompareBy ( x . RemoteMovie , y . RemoteMovie , remoteEpisode = >
return CompareBy ( x . RemoteMovie , y . RemoteMovie , remoteEpisode = >
{
var delayProfile = _delayProfileService . BestForTags ( remoteEpisode . Movie . Tags ) ;
var downloadProtocol = remoteEpisode . Release . DownloadProtocol ;
return downloadProtocol = = delayProfile . PreferredProtocol ;
} ) ;
}
var result = CompareBy ( x . RemoteEpisode , y . RemoteEpisode , remoteEpisode = >
{
var delayProfile = _delayProfileService . BestForTags ( remoteEpisode . Series . Tags ) ;
var downloadProtocol = remoteEpisode . Release . DownloadProtocol ;
return downloadProtocol = = delayProfile . PreferredProtocol ;
} ) ;
return result ;
}
@ -125,8 +128,8 @@ namespace NzbDrone.Core.DecisionEngine
private int CompareAgeIfUsenet ( DownloadDecision x , DownloadDecision y )
{
if ( x . Remote Episod e. Release . DownloadProtocol ! = DownloadProtocol . Usenet | |
y . Remote Episod e. Release . DownloadProtocol ! = DownloadProtocol . Usenet )
if ( x . Remote Movi e. Release . DownloadProtocol ! = DownloadProtocol . Usenet | |
y . Remote Movi e. Release . DownloadProtocol ! = DownloadProtocol . Usenet )
{
return 0 ;
}