1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Merge pull request #5622 from grafixeyehero/Add-homevideos-view

Add Home videos and Photos View
This commit is contained in:
Bill Thornton 2024-07-15 13:17:14 -04:00 committed by GitHub
commit 085e6e7f3d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 112 additions and 1 deletions

View file

@ -704,6 +704,14 @@ class AppRouter {
return url;
}
const layoutMode = localStorage.getItem('layout');
if (layoutMode === 'experimental' && item.CollectionType == CollectionType.Homevideos) {
url = '#/homevideos.html?topParentId=' + item.Id;
return url;
}
}
const itemTypes = ['Playlist', 'TvChannel', 'Program', 'BoxSet', 'MusicAlbum', 'MusicGenre', 'Person', 'Recording', 'MusicArtist'];