add folders page, hevc 4k support

This commit is contained in:
2026-06-04 23:52:30 +03:00
parent 5814714e6a
commit cc01004b49
7 changed files with 153 additions and 4 deletions
+2
View File
@@ -33,6 +33,7 @@ const TOP_LEVEL_PATHS = new Set([
'/',
'/movies',
'/shows',
'/folders',
'/playlists',
'/music',
'/search',
@@ -44,6 +45,7 @@ function pageTitleFor(pathname: string): string {
if (pathname === '/') return 'Home'
if (pathname === '/movies') return 'Movies'
if (pathname === '/shows') return 'TV Shows'
if (pathname === '/folders') return 'Folders'
if (pathname === '/playlists') return 'Playlists'
if (pathname === '/music') return 'Music'
if (pathname === '/search') return 'Search'
+2
View File
@@ -16,6 +16,7 @@ import {
Activity,
Radio,
Download,
Folders,
} from '../../lib/icons'
import type { AuthState } from '../../api/types'
import AppHeader from './AppHeader'
@@ -54,6 +55,7 @@ const NAV_SECTIONS: NavSection[] = [
{ to: '/', icon: Home, label: 'Home' },
{ to: '/movies', icon: Film, label: 'Movies' },
{ to: '/shows', icon: Tv, label: 'Shows' },
{ to: '/folders', icon: Folders, label: 'Folders' },
{ to: '/playlists', icon: Playlists, label: 'Playlists' },
{ to: '/live', icon: Radio, label: 'Live TV' },
{ to: '/requests', icon: Database, label: 'Requests' },