aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/ItemUpdateService.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2014-03-24 13:54:45 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2014-03-24 13:54:45 -0400
commita94a98dc6c1381c177a407139769e0cad566346b (patch)
treef572a431ab4a716f388a2a42ef8b243238130897 /MediaBrowser.Api/ItemUpdateService.cs
parent501dedb13cd59dc2683ac4192cd11289bd304cfb (diff)
apply codec profile conditions
Diffstat (limited to 'MediaBrowser.Api/ItemUpdateService.cs')
-rw-r--r--MediaBrowser.Api/ItemUpdateService.cs7
1 files changed, 1 insertions, 6 deletions
diff --git a/MediaBrowser.Api/ItemUpdateService.cs b/MediaBrowser.Api/ItemUpdateService.cs
index 1e9f2f7a2..8bc06b657 100644
--- a/MediaBrowser.Api/ItemUpdateService.cs
+++ b/MediaBrowser.Api/ItemUpdateService.cs
@@ -211,12 +211,7 @@ namespace MediaBrowser.Api
private void UpdateItem(BaseItemDto request, BaseItem item)
{
item.Name = request.Name;
-
- // Only set the forced value if they changed it, or there's already one
- if (!string.Equals(item.SortName, request.SortName) || !string.IsNullOrEmpty(item.ForcedSortName))
- {
- item.ForcedSortName = request.SortName;
- }
+ item.ForcedSortName = request.ForcedSortName;
var hasBudget = item as IHasBudget;
if (hasBudget != null)