Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Lidarr/commit/803c2dd66b97806a28a3ec93a9924c52bbb4906c
You should set ROOT_URL correctly, otherwise the web may not work correctly.
2 changed files with
4 additions and
6 deletions
@ -163,7 +163,7 @@ namespace NzbDrone.Core.ImportLists
private void ProcessAlbumReport ( ImportListDefinition importList , ImportListItemInfo report , Dictionary < string , ImportListExclusion > listExclusions , List < Album > albumsToAdd , List < Artist > artistsToAdd )
{
if ( report . AlbumMusicBrainzId = = null | | report . ArtistMusicBrainzId = = null )
if ( report . AlbumMusicBrainzId . IsNullOrWhiteSpace ( ) | | report . ArtistMusicBrainzId . IsNullOrWhiteSpace ( ) )
{
return ;
}
@ -267,7 +267,7 @@ namespace NzbDrone.Core.ImportLists
private Artist ProcessArtistReport ( ImportListDefinition importList , ImportListItemInfo report , Dictionary < string , ImportListExclusion > listExclusions , List < Artist > artistsToAdd )
{
if ( report . ArtistMusicBrainzId = = null )
if ( report . ArtistMusicBrainzId . IsNullOrWhiteSpace ( ) )
{
return null ;
}
@ -47,11 +47,9 @@ namespace NzbDrone.Core.Music
public Artist FindById ( string foreignArtistId )
{
Artist artist ;
var artist = Query ( Builder ( ) . Where < ArtistMetadata > ( m = > m . ForeignArtistId = = foreignArtistId ) ) . SingleOrDefault ( ) ;
artist = Query ( Builder ( ) . Where < ArtistMetadata > ( m = > m . ForeignArtistId = = foreignArtistId ) ) . SingleOrDefault ( ) ;
if ( artist = = null )
if ( artist = = null & & foreignArtistId . IsNotNullOrWhiteSpace ( ) )
{
artist = Query ( Builder ( ) . Where < ArtistMetadata > ( x = > x . OldForeignArtistIds . Contains ( foreignArtistId ) ) ) . SingleOrDefault ( ) ;
}