mirror of
https://github.com/Radarr/Radarr.git
synced 2024-08-18 08:19:38 +02:00
Fixed: Update Images on MovieMetadata refresh
This commit is contained in:
parent
daf81c5b26
commit
df681d82be
@ -106,6 +106,7 @@ private Movie RefreshMovieInfo(int movieId)
|
|||||||
movieMetadata.ImdbId = movieInfo.ImdbId;
|
movieMetadata.ImdbId = movieInfo.ImdbId;
|
||||||
movieMetadata.Overview = movieInfo.Overview;
|
movieMetadata.Overview = movieInfo.Overview;
|
||||||
movieMetadata.Status = movieInfo.Status;
|
movieMetadata.Status = movieInfo.Status;
|
||||||
|
movieMetadata.Images = movieInfo.Images;
|
||||||
movieMetadata.CleanTitle = movieInfo.CleanTitle;
|
movieMetadata.CleanTitle = movieInfo.CleanTitle;
|
||||||
movieMetadata.SortTitle = movieInfo.SortTitle;
|
movieMetadata.SortTitle = movieInfo.SortTitle;
|
||||||
movieMetadata.LastInfoSync = DateTime.UtcNow;
|
movieMetadata.LastInfoSync = DateTime.UtcNow;
|
||||||
@ -153,6 +154,8 @@ private Movie RefreshMovieInfo(int movieId)
|
|||||||
_movieMetadataService.Upsert(movieMetadata);
|
_movieMetadataService.Upsert(movieMetadata);
|
||||||
_creditService.UpdateCredits(credits, movieMetadata);
|
_creditService.UpdateCredits(credits, movieMetadata);
|
||||||
|
|
||||||
|
movie.MovieMetadata = movieMetadata;
|
||||||
|
|
||||||
_logger.Debug("Finished movie metadata refresh for {0}", movieMetadata.Title);
|
_logger.Debug("Finished movie metadata refresh for {0}", movieMetadata.Title);
|
||||||
_eventAggregator.PublishEvent(new MovieUpdatedEvent(movie));
|
_eventAggregator.PublishEvent(new MovieUpdatedEvent(movie));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user