diff --git a/MediaBrowser.Providers/Folders/DefaultImageProvider.cs b/MediaBrowser.Providers/Folders/DefaultImageProvider.cs index 506e983c6..13e486ae9 100644 --- a/MediaBrowser.Providers/Folders/DefaultImageProvider.cs +++ b/MediaBrowser.Providers/Folders/DefaultImageProvider.cs @@ -77,11 +77,11 @@ namespace MediaBrowser.Providers.Folders if (string.Equals(viewType, CollectionType.Books, StringComparison.OrdinalIgnoreCase)) { - //return urlPrefix + "books.png"; + return urlPrefix + "books.png"; } if (string.Equals(viewType, CollectionType.Games, StringComparison.OrdinalIgnoreCase)) { - //return urlPrefix + "games.png"; + return urlPrefix + "games.png"; } if (string.Equals(viewType, CollectionType.Music, StringComparison.OrdinalIgnoreCase)) { @@ -97,7 +97,7 @@ namespace MediaBrowser.Providers.Folders } if (string.Equals(viewType, CollectionType.Channels, StringComparison.OrdinalIgnoreCase)) { - //return urlPrefix + "channels.png"; + return urlPrefix + "generic.png"; } if (string.Equals(viewType, CollectionType.LiveTv, StringComparison.OrdinalIgnoreCase)) { @@ -111,9 +111,24 @@ namespace MediaBrowser.Providers.Folders { return urlPrefix + "playlists.png"; } + if (string.Equals(viewType, CollectionType.HomeVideos, StringComparison.OrdinalIgnoreCase)) + { + return urlPrefix + "homevideos.png"; + } + if (string.Equals(viewType, CollectionType.MusicVideos, StringComparison.OrdinalIgnoreCase)) + { + return urlPrefix + "musicvideos.png"; + } + if (string.Equals(viewType, CollectionType.BoxSets, StringComparison.OrdinalIgnoreCase)) + { + return urlPrefix + "generic.png"; + } + if (string.IsNullOrWhiteSpace(viewType)) + { + return urlPrefix + "generic.png"; + } return null; - //return urlPrefix + "generic.png"; } public string Name diff --git a/MediaBrowser.Server.Implementations/UserViews/DynamicImageProvider.cs b/MediaBrowser.Server.Implementations/UserViews/DynamicImageProvider.cs index 844238228..8321ab952 100644 --- a/MediaBrowser.Server.Implementations/UserViews/DynamicImageProvider.cs +++ b/MediaBrowser.Server.Implementations/UserViews/DynamicImageProvider.cs @@ -147,15 +147,7 @@ namespace MediaBrowser.Server.Implementations.UserViews { CollectionType.Movies, CollectionType.TvShows, - CollectionType.Games, - CollectionType.Music, - CollectionType.BoxSets, - CollectionType.Channels, - CollectionType.Books, - CollectionType.Photos, - CollectionType.HomeVideos, - CollectionType.MusicVideos, - string.Empty + CollectionType.Music }; return collectionStripViewTypes.Contains(view.ViewType ?? string.Empty);