aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/Library/ResolverHelper.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2015-01-20 15:19:54 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2015-01-20 15:19:54 -0500
commit449485d3d2044185f16af3e7dc185ff86a0ed72b (patch)
tree5af35cb947372bc56267ed25888fb0bb0cc5ebc8 /MediaBrowser.Server.Implementations/Library/ResolverHelper.cs
parent1d5f1bc474c3d685e04f409b956ccc431cd05ee5 (diff)
add organize now/sync prepare buttons
Diffstat (limited to 'MediaBrowser.Server.Implementations/Library/ResolverHelper.cs')
-rw-r--r--MediaBrowser.Server.Implementations/Library/ResolverHelper.cs12
1 files changed, 0 insertions, 12 deletions
diff --git a/MediaBrowser.Server.Implementations/Library/ResolverHelper.cs b/MediaBrowser.Server.Implementations/Library/ResolverHelper.cs
index 03e28d7ba..b6a93408a 100644
--- a/MediaBrowser.Server.Implementations/Library/ResolverHelper.cs
+++ b/MediaBrowser.Server.Implementations/Library/ResolverHelper.cs
@@ -39,12 +39,6 @@ namespace MediaBrowser.Server.Implementations.Library
item.Id = libraryManager.GetNewItemId(item.Path, item.GetType());
- // If the resolver didn't specify this
- if (string.IsNullOrEmpty(item.DisplayMediaType))
- {
- item.DisplayMediaType = item.GetType().Name;
- }
-
item.IsLocked = item.Path.IndexOf("[dontfetchmeta]", StringComparison.OrdinalIgnoreCase) != -1 ||
item.Parents.Any(i => i.IsLocked);
@@ -79,12 +73,6 @@ namespace MediaBrowser.Server.Implementations.Library
item.Id = libraryManager.GetNewItemId(item.Path, item.GetType());
- // If the resolver didn't specify this
- if (string.IsNullOrEmpty(item.DisplayMediaType))
- {
- item.DisplayMediaType = item.GetType().Name;
- }
-
// Make sure the item has a name
EnsureName(item, args.FileInfo);