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

source music genre images from library content

This commit is contained in:
Luke Pulverenti 2016-07-23 01:44:46 -04:00
parent 2a73b0ff0b
commit 6cbf994f36

View file

@ -19,7 +19,7 @@
Fields: "DateCreated,SyncInfo,ItemCounts",
StartIndex: 0
},
view: libraryBrowser.getSavedView(key) || libraryBrowser.getDefaultItemsView('Thumb', 'Thumb')
view: libraryBrowser.getSavedView(key) || libraryBrowser.getDefaultItemsView('PosterCard', 'PosterCard')
};
pageData.query.ParentId = params.topParentId;
@ -65,7 +65,8 @@
showItemCounts: true,
centerText: true,
lazy: true,
overlayMoreButton: true
overlayMoreButton: true,
showTitle: true
});
}
else if (viewStyle == "ThumbCard") {
@ -84,7 +85,7 @@
else if (viewStyle == "PosterCard") {
html = libraryBrowser.getPosterViewHtml({
items: result.Items,
shape: "portrait",
shape: "auto",
context: 'music',
showItemCounts: true,
lazy: true,
@ -95,12 +96,13 @@
else if (viewStyle == "Poster") {
html = libraryBrowser.getPosterViewHtml({
items: result.Items,
shape: "portrait",
shape: "auto",
context: 'music',
centerText: true,
showItemCounts: true,
lazy: true,
overlayMoreButton: true
overlayMoreButton: true,
showTitle: true
});
}