1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

improve genre displays

This commit is contained in:
Luke Pulverenti 2016-08-13 16:54:29 -04:00
parent 685b06a0e1
commit eb9240a835
6 changed files with 90 additions and 41 deletions

View file

@ -4,6 +4,13 @@
var sections = [];
if (item.ArtistCount) {
sections.push({
name: Globalize.translate('TabArtists'),
type: 'MusicArtist'
});
}
if (item.MovieCount) {
sections.push({
@ -188,8 +195,25 @@
playFromHere: true,
showTitle: true,
showParentTitle: true,
centerText: true,
overlayPlayButton: true
coverImage: true,
cardLayout: true
});
break;
case 'MusicArtist':
loadItems(element, item, type, {
MediaTypes: "",
IncludeItemTypes: "MusicArtist",
PersonTypes: "",
ArtistIds: "",
Limit: 8
}, {
shape: "square",
playFromHere: true,
showTitle: true,
showParentTitle: true,
coverImage: true,
cardLayout: true
});
break;