mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update music tabs
This commit is contained in:
parent
c01a55384e
commit
4ea172b6c5
4 changed files with 14 additions and 20 deletions
|
@ -1,6 +1,7 @@
|
||||||
<div id="musicRecommendedPage" data-dom-cache="true" data-role="page" class="page libraryPage backdropPage pageWithAbsoluteTabs" data-backdroptype="musicartist">
|
<div id="musicRecommendedPage" data-dom-cache="true" data-role="page" class="page libraryPage backdropPage pageWithAbsoluteTabs" data-backdroptype="musicartist">
|
||||||
|
|
||||||
<div class="libraryViewNav">
|
<div class="libraryViewNav">
|
||||||
|
<div class="contentScrollSlider">
|
||||||
<button class="pageTabButton is-active" data-index="0">${TabSuggestions}</button>
|
<button class="pageTabButton is-active" data-index="0">${TabSuggestions}</button>
|
||||||
<button class="pageTabButton" data-index="1">${TabAlbums}</button>
|
<button class="pageTabButton" data-index="1">${TabAlbums}</button>
|
||||||
<button class="pageTabButton" data-index="2">${TabAlbumArtists}</button>
|
<button class="pageTabButton" data-index="2">${TabAlbumArtists}</button>
|
||||||
|
@ -9,6 +10,7 @@
|
||||||
<button class="pageTabButton" data-index="5">${TabGenres}</button>
|
<button class="pageTabButton" data-index="5">${TabGenres}</button>
|
||||||
<button class="pageTabButton" data-index="6">${TabFolders}</button>
|
<button class="pageTabButton" data-index="6">${TabFolders}</button>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
<div class="pageTabContent is-active pageTabContent ehsContent" id="suggestionsTab" data-index="0">
|
<div class="pageTabContent is-active pageTabContent ehsContent" id="suggestionsTab" data-index="0">
|
||||||
<div class="homePageSection">
|
<div class="homePageSection">
|
||||||
<h1 class="listHeader">${HeaderLatestMusic}</h1>
|
<h1 class="listHeader">${HeaderLatestMusic}</h1>
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
StartIndex: 0,
|
StartIndex: 0,
|
||||||
Limit: pageSize
|
Limit: pageSize
|
||||||
},
|
},
|
||||||
view: libraryBrowser.getSavedView(key) || libraryBrowser.getDefaultItemsView('Poster', 'Poster')
|
view: libraryBrowser.getSavedView(key) || libraryBrowser.getDefaultItemsView('PosterCard', 'PosterCard')
|
||||||
};
|
};
|
||||||
|
|
||||||
pageData.query.ParentId = params.topParentId;
|
pageData.query.ParentId = params.topParentId;
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
EnableImageTypes: "Primary,Backdrop,Banner,Thumb",
|
EnableImageTypes: "Primary,Backdrop,Banner,Thumb",
|
||||||
Limit: LibraryBrowser.getDefaultPageSize()
|
Limit: LibraryBrowser.getDefaultPageSize()
|
||||||
},
|
},
|
||||||
view: libraryBrowser.getSavedView(key) || libraryBrowser.getDefaultItemsView('Poster', 'Poster')
|
view: libraryBrowser.getSavedView(key) || libraryBrowser.getDefaultItemsView('PosterCard', 'PosterCard')
|
||||||
};
|
};
|
||||||
|
|
||||||
pageData.query.ParentId = params.topParentId;
|
pageData.query.ParentId = params.topParentId;
|
||||||
|
|
|
@ -1180,23 +1180,15 @@ var Dashboard = {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (browserInfo.mobile) {
|
if (browserInfo.mobile) {
|
||||||
quality -= 15;
|
quality -= 20;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (AppInfo.hasLowImageBandwidth) {
|
if (AppInfo.hasLowImageBandwidth) {
|
||||||
|
|
||||||
// The native app can handle a little bit more than safari
|
// The native app can handle a little bit more than safari
|
||||||
if (AppInfo.isNativeApp) {
|
if (!AppInfo.isNativeApp) {
|
||||||
|
|
||||||
if (isBackdrop) {
|
quality -= 20;
|
||||||
quality -= 5;
|
|
||||||
} else {
|
|
||||||
quality -= 5;
|
|
||||||
}
|
|
||||||
|
|
||||||
} else {
|
|
||||||
|
|
||||||
quality -= 25;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue