Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Lidarr/commit/11c0f1dad26e10b2e88b253732f9e22f4850adca You should set ROOT_URL correctly, otherwise the web may not work correctly.

Fixed: Reinstate foreignArtistId for album lookup API

pull/742/head
ta264 6 years ago
parent 6a414cff14
commit 11c0f1dad2

@ -225,7 +225,13 @@ namespace NzbDrone.Core.MetadataSource.SkyHook
if (existingAlbum == null)
{
return new List<Album> { GetAlbumInfo(searchGuid.ToString()).Item2 };
var data = GetAlbumInfo(searchGuid.ToString());
var album = data.Item2;
album.Artist = _artistService.FindById(data.Item1) ?? new Artist {
Metadata = data.Item3.Single(x => x.ForeignArtistId == data.Item1)
};
return new List<Album> { album };
}
existingAlbum.Artist = _artistService.GetArtist(existingAlbum.ArtistId);

Loading…
Cancel
Save