Fixed: Set remote album ID so we don't always think album updated

This commit is contained in:
ta264 2019-08-01 22:22:28 +01:00
commit c898a18d31
2 changed files with 2 additions and 0 deletions

View file

@ -95,6 +95,7 @@ namespace NzbDrone.Core.Music
} }
result.Entity = tuple.Item2; result.Entity = tuple.Item2;
result.Entity.Id = local.Id;
result.Metadata = tuple.Item3; result.Metadata = tuple.Item3;
return result; return result;
} }

View file

@ -308,6 +308,7 @@ namespace NzbDrone.Core.Music
try try
{ {
updated = RefreshEntityInfo(artist, null, true, false); updated = RefreshEntityInfo(artist, null, true, false);
_logger.Trace($"Artist {artist} updated: {updated}");
RescanArtist(artist, isNew, trigger, updated); RescanArtist(artist, isNew, trigger, updated);
} }
catch (Exception e) catch (Exception e)