feat(remote): remote control page for another Jellyfin client

- device list with live sessions, now-playing poster, metadata and overview
- five round transport buttons, seek bar, subtitles menu, volume, quality and fullscreen
- cover-derived wall colour, app accent and a compact service bar
- reachable from the app bar, the drawer and the audio player menu
This commit is contained in:
1xDed committed 2026-12-01 02:48:28 +03:00
1 parent 9f314582c0
commit e93de2beea
5 files changed
+1289 -3

No files matched your search

+21
View File
@@ -12,6 +12,7 @@ import { Route as rootRouteImport } from './routes/__root'
import { Route as IndexRouteImport } from './routes/index'
import { Route as ApiRouteImport } from './routes/_api'
import { Route as ApiLoginRouteImport } from './routes/_api/login'
import { Route as ApiRemoteRouteImport } from './routes/_api/remote'
import { Route as ApiSettingsRouteImport } from './routes/_api/settings'
import { Route as ErrorCodeRouteImport } from './routes/error/$code'
import { Route as ApiFavoriteIndexRouteImport } from './routes/_api/favorite/index'
@@ -49,6 +50,11 @@ const ApiLoginRoute = ApiLoginRouteImport.update({
path: '/login',
getParentRoute: () => ApiRoute,
} as any)
const ApiRemoteRoute = ApiRemoteRouteImport.update({
id: '/remote',
path: '/remote',
getParentRoute: () => ApiRoute,
} as any)
const ApiSettingsRoute = ApiSettingsRouteImport.update({
id: '/settings',
path: '/settings',
@@ -164,6 +170,7 @@ const ApiSettingsChangeServerIndexRoute =
export interface FileRoutesByFullPath {
'/': typeof IndexRoute
'/login': typeof ApiLoginRouteWithChildren
'/remote': typeof ApiRemoteRoute
'/settings': typeof ApiSettingsRouteWithChildren
'/error/$code': typeof ErrorCodeRoute
'/item/$id': typeof ApiItemIdRoute
@@ -190,6 +197,7 @@ export interface FileRoutesByFullPath {
export interface FileRoutesByTo {
'/': typeof IndexRoute
'/login': typeof ApiLoginRouteWithChildren
'/remote': typeof ApiRemoteRoute
'/settings': typeof ApiSettingsRouteWithChildren
'/error/$code': typeof ErrorCodeRoute
'/item/$id': typeof ApiItemIdRoute
@@ -218,6 +226,7 @@ export interface FileRoutesById {
'/': typeof IndexRoute
'/_api': typeof ApiRouteWithChildren
'/_api/login': typeof ApiLoginRouteWithChildren
'/_api/remote': typeof ApiRemoteRoute
'/_api/settings': typeof ApiSettingsRouteWithChildren
'/error/$code': typeof ErrorCodeRoute
'/_api/item/$id': typeof ApiItemIdRoute
@@ -246,6 +255,7 @@ export interface FileRouteTypes {
fullPaths:
| '/'
| '/login'
| '/remote'
| '/settings'
| '/error/$code'
| '/item/$id'
@@ -272,6 +282,7 @@ export interface FileRouteTypes {
to:
| '/'
| '/login'
| '/remote'
| '/settings'
| '/error/$code'
| '/item/$id'
@@ -299,6 +310,7 @@ export interface FileRouteTypes {
| '/'
| '/_api'
| '/_api/login'
| '/_api/remote'
| '/_api/settings'
| '/error/$code'
| '/_api/item/$id'
@@ -355,6 +367,13 @@ declare module '@tanstack/react-router' {
preLoaderRoute: typeof ApiLoginRouteImport
parentRoute: typeof ApiRoute
}
'/_api/remote': {
id: '/_api/remote'
path: '/remote'
fullPath: '/remote'
preLoaderRoute: typeof ApiRemoteRouteImport
parentRoute: typeof ApiRoute
}
'/_api/settings': {
id: '/_api/settings'
path: '/settings'
@@ -546,6 +565,7 @@ const ApiSettingsRouteWithChildren = ApiSettingsRoute._addFileChildren(
interface ApiRouteChildren {
ApiLoginRoute: typeof ApiLoginRouteWithChildren
ApiRemoteRoute: typeof ApiRemoteRoute
ApiSettingsRoute: typeof ApiSettingsRouteWithChildren
ApiItemIdRoute: typeof ApiItemIdRoute
ApiLibraryIdRoute: typeof ApiLibraryIdRoute
@@ -562,6 +582,7 @@ interface ApiRouteChildren {
const ApiRouteChildren: ApiRouteChildren = {
ApiLoginRoute: ApiLoginRouteWithChildren,
ApiRemoteRoute: ApiRemoteRoute,
ApiSettingsRoute: ApiSettingsRouteWithChildren,
ApiItemIdRoute: ApiItemIdRoute,
ApiLibraryIdRoute: ApiLibraryIdRoute,