1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-20 21:55:03 -04:00

Map properties returned from TMDB lists to avoid needing server re-mapping

This commit is contained in:
Qstick
2020-05-18 22:37:49 -04:00
parent 2bdd806565
commit 50f84101e0
10 changed files with 49 additions and 52 deletions
@@ -456,18 +456,6 @@ namespace NzbDrone.Core.MetadataSource.SkyHook
return newAlternativeTitle;
}
private static MovieCollection MapCollection(CollectionResource arg)
{
var newCollection = new MovieCollection
{
Name = arg.Name,
TmdbId = arg.TmdbId,
Images = arg.Images.Select(MapImage).ToList()
};
return newCollection;
}
private static Ratings MapRatings(RatingResource rating)
{
if (rating == null)