Commit Graph

282 Commits

Author SHA1 Message Date
Rafostar
ea67e1e620 Flatpak: compile GTK4 with broadway backend 2020-12-14 11:19:12 +01:00
Rafostar
018a750fbc Add web app for broadway backend 2020-12-12 21:56:35 +01:00
Rafostar
660b5c6c48 Use underscore in WebSocket API 2020-12-12 20:10:06 +01:00
Rafostar
ea7b712b2e Send player state via WebSockets 2020-12-12 19:37:07 +01:00
Rafostar
7a039af798 Allow changing web server port during playback 2020-12-12 00:16:39 +01:00
Rafostar
104db83a1c Clean websocket signal properly 2020-12-12 00:13:02 +01:00
Rafostar
d5d5aa9bac Integrate basic web server functionality into player 2020-12-11 23:38:49 +01:00
Rafostar
26f8b6994e Add WebSocket server 2020-12-11 22:06:00 +01:00
Rafostar
4875a31be4 Add initial ClapperRemote app 2020-12-11 15:38:25 +01:00
Rafostar
6315669933 Split app source file into two
This allows creating different app from the same source code.
2020-12-11 15:32:05 +01:00
Rafostar
083445a830 Split header bar source file into two
This allows creating another headerbar with different functionality from the same source code.
2020-12-11 15:22:35 +01:00
Rafostar
62573d3a88 Move main.js to source files dir 2020-12-11 14:55:50 +01:00
Rafostar
0d54a751bd Add request for native audio formats option 2020-12-10 17:15:22 +01:00
Rafostar
73b803abdb Compatibility with latest GTK4 git 2020-12-10 11:51:55 +01:00
Rafostar
8dfede27ac Add progressive video download option
Buffer download whole network video during playback to allow fast seeking for online media. Can be disabled in prefs (enabled by default).
2020-12-08 20:31:45 +01:00
Rafostar
6ea210ff12 Minor prefs theme improvements 2020-12-08 17:08:55 +01:00
Rafostar
fea1968907 Add "Adaptive UI" demo to features in Readme 2020-12-07 20:58:19 +01:00
Rafostar
b134fd25c8 Move theme settings to "Tweaks" prefs tab
Altering default theme is more of a tweak then a general setting
2020-12-07 20:27:21 +01:00
Rafostar
6949a6e9ef Disable controls focus when not in fullscreen
This should keep focus on video and make seeking from keyboard always work.
2020-12-07 17:29:34 +01:00
Rafostar
c80f34f4ab Fix compatibility with dark themes. Fixes #23 2020-12-07 15:25:10 +01:00
Rafostar
cf26486476 Flatpak: Add GTK4 popover unrealize patch
This is a temporary workaround I came up with for app performance drop on Wayland after any popover is opened. We are waiting for a proper fix from GTK4 devs. Until then, this is still much better that nothing.
2020-12-06 23:12:09 +01:00
Rafostar
64bf1dc172 Apply rotate animation to the icon, not whole button 2020-12-04 09:55:26 +01:00
Rafostar
a2ee14e74f Set revealer animation fill mode to "forwards" 2020-12-03 16:53:22 +01:00
Rafostar
150fdb7cbb Do not show tracks revealer when there are no tracks 2020-12-03 11:59:59 +01:00
Rafostar
c3d60a600e Wait for stop after playback instead of forcing it 2020-12-03 11:20:42 +01:00
Rafostar
7a66da1fed Add option to close player after playback 2020-12-03 11:04:37 +01:00
Rafostar
44e04d7e60 Upload mobile UI presentation video 2020-12-02 16:04:17 +01:00
Rafostar
333b9d8224 Mobile friendly interface transitions #14 2020-12-02 10:59:02 +01:00
Rafostar
4cb743b931 Performance: do not draw header bar bottom border
It is not even noticable and reduces performance by having more pixels to redraw every frame.
2020-12-02 10:56:19 +01:00
Rafostar
6cc07c4e98 Flatpak: update uchardet recipe 2020-12-01 10:02:36 +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
f08d40c1ff Small cleanup 2020-11-30 23:05:33 +01:00
Rafostar
f7f9959c14 Temporarly take a ref on player 2020-11-30 22:18:02 +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
af6814bace Change open local label
Option can now also open multiple files, so we simply skip the "File" part to make it shorter.
2020-11-30 11:11:08 +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
bc5aa45a8f Fix player volume comparison 2020-11-26 13:02:31 +01:00
Rafostar
d630717b24 Flatpak: autodetect subtitle text encoding
Manually specifying text encoding is just wrong.
Especially for people who have no idea what text encoding they use (or what it is).
Lets try to be a little more user friendly and autodetect the encoding of each file.

The detection will be done inside GStreamer when first text buffer is received,
so another (but this time optional) patch is added, but who cares :-)
2020-11-25 16:20:51 +01:00
Rafostar
6a34fc51bc Merge pull request #20 from sp1ritCS/master
downgraded arch pkgbuild to e7e9b9c07d
2020-11-25 11:00:09 +01:00
Rafostar
2ed3e1dce6 Add some missing info to Readme #19
Add some missing information about why Flatpak right now is recommended, that otherwise patching is required and why Wayland is recommended. Hopefully with this, I will not have to keep repeating those to everyone on each day :-)
2020-11-25 10:58:18 +01:00
sp1rit
1bd39f646f downgraded arch pkgbuild to e7e9b9c07d 2020-11-24 20:52:19 +01:00
Rafostar
9ad1a11452 Customize external subtitles font 2020-11-24 17:54:53 +01:00
Rafostar
3fcd612e6e Support loading external subtitles and multiple videos 2020-11-24 11:12:43 +01:00
Rafostar
ab39da1975 Readme: tell people that using GJS here is fine. 2020-11-24 10:35:53 +01:00
Rafostar
2cd946c6c0 Convert Flatpak manifest to JSON format #12 2020-11-23 14:08:59 +01:00
Rafostar
4c2cca855e Update screenshots 2020-11-22 20:03:13 +01:00
Rafostar
24de7ee8c1 Remove "Playback" tab from prefs
Move items under "Playback" tab to "Player" tab to reduce number of top bar tabs in prefs. Also temporarly disable subtitles settings due to lack of external subtitles support.
2020-11-22 19:37:18 +01:00
Rafostar
66162349ac Use dark theme by default. Closes #13 2020-11-21 15:56:03 +01:00