mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update channel db
This commit is contained in:
parent
abdf95b4d7
commit
519af58a6a
10 changed files with 91 additions and 60 deletions
|
@ -859,6 +859,8 @@
|
|||
|
||||
var html = '';
|
||||
|
||||
var scrollX = false;
|
||||
|
||||
if (item.Type == "MusicAlbum") {
|
||||
|
||||
html = LibraryBrowser.getListViewHtml({
|
||||
|
@ -874,9 +876,12 @@
|
|||
|
||||
}
|
||||
else if (item.Type == "Series") {
|
||||
|
||||
scrollX = enableScrollX();
|
||||
|
||||
html = LibraryBrowser.getPosterViewHtml({
|
||||
items: result.Items,
|
||||
shape: "detailPagePortrait",
|
||||
shape: getPortraitShape(),
|
||||
showTitle: false,
|
||||
centerText: true,
|
||||
context: context,
|
||||
|
@ -911,6 +916,12 @@
|
|||
elem.innerHTML = html;
|
||||
ImageLoader.lazyChildren(elem);
|
||||
|
||||
if (scrollX) {
|
||||
elem.classList.add('hiddenScrollX');
|
||||
} else {
|
||||
elem.classList.remove('hiddenScrollX');
|
||||
}
|
||||
|
||||
if (item.Type == "BoxSet") {
|
||||
|
||||
var collectionItemTypes = [
|
||||
|
|
|
@ -88,7 +88,8 @@
|
|||
items: result.Items,
|
||||
shape: "auto",
|
||||
centerText: true,
|
||||
lazy: true
|
||||
lazy: true,
|
||||
coverImage: item.Type == 'PhotoAlbum'
|
||||
};
|
||||
|
||||
if (view == "Backdrop") {
|
||||
|
|
|
@ -599,7 +599,10 @@
|
|||
|
||||
// This should be outside of the IF
|
||||
// But for now, if you change songs but keep the same artist, the backdrop will flicker because in-between songs it clears out the image
|
||||
Backdrops.setBackdropUrl(page, backdropUrl);
|
||||
if (!$.browser.safari) {
|
||||
// Exclude from safari because it just doesn't perform well
|
||||
Backdrops.setBackdropUrl(page, backdropUrl);
|
||||
}
|
||||
|
||||
ApiClient.getItem(Dashboard.getCurrentUserId(), item.Id).done(function (fullItem) {
|
||||
page.querySelector('.nowPlayingPageUserDataButtons').innerHTML = LibraryBrowser.getUserDataIconsHtml(fullItem, false);
|
||||
|
|
|
@ -387,7 +387,11 @@
|
|||
|
||||
Dashboard.getCurrentUser().done(function (user) {
|
||||
|
||||
$('.categorySyncButton', page).visible(user.Policy.EnableSync);
|
||||
var item = {
|
||||
SupportsSync: true
|
||||
};
|
||||
|
||||
$('.categorySyncButton', page).visible(isAvailable(item));
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue