allow dynamic images for unset content type

This commit is contained in:
Luke Pulverenti 2016-05-03 22:29:24 -04:00
parent 20aa8ec75b
commit 4c9406bfa6
2 changed files with 3 additions and 2 deletions

View File

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

View File

@ -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);