Commit Graph

445 Commits

Author SHA1 Message Date
Rafał Dzięgiel
baa5053446 Reset hide controls timer when clicking corresponding button 2021-02-14 14:16:59 +01:00
Rafał Dzięgiel
91703cf7cf Hide both cursor and overlays with a single timer
Simplify hide controls logic code by using single timer to hide both cursor and video overlays at once
2021-02-14 14:07:38 +01:00
Rafał Dzięgiel
8064bab6a2 Remove old floating mode leftovers
Clapper has now much simpler floating mode. This overcomplicated code is not needed anymore.
2021-02-13 20:19:08 +01:00
Rafał Dzięgiel
892e8b55f3 Change floating mode icon
Floating mode now works entirely different then before (only controls gets hidden/revealed with animation). Change the used icon to better match this new behaviour.
2021-02-13 18:57:30 +01:00
Rafał Dzięgiel
662517163b Reduce amount of logic in controls unreveal tick 2021-02-13 18:20:17 +01:00
Rafał Dzięgiel
1d16d3e2ac Add OSD headerbar and transition to floating mode 2021-02-13 17:19:03 +01:00
Rafał Dzięgiel
bb8ae47a66 Enforce rounded corners only on Adwaita theme
Adwaita does not have rounded corners yet, but will have soon. Enforce rounded corners in the app only for Adwaita to avoid bumping min required GTK version.
2021-02-12 12:19:43 +01:00
Rafał Dzięgiel
46e8bef7b8 Use separate CSS class for TV mode 2021-02-12 11:49:34 +01:00
Rafał Dzięgiel
a597de5481 Swipe when fullscreen to seek or adjust volume 2021-02-10 23:11:46 +01:00
Rafał Dzięgiel
68faeca918 API: Disallow pause on very short streams (< 1 sec)
Fixes crash when trying to pause on DVD navigation
2021-02-10 17:03:11 +01:00
Rafał Dzięgiel
821c7f6537 Make hitting "Enter" resume playback position when asked 2021-02-10 12:31:29 +01:00
Rafał Dzięgiel
57a480389f Show GJS version in about dialog 2021-02-10 12:24:10 +01:00
Rafał Dzięgiel
3b7beac075 Major theme changes were done in GTK 4.0.2, not GTK 4.1 2021-02-09 20:49:07 +01:00
Rafał Dzięgiel
894384483b Merge pull request #41 from Rafostar/pinephone
Fix mobile devices transitions and detection
2021-02-09 18:52:28 +01:00
Rafał Dzięgiel
1ee0db1cbc Also do not save resume info for very long titles (random URIs) 2021-02-09 17:19:42 +01:00
Rafał Dzięgiel
1f0979d217 Update TODO.md 2021-02-09 13:52:52 +01:00
Rafał Dzięgiel
662a0ccd67 Flatpak: fix gst-plugins-good manifest 2021-02-09 13:21:11 +01:00
Rafał Dzięgiel
ddbf4d40e6 Merge pull request #40 from Rafostar/resume-playback
Resume playback
2021-02-09 12:49:32 +01:00
Rafał Dzięgiel
d5ab23d5c1 Reduce rounded corners radius 2021-02-09 12:45:22 +01:00
Rafał Dzięgiel
23ef3bb85f Optimize sliders for GTK 4.1 2021-02-09 12:40:11 +01:00
Rafał Dzięgiel
b472c23bf5 Fix volume scale border not turning red when overamp 2021-02-08 22:29:00 +01:00
Rafał Dzięgiel
d1f32955b8 Do not save resume info under certain conditions
Do not save when video is short, just started or almost finished
2021-02-08 22:16:49 +01:00
Rafał Dzięgiel
17f73bb222 Add resume last unfinished video setting to prefs 2021-02-08 21:53:22 +01:00
Rafał Dzięgiel
d952f37b0e Prevent saving unfinished video info when autoclosing 2021-02-08 21:30:52 +01:00
Rafał Dzięgiel
dfbb8b8d70 Ask to resume last unfinished video 2021-02-08 21:16:28 +01:00
Rafał Dzięgiel
15eeea2872 Save resume info of last unfinished video 2021-02-08 21:16:13 +01:00
Rafał Dzięgiel
84232f3c12 Prepare resume playback dialog 2021-02-08 19:22:27 +01:00
Rafał Dzięgiel
c2808e7d9a Update position slider right after seek is done 2021-02-08 18:50:29 +01:00
Rafał Dzięgiel
5dbcb53385 Lower the priority of showing chapter popover 2021-02-08 17:42:02 +01:00
Rafostar
65f1e8e60e Observe surface width instead of video widget 2021-02-07 21:47:25 +01:00
Rafostar
8a5702f296 Detect mobile monitor based on application-pixels 2021-02-07 21:20:14 +01:00
Rafostar
65b4df13a8 Install gstclapper libs to app named subdirectory 2021-02-07 12:35:41 +01:00
Rafał Dzięgiel
4debed92fe Do not restore window size if it exceeds screen size #38 2021-02-06 23:13:29 +01:00
Rafał Dzięgiel
6b6777ffba Remove info about Ubuntu package from README.md
We cannot build Ubuntu deb package currently due to missing gtk4-dev files in Ubuntu repos.
2021-02-06 16:25:28 +01:00
Rafostar
214e2f1d7f Update debian build files 2021-02-06 15:33:00 +01:00
Rafał Dzięgiel
607d414968 Update README.md 2021-02-05 22:11:28 +01:00
Rafał Dzięgiel
a6b2b9dd0a Flatpak: remove patches that are now part of the app 2021-02-05 20:01:09 +01:00
Rafał Dzięgiel
8ca73fd56b Update README.md
We now do normal packages. Remove all info saying that only Flatpak works or some additional compiling is required.
2021-02-05 19:27:27 +01:00
Rafał Dzięgiel
0167f0ab4e Draw black background from CSS when GL fails
When GLArea gets a GL error it leaves user with nothing, but transparent background with error text in the middle. Make it look somewhat decent by drawing black background for the not working video widget.
2021-02-05 19:15:15 +01:00
Rafał Dzięgiel
4aef4b2723 Build from git with "debugoptimized" 2021-02-05 14:38:57 +01:00
Rafał Dzięgiel
25d8cb1440 Update RPM spec file 2021-02-05 14:15:55 +01:00
Rafał Dzięgiel
c32bb269d7 GStreamer meson build script cleanup 2021-02-05 09:58:54 +01:00
Rafał Dzięgiel
1a3a1d0791 Upload .gitattributes
Exclude libs from being scanned by language stats. Otherwise project is incorrectly detected as an app written in C.
2021-02-04 22:19:20 +01:00
Rafał Dzięgiel
9b63d2e6a4 Make Arch PKGBUILD point to git master branch 2021-02-04 16:35:53 +01:00
Rafał Dzięgiel
26b5b0f1cb Update README.md 2021-02-04 16:29:18 +01:00
Rafał Dzięgiel
233c8430bc Remove OBS Arch PKG
Unify Arch PKGs into a single one distributed only on AUR
2021-02-04 16:23:45 +01:00
Rafał Dzięgiel
3bcf01efb6 Merge pull request #37 from Rafostar/gstplayer
Add custom gstreamer libs as part of the app
2021-02-04 16:09:10 +01:00
Rafał Dzięgiel
94fd477324 Merge pull request #36 from sp1ritCS/gstplayer
pkgs: arch: gstplayer update, minor refactor
2021-02-04 15:51:29 +01:00
Rafał Dzięgiel
3cd98befb1 Unify menus and put all headerbar buttons on the left 2021-02-04 15:47:14 +01:00
SpiritCS
04ce5c5018 pkgs: arch: gstplayer update, minor refactor 2021-02-03 17:59:34 +01:00