update saving of production locations

This commit is contained in:
Luke Pulverenti 2016-10-21 14:41:49 -04:00
parent 664f0441b0
commit 7f809108cc

View File

@ -295,6 +295,11 @@ namespace MediaBrowser.Api
item.OfficialRating = string.IsNullOrWhiteSpace(request.OfficialRating) ? null : request.OfficialRating;
item.CustomRating = request.CustomRating;
if (request.ProductionLocations != null)
{
item.ProductionLocations = request.ProductionLocations.ToList();
}
item.PreferredMetadataCountryCode = request.PreferredMetadataCountryCode;
item.PreferredMetadataLanguage = request.PreferredMetadataLanguage;