Commit Graph

1038 Commits

Author SHA1 Message Date
Rafostar
4e235a0e9b Add controls background on fullscreen 2020-09-04 10:47:05 +02:00
Rafostar
54bbcd2eb1 Make all interface buttons flat 2020-09-03 23:08:32 +02:00
Rafostar
e5e06336f3 Add slide animation for fullscreen controls 2020-09-03 21:17:43 +02:00
Rafostar
3d9bab0578 Add overlay for controls when fullscreen
When player is fullscreen playback controls are shown on top of video (at screen bottom). When windowed, controls are shown below the video instead.
2020-09-03 20:01:26 +02:00
Rafostar
2bef72fd95 Change pause icon to play on stopped video 2020-09-03 13:02:29 +02:00
Rafostar
28264da424 Prevent system from lock/suspend when video is playing 2020-09-03 12:53:24 +02:00
Rafostar
f6f2a2f4e4 Add some easy way to install
I know that this should be done using some sort of build system (like meson), but the player is still far from finished and a basic install script should be sufficient for the time being, if anyone wishes to test it.
2020-09-03 11:33:42 +02:00
Rafostar
7d2b1f1118 Add custom debug script with Gst version check 2020-09-03 10:43:07 +02:00
Rafostar
176ddf1cc2 Bind keyboard up/down arrow keys to volume 2020-09-03 10:40:58 +02:00
Rafostar
ec68db73c9 Do not update position slider during buffering 2020-09-03 07:29:02 +02:00
Rafostar
9f18ec35b2 Tweak position and volume slider values 2020-09-02 22:26:48 +02:00
Rafostar
70ec6311c0 Add seeking on slider drop and make it default behaviour
Seeking during slider drag is very CPU and HDD intensive task. We are requesting the player to keep seeking in VERY short amounts of time. This can be performed more effectively by doing a single seek after slider drop. Since this is a different behaviour then usually in media players, I am making this optional (enabled by default).
2020-09-02 18:31:22 +02:00
Rafostar
fd2ad7e596 Listen for key presses on window instead of player
This fixes a GNOME bug where sometimes key press events are not emited
2020-09-02 16:56:58 +02:00
Rafostar
c2bc1e39cc Add "addButton" convenience function 2020-09-02 16:54:58 +02:00
Rafostar
4480bed3bc Auto hide cursor on player window 2020-09-02 11:57:16 +02:00
Rafostar
116dc4dd20 Destroy removed volume control buttons 2020-09-02 09:12:17 +02:00
Rafostar
2333d8fc1c Fix drag sometimes starting from wrong button 2020-09-02 09:06:34 +02:00
Rafostar
7307845646 Initial video playlist support
For now player will load only first video from playlist. Good enough for testing. Full playlist support will be added later on.
2020-09-01 23:46:49 +02:00
Rafostar
9f04b74e05 Fix volume button icon behaviour 2020-09-01 23:43:40 +02:00
Rafostar
647ad3f1ec Drag application from video (MPV like window dragging) 2020-09-01 19:48:25 +02:00
Rafostar
26a571408b Add some keys, buttons and scrolls bindings 2020-09-01 17:50:59 +02:00
Rafostar
fa12f15a9a Start loop optionally 2020-09-01 17:49:24 +02:00
Rafostar
326ba66da0 Spread volume icon changes evenly 2020-09-01 17:46:47 +02:00
Rafostar
18a7d34d95 Do not set position adjustment twice 2020-09-01 17:45:36 +02:00
Rafostar
b401bc15ff Improve volume scale icons logic 2020-09-01 12:10:55 +02:00
Rafostar
80ac01706d Move GtkWindow logic to separate file 2020-09-01 10:50:30 +02:00
Rafostar
e35d18505e Use else-if 2020-08-31 23:13:47 +02:00
Rafostar
bf35da6b91 Recycle old position scale adjustment 2020-08-31 23:11:34 +02:00
Rafostar
f70fe43303 Add toggle fullscreen button 2020-08-31 22:21:46 +02:00
Rafostar
918ba34885 Add Gtk app 2020-08-31 20:47:10 +02:00
Rafostar
734471475f Add "seek_seconds" function
Default "seek" function takes time in nanoseconds as argument which is not that useful, cause we will start playback from the nearest keyframe anyway. The new "seek_seconds" can take a double value for more precise seeking.
2020-08-30 20:19:37 +02:00
Rafostar
f35ac10553 Make sure loop is not running before starting it 2020-08-30 20:09:36 +02:00
Rafostar
ceb8930a88 Rename project to "Clapper" 2020-08-30 20:05:58 +02:00
Rafostar
2b0ad406e5 Rename LICENSE to COPYING 2020-08-30 19:40:14 +02:00
Rafostar
71dee1f410 Update README.md 2020-08-29 23:22:59 +02:00
Rafostar
19dfbb7be1 Add "gex" support 2020-08-29 15:51:06 +02:00
Rafostar
4d1166a952 Initial version upload 2020-08-29 15:48:38 +02:00
Rafostar
7c0957f4bd Initial commit 2020-08-29 15:45:05 +02:00