mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
add favorite episodes
This commit is contained in:
parent
8dddfae300
commit
d02d29f33e
2 changed files with 11 additions and 6 deletions
|
@ -5,6 +5,7 @@
|
|||
return [
|
||||
{ name: "Favorite Movies", types: "Movie", id: "favoriteMovies", shape: 'backdrop', preferThumb: true, showTitle: false },
|
||||
{ name: "Favorite Shows", types: "Series", id: "favoriteShows", shape: 'backdrop', preferThumb: true, showTitle: false },
|
||||
{ name: "Favorite Episodes", types: "Episode", id: "favoriteEpisode", shape: 'backdrop', preferThumb: false, showTitle: true, showParentTitle: true },
|
||||
{ name: "Favorite Games", types: "Game", id: "favoriteGames", shape: 'auto', preferThumb: false, showTitle: true }
|
||||
];
|
||||
|
||||
|
@ -45,6 +46,7 @@
|
|||
overlayText: screenWidth >= 600,
|
||||
context: 'home-favorites',
|
||||
showTitle: section.showTitle,
|
||||
showParentTitle: section.showParentTitle,
|
||||
lazy: true
|
||||
});
|
||||
|
||||
|
|
|
@ -193,13 +193,14 @@
|
|||
shape: 'backdrop',
|
||||
showTitle: true,
|
||||
centerText: true,
|
||||
context: 'home'
|
||||
context: 'home',
|
||||
lazy: true
|
||||
});
|
||||
html += '</div>';
|
||||
}
|
||||
|
||||
|
||||
$(elem).html(html).createPosterItemMenus();
|
||||
$(elem).html(html).trigger('create').createPosterItemMenus();
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -222,13 +223,14 @@
|
|||
items: result.Items,
|
||||
shape: 'backdrop',
|
||||
showTitle: true,
|
||||
centerText: true
|
||||
centerText: true,
|
||||
lazy: true
|
||||
});
|
||||
html += '</div>';
|
||||
}
|
||||
|
||||
|
||||
$(elem).html(html).createPosterItemMenus();
|
||||
$(elem).html(html).trigger('create').createPosterItemMenus();
|
||||
|
||||
handleLibraryLinkNavigations(elem);
|
||||
});
|
||||
|
@ -265,12 +267,13 @@
|
|||
overlayText: screenWidth >= 600,
|
||||
showTitle: true,
|
||||
showParentTitle: true,
|
||||
context: 'home'
|
||||
context: 'home',
|
||||
lazy: true
|
||||
});
|
||||
html += '</div>';
|
||||
}
|
||||
|
||||
$(elem).html(html).createPosterItemMenus();
|
||||
$(elem).html(html).trigger('create').createPosterItemMenus();
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue