aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Providers/ImagesByNameProvider.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Providers/ImagesByNameProvider.cs')
-rw-r--r--MediaBrowser.Providers/ImagesByNameProvider.cs7
1 files changed, 4 insertions, 3 deletions
diff --git a/MediaBrowser.Providers/ImagesByNameProvider.cs b/MediaBrowser.Providers/ImagesByNameProvider.cs
index 5904308234..8c5636580f 100644
--- a/MediaBrowser.Providers/ImagesByNameProvider.cs
+++ b/MediaBrowser.Providers/ImagesByNameProvider.cs
@@ -1,4 +1,5 @@
-using MediaBrowser.Common.IO;
+using System.Collections.Generic;
+using MediaBrowser.Common.IO;
using MediaBrowser.Controller.Configuration;
using MediaBrowser.Controller.Entities;
using MediaBrowser.Controller.Library;
@@ -69,9 +70,9 @@ namespace MediaBrowser.Providers
return GetImageFromLocation(location, filenameWithoutExtension);
}
- protected override Guid GetFileSystemStamp(BaseItem item)
+ protected override Guid GetFileSystemStamp(IEnumerable<BaseItem> items)
{
- var location = GetLocation(item);
+ var location = GetLocation(items.First());
try
{