allow dynamic images for unset content type
This commit is contained in:
parent
20aa8ec75b
commit
4c9406bfa6
|
@ -117,7 +117,7 @@ namespace MediaBrowser.Providers.Folders
|
||||||
}
|
}
|
||||||
if (string.IsNullOrWhiteSpace(viewType))
|
if (string.IsNullOrWhiteSpace(viewType))
|
||||||
{
|
{
|
||||||
return urlPrefix + "generic.jpg";
|
//return urlPrefix + "generic.jpg";
|
||||||
}
|
}
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
|
|
|
@ -153,7 +153,8 @@ namespace MediaBrowser.Server.Implementations.UserViews
|
||||||
CollectionType.HomeVideos,
|
CollectionType.HomeVideos,
|
||||||
CollectionType.BoxSets,
|
CollectionType.BoxSets,
|
||||||
CollectionType.Playlists,
|
CollectionType.Playlists,
|
||||||
CollectionType.Photos
|
CollectionType.Photos,
|
||||||
|
string.Empty
|
||||||
};
|
};
|
||||||
|
|
||||||
return collectionStripViewTypes.Contains(view.ViewType ?? string.Empty);
|
return collectionStripViewTypes.Contains(view.ViewType ?? string.Empty);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user