Rafostar
994491d687
Add playback speed control
...
Adjustable playback speed control in the form of a slider with a range from 0.01x to 2x.
Closes #33
2021-01-19 16:42:02 +01:00
Rafostar
3ba21d42ec
Add playlist widget to elapsed time button popover
2021-01-19 16:41:49 +01:00
Rafostar
4c0a0da18f
Fix chapter popover position not moving for nearby chapters
2021-01-13 19:50:05 +01:00
Rafostar
d831113925
Fix app close when pressing "Q" during position drag
2021-01-13 19:10:12 +01:00
Rafostar
5d0876bbf7
Do not do fast seeks when seeking to chapter
...
Fast seeks are always a little off from requested time. When seeking to chapter position, do it by using a normal seek and restore user selected fast seeks afterwards.
2021-01-13 18:49:10 +01:00
Rafostar
df4678d930
Show chapter in popover when dragging position scale
2021-01-13 17:55:22 +01:00
Rafostar
3452990c28
Use "const" where possible
...
Increase readability by using "const" for identifiers that will not be reassigned
2021-01-05 20:13:53 +01:00
Rafostar
39e4e54ad8
Apply icon size to icon and not whole button
2020-12-14 15:46:40 +01:00
Rafostar
bfc318ae70
Reduce controls start/end margin
2020-12-14 15:46:07 +01:00
Rafostar
150fdb7cbb
Do not show tracks revealer when there are no tracks
2020-12-03 11:59:59 +01:00
Rafostar
333b9d8224
Mobile friendly interface transitions #14
2020-12-02 10:59:02 +01:00
Rafostar
def5bc5d96
Change volume scale color when over-amplified
2020-12-01 09:43:36 +01:00
Rafostar
f4da4dec71
Do not keep initial elapsed time
...
It is not used anymore later, so no need to keep it.
2020-11-30 23:05:56 +01:00
Rafostar
58afaa2c76
Apply custom initial volume on realize
2020-11-30 11:26:38 +01:00
Rafostar
5206dc543d
Properly store and restore last volume value on startup
...
We cannot depend on the value saved by GStreamer, cause it is shared with all GStreamer based apps. Lets save the last value to gsettings instead to make sure this is the volume we used with this app. With this change we can also see the right volume on startup before media file is loaded (previously it was shown always as muted).
2020-11-30 11:16:21 +01:00
Rafostar
e7ad0143a5
Use cubic scale for volume. Fixes #21
...
Volume sliders should usually adjust volume using cubic scale. This also changes max volume to 150% which should be louder than previous value anyway.
2020-11-30 09:26:27 +01:00
Rafostar
c221f7cdb6
Do not show hours when duration is shorter #14
2020-11-20 22:41:33 +01:00
Rafostar
6788f234aa
Flatpak: add more black rendering improvements to patch
2020-11-17 13:20:03 +01:00
Rafostar
f660d900ba
Performance: add option to disable window shadows
...
Rendering window shadows in GTK4 doubles GPU usage. This commit adds an option to disable them for performance gain (useful on low-end devices).
2020-11-13 19:26:49 +01:00
Rafostar
f644710762
Set popover parent only once and unset on app close
2020-11-10 18:11:59 +01:00
Rafostar
8296f40382
Allow adjusting volume before loading file
2020-11-04 12:37:42 +01:00
Rafostar
ff58713426
Add "Floating Window Mode"
...
A simple borderless window floating on desktop. Window can be resized and moved by dragging. It also has some minimalistic controls showing on top of the video when cursor is hovering over it.\n\n This was a feature originally requested by @zahid1905.
2020-11-03 17:40:19 +01:00
Rafostar
9354042379
Add preferences dialog
...
Allows customizing various settings. For now it includes player seeking times and mode customization. More options will be added in the future.
2020-10-25 10:14:14 +01:00
Rafostar
576440faff
Fix update media end time
2020-10-23 10:26:11 +02:00
Rafostar
cc4757aef5
Do not hide controls while navigating panel
2020-10-21 13:19:38 +02:00
Rafostar
0291377389
Major code cleanup
2020-10-20 22:30:15 +02:00
Rafostar
4dea498f37
Improve position scale alignment in fullscreen
2020-10-19 13:27:41 +02:00
Rafostar
eafc65d15d
Go back to beginning after playback ends
2020-10-16 12:13:00 +02:00
Rafostar
d0eb28b207
Remove GTK3 "widget.show()" leftovers
2020-10-16 10:59:00 +02:00
Rafostar
12c1251c9b
Update video info during non-local file playback
...
With this player will always show current video resolution when playing fragmented media like HLS or MPD online videos
2020-10-16 00:21:43 +02:00
Rafostar
745747b604
Hide time and position scale on LIVE media
2020-10-15 22:49:37 +02:00
Rafostar
57a8e6d933
Add about dialog
2020-10-15 16:21:46 +02:00
Rafostar
ea8226f1d3
Restore seek on drop behavior
2020-10-14 16:45:09 +02:00
Rafostar
80b9eb7c97
Fix volume button scroll
2020-10-13 21:36:11 +02:00
Rafostar
e430956752
Allow navigating over buttons via keyboard
2020-10-13 20:27:58 +02:00
Rafostar
e2d6cc440d
Tweak play/pause icons size
2020-10-07 23:41:12 +02:00
Rafostar
43a54920ef
Change elapsed time into button
2020-10-07 23:10:11 +02:00
Rafostar
4c5d922d47
Fix toggle play button icon change
2020-10-07 20:22:02 +02:00
Rafostar
041b31c161
Fix enter fullscreen and popover buttons
2020-10-07 16:40:42 +02:00
Rafostar
bae0b805ea
Initial GTK4 port
...
Port most of the player to GTK4. Some things are still broken or disabled due to GTK change, but will be gradually fixed.
2020-10-05 21:19:29 +02:00
Rafostar
31db48d137
Replace deprecated Gtk HBox and VBox with normal Box
2020-09-21 20:49:25 +02:00
Rafostar
21de7e7bfd
Replace deprecated margin proporties
2020-09-18 13:11:24 +02:00
Rafostar
234c49221e
Enable scroll on volume button
2020-09-14 16:10:09 +02:00
Rafostar
043fe9f75e
Move Popover button creation to buttons.js
2020-09-12 21:10:44 +02:00
Rafostar
71c5454547
Fix invisible unfullscreen button
2020-09-12 19:28:17 +02:00
Rafostar
6938f01433
Add "BoxedIconButton" class
2020-09-11 21:28:00 +02:00
Rafostar
5afe5149aa
Add music visualizations
2020-09-11 20:33:06 +02:00
Rafostar
b8ed6b32dc
Reuse old redio buttons
...
When a media is changed, normally one would expect to create new radio buttons with video/audio/subtitle tracks names corresponding to current video, but this is inefficient. Destroying objects just to create similiar ones again does take a long time and might lead to memory leaks. That is why a better and faster approach is to simply edit already available objects to match our expectations instead. This commit does just that for tracks radio buttons.
2020-09-10 19:50:41 +02:00
Rafostar
e9ec155e7b
Move fullscreen and menu buttons to header bar
...
Follow other GNOME apps designs by having fullscreen button on the right side of window header bar. The control panel had too many buttons already and we still need to make some space for playlist. This way "fullscreen" button will be on top bar while windowed and "unfullscreen" button will appear on the bottom right only when player entered fullscreen mode.
2020-09-10 14:24:02 +02:00
Rafostar
0c5278e844
Make button popovers appear above the controls bar
2020-09-09 21:40:16 +02:00