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-30 01:31:46 -0400 |
| commit | 6b0a59c7dbc038b69788d7457e2a775682a40af6 (patch) | |
| tree | 3ef5ef40bf819ab5e198cdd7cc13b4810568e8ea | |
| parent | b7f949a90229f953252742f4054ca1f887a13519 (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 78aa5e165..2c2e599d4 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; |
