diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2016-10-21 14:41:49 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2016-10-21 14:41:49 -0400 |
| commit | 7f809108cc78fe276427d98ae23aa07194604d97 (patch) | |
| tree | f95d5a413af387ad67fbe3170f8a1306e65d7fb1 | |
| parent | 664f0441b07a01c7bfa428d79639c5c7412ee0e0 (diff) | |
update saving of production locations
| -rw-r--r-- | MediaBrowser.Api/ItemUpdateService.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/MediaBrowser.Api/ItemUpdateService.cs b/MediaBrowser.Api/ItemUpdateService.cs index 78aa5e1657..2c2e599d4d 100644 --- a/MediaBrowser.Api/ItemUpdateService.cs +++ b/MediaBrowser.Api/ItemUpdateService.cs @@ -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; |
