1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-04 10:02:40 +01: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));
}