Fixed: MediaCovers Race condition which leads to fanart not being downloaded

Fixes #3350
pull/3388/head
Leonardo Galli 6 years ago
parent 58ae4417df
commit 4aec27890c

@ -23,7 +23,7 @@ namespace NzbDrone.Core.MediaCover
public class MediaCoverService :
IHandleAsync<MovieUpdatedEvent>,
IHandleAsync<MovieAddedEvent>,
//IHandleAsync<MovieAddedEvent>,
IHandleAsync<MovieDeletedEvent>,
IExecute<EnsureMediaCoversCommand>,
IMapCoversToLocal
@ -208,7 +208,7 @@ namespace NzbDrone.Core.MediaCover
public void HandleAsync(MovieAddedEvent message)
{
//EnsureCovers(message.Movie);
_commandQueue.Push(new EnsureMediaCoversCommand(message.Movie.Id));
//_commandQueue.Push(new EnsureMediaCoversCommand(message.Movie.Id));
//_eventAggregator.PublishEvent(new MediaCoversUpdatedEvent(message.Movie));
}

Loading…
Cancel
Save