mirror of
https://github.com/narrrl/proton-drive-linux.git
synced 2026-11-14 17:32:00 +01:00
feat(gui): play videos and music in the app
Opening a video or a song in My files, by a double-click or Open, now plays it in an in-app player window, streamed from the mount as before. Open With… is the way to another player, and the separate Play item is gone. A file GStreamer can't play shows the error with Open With…. Both that player and the Photos lightbox share the new widgets/player.rs: a fullscreen button, fullscreen on a double-click, Repeat in the ⋮ menu, K to play and pause, J/L or Shift+arrows to jump 10 seconds, M to mute, and a volume that carries over between videos. The lightbox's thumbnail strip stays off a video, where it covered the seek bar.
This commit is contained in:
1 parent
9132c7ebd5
commit
602f1c9577
19 files changed
+3966
-3338
No files matched your search
@@ -95,6 +95,15 @@ Existing folders stay device backups. Older builds cannot open the upgraded data
|
||||
- **Upload progress in Photos.** Uploading several photos at once shows "Uploading 3 of 12
|
||||
items…" with a progress bar above the timeline, instead of a single toast at the start.
|
||||
|
||||
- **Videos and music play in the app.** Opening a video or a song in My files, by a double-click
|
||||
or **Open**, plays it in a player window, streamed from the mount like before. **Open With…**
|
||||
still hands it to another player, and the separate **Play** item is gone. When the file can't
|
||||
be played (a codec GStreamer lacks), the window says so and offers **Open With…**. Both this
|
||||
player and the one in Photos gained a fullscreen button, fullscreen on a double-click,
|
||||
**Repeat** in the ⋮ menu, `K` to play and pause, `J` and `L` (or Shift+←/→) to jump
|
||||
10 seconds, and `M` to mute. The volume carries over from one video to the next, and the
|
||||
thumbnail strip in Photos stays off a video, where it covered the seek bar.
|
||||
|
||||
### Changed
|
||||
|
||||
- **`proton-sdk` and `proton-drive-rs` 0.11.0.** Timestamps are converted where they enter
|
||||
@@ -103,6 +112,10 @@ Existing folders stay device backups. Older builds cannot open the upgraded data
|
||||
|
||||
### Fixed
|
||||
|
||||
- **Photos zoomed all the way out shows the whole timeline.** The first 200 photos fit on one
|
||||
screen there, and with nothing to scroll no more were loaded. More now load whenever the photos
|
||||
don't fill the window, also after a zoom or a resize.
|
||||
|
||||
- **My files comes back after the service was killed for hanging** (B279). A killed service left
|
||||
its folders behind as dead mounts, and every restart then failed with `File exists` and retried
|
||||
forever without opening anything, until the mounts were cleared by hand. The service now clears
|
||||
|
||||
Reference in new issue
Block a user