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,13 +1,15 @@
|
|||
<div id="musicRecommendedPage" data-dom-cache="true" data-role="page" class="page libraryPage backdropPage pageWithAbsoluteTabs" data-backdroptype="musicartist">
|
||||
|
||||
<div class="libraryViewNav">
|
||||
<button class="pageTabButton is-active" data-index="0">${TabSuggestions}</button>
|
||||
<button class="pageTabButton" data-index="1">${TabAlbums}</button>
|
||||
<button class="pageTabButton" data-index="2">${TabAlbumArtists}</button>
|
||||
<button class="pageTabButton" data-index="3">${TabArtists}</button>
|
||||
<button class="pageTabButton" data-index="4">${TabSongs}</button>
|
||||
<button class="pageTabButton" data-index="5">${TabGenres}</button>
|
||||
<button class="pageTabButton" data-index="6">${TabFolders}</button>
|
||||
<div class="contentScrollSlider">
|
||||
<button class="pageTabButton is-active" data-index="0">${TabSuggestions}</button>
|
||||
<button class="pageTabButton" data-index="1">${TabAlbums}</button>
|
||||
<button class="pageTabButton" data-index="2">${TabAlbumArtists}</button>
|
||||
<button class="pageTabButton" data-index="3">${TabArtists}</button>
|
||||
<button class="pageTabButton" data-index="4">${TabSongs}</button>
|
||||
<button class="pageTabButton" data-index="5">${TabGenres}</button>
|
||||
<button class="pageTabButton" data-index="6">${TabFolders}</button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="pageTabContent is-active pageTabContent ehsContent" id="suggestionsTab" data-index="0">
|
||||
<div class="homePageSection">
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
StartIndex: 0,
|
||||
Limit: pageSize
|
||||
},
|
||||
view: libraryBrowser.getSavedView(key) || libraryBrowser.getDefaultItemsView('Poster', 'Poster')
|
||||
view: libraryBrowser.getSavedView(key) || libraryBrowser.getDefaultItemsView('PosterCard', 'PosterCard')
|
||||
};
|
||||
|
||||
pageData.query.ParentId = params.topParentId;
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
EnableImageTypes: "Primary,Backdrop,Banner,Thumb",
|
||||
Limit: LibraryBrowser.getDefaultPageSize()
|
||||
},
|
||||
view: libraryBrowser.getSavedView(key) || libraryBrowser.getDefaultItemsView('Poster', 'Poster')
|
||||
view: libraryBrowser.getSavedView(key) || libraryBrowser.getDefaultItemsView('PosterCard', 'PosterCard')
|
||||
};
|
||||
|
||||
pageData.query.ParentId = params.topParentId;
|
||||
|
|
|
@ -1180,23 +1180,15 @@ var Dashboard = {
|
|||
}
|
||||
|
||||
if (browserInfo.mobile) {
|
||||
quality -= 15;
|
||||
quality -= 20;
|
||||
}
|
||||
|
||||
if (AppInfo.hasLowImageBandwidth) {
|
||||
|
||||
// The native app can handle a little bit more than safari
|
||||
if (AppInfo.isNativeApp) {
|
||||
if (!AppInfo.isNativeApp) {
|
||||
|
||||
if (isBackdrop) {
|
||||
quality -= 5;
|
||||
} else {
|
||||
quality -= 5;
|
||||
}
|
||||
|
||||
} else {
|
||||
|
||||
quality -= 25;
|
||||
quality -= 20;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue