feat: release v0.1.3 with video favorites
This commit is contained in:
1 parent
e8cd96eb5e
commit
a9f38d7359
28 files changed
+1492
-50
No files matched your search
+3
-1
@@ -10,8 +10,10 @@ At a typical 960 × 540 dp TV viewport, the home screen has 38 dp horizontal and
|
||||
- Search: the header entry opens a separate screen while preserving Home. Confirm on the text field opens the system IME; its Search action, Enter, or the explicit search button submits. Typing alone never requests results. Down moves to the selected video/movie/bangumi filter, then into the four/five-column result grid. Results use the existing details/episode/player flow. Back first hides the keyboard, then returns from the grid to the selected filter, then closes search. Clear returns to the input. Closing clears the transient query and results; there is no search history.
|
||||
- Details: first episode receives focus after loading. Confirm starts playback. Multi-part videos and series have an episode grid. Back closes the dialog.
|
||||
- Login: QR code is generated locally with ZXing, not uploaded to a QR service. Refresh and close are D-pad targets. Closing cancels the parent-owned poll task. No password input is present.
|
||||
- Player: confirm or play/pause toggles playback; left/right seek ten seconds, with long press throttled to one step per 250 ms. Up reveals controls and focuses the top-right quality action; confirm opens its menu. Down returns focus to the video. Back exits playback directly. Both key-down and key-up are consumed so Android PlayerView cannot apply the same event twice. Controls remain visible when paused/end/error, while the quality action is focused or while its menu is open, and otherwise hide after four seconds during playback.
|
||||
- Favorites: a fourth tab, 「我的收藏」, appears only while logged in. A horizontal folder row sits above a four-column landscape grid. Confirm selects a folder or opens a video; Down from the tab scrolls the selected folder into view and focuses it. Back from videos returns to the selected folder, then to the tab. Folder changes reset the video scroll; pagination retains focus during loading and then focuses the first appended card. Empty folders, filtered pages, failed requests and accounts with no folders have explicit states.
|
||||
- Player: confirm or play/pause toggles playback; left/right seek ten seconds, with long press throttled to one step per 250 ms. Up reveals controls and focuses the top-right quality action; left/right then move between quality and favorites, and confirm opens the focused action. Down returns focus to the video. Back exits playback directly. Both key-down and key-up are consumed for playback commands so Android PlayerView cannot apply the same event twice. Controls remain visible when paused/end/error, while a top action is focused or its menu is open, and otherwise hide after four seconds during playback.
|
||||
- Quality menu: the current option is marked and receives focus, scrolling into view if necessary. Up/down navigate and confirm selects. Back/Close returns focus to the quality action. Only actual compatible tracks are shown; a single available option is explained. Changes briefly rebuffer at the same position and retain pause/play intent. An in-flight change disables duplicate selection; failure attempts the original quality once and reports recovery after it is ready. Choosing the current option closes without reloading. This is manual selection; each new video starts at the default quality and there is no automatic bitrate adaptation.
|
||||
- Favorite menu: the player's favorite action reads 「收藏」 or 「已收藏」; guests receive a login prompt. Existing memberships are checked, or the first folder is selected as a draft for a new video. Confirm toggles independent folder choices; Down from the final choice reaches Save. Only Save submits additions/removals, including removal from all folders. Saving disables duplicate choices/submission while Back/Close can dismiss. A failed or uncertain write requires Reload before another Save. Closing restores the favorite action after actual window focus returns. Folder creation/rename/deletion and season following are outside this screen's scope.
|
||||
- App backgrounding pauses the player; foregrounding resumes only if it was previously playing. Leaving the player releases Media3 and screen-on state.
|
||||
|
||||
Search remains composed beneath details and playback, with focus/clicks disabled while inactive. Returning restores the selected result and scroll position. Load more retains its focus during the request, then moves focus to the first appended result. If the final page adds no items, focus returns to the last result. Empty, error, risk-control and loading states do not use placeholder search results.
|
||||
|
||||
Reference in new issue
Block a user