diff --git a/MediaBrowser.Providers/ImageFromMediaLocationProvider.cs b/MediaBrowser.Providers/ImageFromMediaLocationProvider.cs index 160c171e35..cd9289fa16 100644 --- a/MediaBrowser.Providers/ImageFromMediaLocationProvider.cs +++ b/MediaBrowser.Providers/ImageFromMediaLocationProvider.cs @@ -157,6 +157,17 @@ namespace MediaBrowser.Providers GetImage(item, "cover") ?? GetImage(item, "default"); + // Look for a file with the same name as the item + if (image == null) + { + var name = Path.GetFileNameWithoutExtension(item.Path); + + if (!string.IsNullOrEmpty(name)) + { + image = GetImage(item, name); + } + } + if (image != null) { item.SetImage(ImageType.Primary, image.FullName);