mirror of
https://github.com/narrrl/proton-stream.git
synced 2026-11-04 08:56:59 +01:00
feat(app,android,ios): swipe gestures, touch lock and sleep timer
On Android and iOS a swipe up or down on the left half of the picture sets the brightness and on the right half the volume; a sideways swipe seeks, showing where it will land and seeking only when the finger lifts. Swipes that start at the top or bottom edge are left to the system. Android turns the device's media volume; iOS lets no app do that, so there the swipe turns the player's own, as its slider does. Brightness set by a swipe is handed back when the player goes. Lock touch, in the player's menu, makes the picture ignore touches and the back gesture; a tap brings up Unlock for a few seconds. The sleep timer pauses after 30 or 60 minutes, or stops at the end of the episode playing instead of going on to the next, with no up-next card. On the desktop it is a panel like the others, behind a moon button that shows what is left; on Android and iOS it lives with the player host, so it keeps running with the screen off.
This commit is contained in:
1 parent
cf8ee58f6b
commit
973a8f2749
11 files changed
+827
-25
No files matched your search
@@ -94,6 +94,8 @@ Each of these is the platform's doing, not a choice to diverge.
|
||||
runs inside a `NavigationStack`, and the title page is shown over the library
|
||||
by hand, so it keeps its slide in from the edge — Android's shared poster has
|
||||
no counterpart here.
|
||||
- **The volume swipe turns the player's own volume**, the one its slider sets.
|
||||
iOS lets no app set the device's media volume, which Android's swipe turns.
|
||||
- **Nothing is backed up**, as on Android (`allowBackup="false"`). The share
|
||||
secrets are this-device-only Keychain items, so a restored share list would
|
||||
arrive without them, and a restored `sync.json` would give two devices one sync
|
||||
|
||||
+9
-2
@@ -31,8 +31,15 @@ your Drive**. See [Account and sync](ACCOUNT_AND_SYNC.md).
|
||||
- Tap to show or hide the controls.
|
||||
- **Double-tap** the left or right third of the screen to go back or forward 10 seconds. Double-tap
|
||||
the middle to pause.
|
||||
- The menu has **Episodes**, **Chapters**, **Playback speed**, the audio and subtitle tracks, and
|
||||
**Lock to landscape**.
|
||||
- **Swipe** up and down on the left half for brightness and on the right half for volume. Swipe
|
||||
sideways to seek: the bubble shows where you will land, and the seek happens when you let go.
|
||||
Swipes that start at the very top or bottom of the screen are left to the system.
|
||||
- The menu has **Episodes**, **Chapters**, **Playback speed**, the audio and subtitle tracks,
|
||||
**Lock to landscape**, **Sleep timer** and **Lock touch**.
|
||||
- **Sleep timer** pauses after 30 or 60 minutes, or stops at the end of this episode instead of
|
||||
going on to the next. It keeps running with the screen off.
|
||||
- **Lock touch** makes the picture ignore touches, for a phone in a pocket or a child's hands. Tap
|
||||
to bring up **Unlock**.
|
||||
- **Skip opening** and **Skip ending** work as on the desktop, AniSkip included: see
|
||||
[The player](USER_GUIDE.md#the-player).
|
||||
- Sound keeps playing with the screen off or the app in the background, with controls on the lock
|
||||
|
||||
+5
-2
@@ -140,12 +140,15 @@ The picture plays inside the app's window. Move the mouse to show the controls.
|
||||
credits** in Settings to skip them without asking.
|
||||
- **Up next** counts down 10 seconds when the credits start, then plays the next episode. Choose
|
||||
**Play now**, **Cancel** or **Watch till the end**.
|
||||
- **Subtitles and audio**, **Speed** and **Chapters** are buttons at the bottom right. Each opens
|
||||
a panel down the right of the picture; click the button again, or press Esc, to close it.
|
||||
- **Subtitles and audio**, **Speed**, **Chapters** and **Sleep timer** are buttons at the bottom
|
||||
right. Each opens a panel down the right of the picture; click the button again, or press Esc,
|
||||
to close it.
|
||||
- **Subtitles and audio** remembers your choice for each show. The panel also has **Size** and
|
||||
**Position**, which are saved like the ones in Settings and change styled subtitles only when
|
||||
they are restyled, and **Delay**, which moves subtitles earlier or later for this file only.
|
||||
- **Speed** goes from 0.5× to 3×, and stays for the next episode.
|
||||
- **Sleep timer**, the moon, pauses after 30 or 60 minutes, or stops at the end of this episode
|
||||
instead of going on to the next.
|
||||
- **Seeking and volume** show what they did in the middle of the picture. Several presses of ← or
|
||||
→ add up, so three presses of → say "+ 90 s".
|
||||
- **Paused** for 5 seconds with the mouse still, the picture dims and shows what you are watching:
|
||||
|
||||
Reference in new issue
Block a user