mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Merge pull request #6483 from theguymadmax/photo-favorites
Add photo albums, photos, & music videos to favorites section
This commit is contained in:
commit
78fb46808c
1 changed files with 25 additions and 0 deletions
|
@ -54,6 +54,15 @@ function getSections() {
|
|||
overlayPlayButton: true,
|
||||
overlayText: false,
|
||||
centerText: true
|
||||
}, {
|
||||
name: 'MusicVideos',
|
||||
types: 'MusicVideo',
|
||||
shape: getBackdropShape(enableScrollX()),
|
||||
preferThumb: true,
|
||||
showTitle: true,
|
||||
overlayPlayButton: true,
|
||||
overlayText: false,
|
||||
centerText: true
|
||||
}, {
|
||||
name: 'Collections',
|
||||
types: 'BoxSet',
|
||||
|
@ -135,6 +144,22 @@ function getSections() {
|
|||
overlayPlayButton: true,
|
||||
overlayText: false,
|
||||
centerText: true
|
||||
}, {
|
||||
name: 'HeaderPhotoAlbums',
|
||||
types: 'PhotoAlbum',
|
||||
shape: getBackdropShape(enableScrollX()),
|
||||
showTitle: true,
|
||||
overlayPlayButton: true,
|
||||
overlayText: false,
|
||||
centerText: true
|
||||
}, {
|
||||
name: 'Photos',
|
||||
types: 'Photo',
|
||||
shape: getBackdropShape(enableScrollX()),
|
||||
showTitle: true,
|
||||
overlayPlayButton: true,
|
||||
overlayText: false,
|
||||
centerText: true
|
||||
}];
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue