1
0
Fork 0
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:
Bill Thornton 2025-02-17 11:03:21 -05:00 committed by GitHub
commit 78fb46808c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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
}];
}