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
8 changed files with 112 additions and 1 deletions
+8
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'];