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

Add Homevideos View

This commit is contained in:
grafixeyehero 2024-05-29 03:32:53 +03:00
parent ef6bbc8212
commit fd420a457f
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'];