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:
parent
2a73b0ff0b
commit
6cbf994f36
1 changed files with 7 additions and 5 deletions
|
@ -19,7 +19,7 @@
|
||||||
Fields: "DateCreated,SyncInfo,ItemCounts",
|
Fields: "DateCreated,SyncInfo,ItemCounts",
|
||||||
StartIndex: 0
|
StartIndex: 0
|
||||||
},
|
},
|
||||||
view: libraryBrowser.getSavedView(key) || libraryBrowser.getDefaultItemsView('Thumb', 'Thumb')
|
view: libraryBrowser.getSavedView(key) || libraryBrowser.getDefaultItemsView('PosterCard', 'PosterCard')
|
||||||
};
|
};
|
||||||
|
|
||||||
pageData.query.ParentId = params.topParentId;
|
pageData.query.ParentId = params.topParentId;
|
||||||
|
@ -65,7 +65,8 @@
|
||||||
showItemCounts: true,
|
showItemCounts: true,
|
||||||
centerText: true,
|
centerText: true,
|
||||||
lazy: true,
|
lazy: true,
|
||||||
overlayMoreButton: true
|
overlayMoreButton: true,
|
||||||
|
showTitle: true
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
else if (viewStyle == "ThumbCard") {
|
else if (viewStyle == "ThumbCard") {
|
||||||
|
@ -84,7 +85,7 @@
|
||||||
else if (viewStyle == "PosterCard") {
|
else if (viewStyle == "PosterCard") {
|
||||||
html = libraryBrowser.getPosterViewHtml({
|
html = libraryBrowser.getPosterViewHtml({
|
||||||
items: result.Items,
|
items: result.Items,
|
||||||
shape: "portrait",
|
shape: "auto",
|
||||||
context: 'music',
|
context: 'music',
|
||||||
showItemCounts: true,
|
showItemCounts: true,
|
||||||
lazy: true,
|
lazy: true,
|
||||||
|
@ -95,12 +96,13 @@
|
||||||
else if (viewStyle == "Poster") {
|
else if (viewStyle == "Poster") {
|
||||||
html = libraryBrowser.getPosterViewHtml({
|
html = libraryBrowser.getPosterViewHtml({
|
||||||
items: result.Items,
|
items: result.Items,
|
||||||
shape: "portrait",
|
shape: "auto",
|
||||||
context: 'music',
|
context: 'music',
|
||||||
centerText: true,
|
centerText: true,
|
||||||
showItemCounts: true,
|
showItemCounts: true,
|
||||||
lazy: true,
|
lazy: true,
|
||||||
overlayMoreButton: true
|
overlayMoreButton: true,
|
||||||
|
showTitle: true
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue