aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Entities/Video.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2014-01-14 15:03:35 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2014-01-14 15:03:35 -0500
commitf4b890f163cd3be5b399ef03be409106ab8ff60b (patch)
tree5142c6f6772b39582922d637a94f5953db9b0158 /MediaBrowser.Controller/Entities/Video.cs
parent3cde2011904de6a874b17cab97fbc984ce62c228 (diff)
added new item by name filters
Diffstat (limited to 'MediaBrowser.Controller/Entities/Video.cs')
-rw-r--r--MediaBrowser.Controller/Entities/Video.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Controller/Entities/Video.cs b/MediaBrowser.Controller/Entities/Video.cs
index 8ca475650..e663c8353 100644
--- a/MediaBrowser.Controller/Entities/Video.cs
+++ b/MediaBrowser.Controller/Entities/Video.cs
@@ -268,7 +268,7 @@ namespace MediaBrowser.Controller.Entities
return LibraryManager.ResolvePaths<Video>(files, null).Select(video =>
{
// Try to retrieve it from the db. If we don't find it, use the resolved version
- var dbItem = LibraryManager.RetrieveItem(video.Id) as Video;
+ var dbItem = LibraryManager.GetItemById(video.Id) as Video;
if (dbItem != null)
{