1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2024-12-21 23:42:23 +00:00

Fixed: Refreshing movie genres

This commit is contained in:
Bogdan 2024-12-12 21:58:54 +02:00
parent 7b9562bb38
commit 6c47ede76b
2 changed files with 1 additions and 3 deletions

View file

@ -275,7 +275,6 @@ public MovieMetadata MapMovie(MovieResource resource)
movie.Genres = resource.Genres;
movie.Images = resource.Images.Select(MapImage).ToList();
// movie.Genres = resource.Genres;
movie.Recommendations = resource.Recommendations?.Select(r => r.TmdbId).ToList() ?? new List<int>();
// Workaround due to metadata change until cache cleans up

View file

@ -117,8 +117,7 @@ private Movie RefreshMovieInfo(int movieId)
movieMetadata.LastInfoSync = DateTime.UtcNow;
movieMetadata.Runtime = movieInfo.Runtime;
movieMetadata.Ratings = movieInfo.Ratings;
// movie.Genres = movieInfo.Genres;
movieMetadata.Genres = movieInfo.Genres;
movieMetadata.Certification = movieInfo.Certification;
movieMetadata.InCinemas = movieInfo.InCinemas;
movieMetadata.Website = movieInfo.Website;