Remote: favorites/history, seek, clear queue, paste YouTube link #28
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/remote-library-seek-clear"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Four Remote features for party use. Merge with a merge commit (each commit carries its own
Vi:trailer).toggleFavoritecommand and alibraryWS message (favorites + history, sent after the firststateand only when either list changes). New Library tab with Favorites/History toggle; heart button on search results, library rows and the now-playing bar.seekcommand (positionMsabsolute ordeltaMsrelative, clamped to[0, duration-1s], no-op without a song). Remote gets a draggable seek slider and -10s/+10s buttons; on the TV, Left/Right seek 10 s while the player overlay is hidden, with a short position indicator.clearQueuecommand; "Clear all" button in the Queue tab with a centered confirmation dialog. Current song is not affected. (Shuffle intentionally dropped.)GET /api/video?id=(400bad_video_id, 502video_failed); the search box recognizes watch / youtu.be / shorts / embed / live links and shows that single video.Docs:
docs/protocol.md,CONTEXT.md. Mock server updated.Testing:
./gradlew testDebugUnitTest(62 tests, new cases for parsing, store and server),pnpm -C remote typecheckandbuild. Remote UI checked at 360px against the mock. Not verified on the TV box.Not included:
/api/videodoes not pre-fill the stream cache (it caches resolved stream URLs, notStreamInfo).