allow dynamic images for unset content type

pull/702/head
Luke Pulverenti 8 years ago
parent 20aa8ec75b
commit 4c9406bfa6

@ -117,7 +117,7 @@ namespace MediaBrowser.Providers.Folders
}
if (string.IsNullOrWhiteSpace(viewType))
{
return urlPrefix + "generic.jpg";
//return urlPrefix + "generic.jpg";
}
return null;

@ -153,7 +153,8 @@ namespace MediaBrowser.Server.Implementations.UserViews
CollectionType.HomeVideos,
CollectionType.BoxSets,
CollectionType.Playlists,
CollectionType.Photos
CollectionType.Photos,
string.Empty
};
return collectionStripViewTypes.Contains(view.ViewType ?? string.Empty);

Loading…
Cancel
Save