Commit Graph

504 Commits

Author SHA1 Message Date
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
Rafał Dzięgiel
bf04af23fe Do a lock on a gtk_sink
Same object is unlocked here. Keep consistency.
2021-02-02 13:55:55 +01:00
Rafał Dzięgiel
a7d99c4f81 Use "window-close" icon for playlist current playing item button
The button next to the currently playing playlist item acts as a close window button in order to allow closing app without leaving fullscreen. It should use the theme "window-close" icon to better show what it does.
2021-01-30 22:52:31 +01:00
Rafał Dzięgiel
310ef3af95 Fix not playing URIs
In case of local files the "filename" variable holds the string that is later assigned to the filename property (no difference which is used), but when playing URIs only filename property holds the string. Passing an undefined value to the label caused an error in this case and prevented playback of URIs.
2021-01-30 22:41:27 +01:00
Rafał Dzięgiel
08cde45bad Gtk4Plugin: add drawing black fixes from Flatpak patch 2021-01-29 18:18:41 +01:00
Rafał Dzięgiel
b487d1f2c1 Gtk4Plugin: remove subtitles scaling
Causes jitter (even crashes on i965) when resizing video and honestly I think that subtitles rendered at video size look better.
2021-01-29 17:52:27 +01:00
Rafał Dzięgiel
2ce44d4e63 Combine GStreamer GTK4 plugin with API
Ship custom gtk4glsink plugin as part of API insead of normal gstreamer plugin. This avoids gstreamer plugin registry conflicts with gtk3 plugin and allows more customization.
2021-01-29 17:27:39 +01:00
Rafał Dzięgiel
4ad2b707dd Remove player config options that were changed/fixed in API 2021-01-28 19:09:53 +01:00
Rafał Dzięgiel
fcf9426892 API: remove unused seek-done signal 2021-01-28 18:26:37 +01:00
Rafał Dzięgiel
dea77cc39f API: notify about speed value reset on STOP 2021-01-28 17:39:52 +01:00
Rafał Dzięgiel
f7a24b20c6 API: remove media info updated signal
A signal telling that "something somewhere changed" that is emitted multiple times per second (when bitrate changes). Not useful at all and a disaster performance-wise.
2021-01-28 16:26:20 +01:00
Rafał Dzięgiel
f2971371e1 API: remove clapper config structure
Not useful anymore since the player does 1s interval by default and now supports changing seek mode without stopping playback (unlike config which worked only when stopped).
2021-01-28 16:26:20 +01:00
Rafał Dzięgiel
15302a4b62 API: use 1s update position interval by default 2021-01-28 16:26:20 +01:00
Rafał Dzięgiel
e731842b08 API: remove "volume-changed" signal in favor of "notify::volume"
We do not need both and notify is better here cause it allows binding volume scale value to the volume prop
2021-01-28 16:26:20 +01:00
Rafał Dzięgiel
90697d81a7 API: fix debug category init with bindings 2021-01-28 16:26:09 +01:00
Rafał Dzięgiel
bbcba3ccc6 API: disable notify on props where it is unused
Notify signal is a little problematic here as we already post a signal from player while jumping between APP and API contexts. Limit and disable it where not needed.
2021-01-28 09:10:43 +01:00
Rafał Dzięgiel
5785204c28 API: prevent "notify::caps" from being reconnected on each start 2021-01-28 08:32:49 +01:00
Rafał Dzięgiel
3abfd2a5df API: add TOC support (video chapters) 2021-01-28 00:23:01 +01:00
Rafał Dzięgiel
5cc312130d API: set seek mode without stopping playback 2021-01-28 00:23:01 +01:00
Rafał Dzięgiel
bee1889376 Port app to the new GstClapper API 2021-01-28 00:23:01 +01:00
Rafał Dzięgiel
08f86cf0cc Include "GstPlayer" lib renamed to "GstClapper" as part of the app 2021-01-28 00:22:48 +01:00
Rafał Dzięgiel
acfdb7bac4 Use different icon for removing playlist items
Make it easier to see if the button will either remove the playlist item or close the app (in case of currently playing item).
2021-01-23 09:02:06 +01:00
Rafał Dzięgiel
7eb59317f9 Close app when removing active item from playlist
Make playlist remove button act the same as close button for currently playing file. This allows using it to close the app without leaving fullscreen.
2021-01-23 09:02:06 +01:00
Rafał Dzięgiel
f993a9e16c Make elapsed popover separator creation more universal 2021-01-23 09:02:06 +01:00
Rafał Dzięgiel
a82a36c6b5 Mark active playlist item with "play" icon 2021-01-23 09:02:06 +01:00
Rafał Dzięgiel
70fcc38857 Start labels from capital letter in speed control
Better match whole UI where capital letters are used.
2021-01-23 09:02:06 +01:00
Rafał Dzięgiel
30cc8732de Style only speed separator 2021-01-23 09:02:06 +01:00
Rafał Dzięgiel
d677f88556 Update TODO.md 2021-01-23 09:01:52 +01:00
Rafał Dzięgiel
d4ebb1456f Alter playlist width with box container width 2021-01-22 13:15:27 +01:00
Rafał Dzięgiel
2b77810274 Add a custom separator above speed scale
Let users know what this scale does by having a separator with a "speed" label
2021-01-22 13:13:57 +01:00
Rafał Dzięgiel
8d33766725 Stretch fullscreen speed scale
Make it easier to set it precisely in fullscreen where everything is bigger.
2021-01-22 12:06:56 +01:00
Rafał Dzięgiel
f9c8a3ce33 Do not try to dispose non-existing window 2021-01-22 11:46:50 +01:00
Rafał Dzięgiel
20f03423f3 Make speed scale look consistent with volume scale on fullscreen 2021-01-22 11:45:43 +01:00
Rafał Dzięgiel
d8c6c61f1b Disable shadows for playlist icons in fullscreen 2021-01-22 11:20:34 +01:00
Rafał Dzięgiel
ae89199101 Avoid playlist items stealing keyboard focus 2021-01-22 11:07:00 +01:00
Rafał Dzięgiel
2e1f6203b3 Rename "appdata" to "metainfo"
The appdata name is now deprecated, according to: https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#spec-component-location
2021-01-21 20:00:17 +01:00
Rafał Dzięgiel
340cb36ecd Move "clapper_src" dir to "src"
The "clapper_src" directory name was unusual. This was done to make it work as a widget for other apps. Now that this functionality got removed it can be named simply "src" as recommended by guidelines.
2021-01-21 14:19:04 +01:00
Rafał Dzięgiel
79abc661bc Update README.md 2021-01-21 12:16:50 +01:00
Rafał Dzięgiel
e9c72d3f2e Remove workarounds for GTK 3.99.X versions
Clapper build scripts were updated to GTK 4.0.0 some time ago. Most distros either received GTK 4.0 from start or an update to it. No point in having a special workarounds to support 3.99.X versions.
2021-01-20 19:30:07 +01:00
Rafał Dzięgiel
f5fef2df5b Restore redraw button icon after fullscreen change
This was previously removed, but it looks like it is still needed for GTK4 to draw button icon at correct size after toggling fullscreen.
2021-01-20 18:33:14 +01:00
Rafostar
d36a972864 Simplify playlist drop callback
Use value passed to the callback instead of target property
2021-01-20 11:16:51 +01:00
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