1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2025-01-31 20:03:06 +00:00

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

Fixes #3350
This commit is contained in:
Leonardo Galli 2019-02-24 19:54:02 +01:00
parent 58ae4417df
commit 4aec27890c

View file

@ -23,7 +23,7 @@ public interface IMapCoversToLocal
public class MediaCoverService :
IHandleAsync<MovieUpdatedEvent>,
IHandleAsync<MovieAddedEvent>,
//IHandleAsync<MovieAddedEvent>,
IHandleAsync<MovieDeletedEvent>,
IExecute<EnsureMediaCoversCommand>,
IMapCoversToLocal
@ -208,7 +208,7 @@ public void HandleAsync(MovieUpdatedEvent message)
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));
}