Florian "sp1rit"​ a63d92601f clapper-gtk/extra-menu: Fixed speed being forced to the lowest value
As the SpinButton input callback attempted to parse the value inserted
as a string by printf using g_ascii_strtod, only if the language also
used . (full stop / u002E) as decimal seperator worked correctly.
Otherwise, parsing would fail and result (after a few iterations) in the
lowest value being set.

The usually correct approach is to use g_ascii_dtostr / g_ascii_formatd
instead of printf to format a decimal number, but given that this number
is actually presented to the user, going with g_strtod seems like a
better choice (I've decided against just using the stdlib strtod as to
allow the SpinButton to also recognize manual user input containing the
full stop  instead of their languages native decimal seperator (not
that that'll ever happen, given the user can't focus the SpinButton
entry while media is running).

I've also fixed this for the volume SpinButton too, but it wasn't really
affected in the first place as it appearently always gets rounded up to
a number without decimal places.

Signed-off-by: Florian "sp1rit"​ <sp1rit@disroot.org>
2024-04-10 12:26:50 +02:00
2022-05-06 18:57:12 +02:00
2020-10-31 16:43:27 +01:00
2021-08-23 16:18:13 +02:00
2022-09-07 13:15:34 +02:00
2024-04-09 20:02:31 +02:00
2024-04-05 21:18:39 +02:00
2020-10-15 10:45:57 +02:00
2024-04-05 21:18:39 +02:00
2024-04-06 18:17:38 +02:00

Clapper

Flatpak Flatpak Nightly Crowdin Matrix Donate

Clapper is a modern media player designed for simplicity and ease of use. Powered by GStreamer and built for the GNOME desktop environment using GTK4 toolkit, it has a clean and stylish interface that lets you focus on enjoying your favorite videos.

This application aim is to offer all the essentials features you'd expect from a video player in a simple form.

Clapper uses a playback queue where you can add multiple media files. Think of it like a playlist that you can build. You can easily reorder items or remove them from the queue with a simple drag and drop operation.

Components

Clapper's codebase consists of 2 libraries using which main application is built:

Both libraries support GObject Introspection bindings. A simple application example can be found here.

Above libraries are licensed under LGPL-2.1-or-later. You are free to use them in your own projects as long as you comply with license terms. Please note that until version 1.0 they should be considered as an unstable API (some things may change without prior notice).

Installation from Flatpak

The Flatpak package includes all required dependencies and codecs. Additionally it also has a few patches, thus some functionalities work better in Flatpak version (until my changes are accepted upstream). List of patches used in this version can be found here.

Download on Flathub

Packages in Linux Distributions

Packaging status

Pre-built RPM packages are also available in my repo (see status).
Those are automatically built on each git commit, thus are considered unstable.

Installation from Source Code

meson builddir --prefix=/usr/local
sudo meson install -C builddir

Questions?

Feel free to ask me any questions. Come and talk on Matrix: #clapper-player:matrix.org

Translations

Preferred translation method is to use Clapper Crowdin web page.

Crowdin does not require any additional tools and translating can be done through web browser. You can login using GitHub account or create a new one. Only I can add new languages to this project, so if your language is not available, please contact me first.

Special Thanks

Many thanks to sp1ritCS for creating and maintaining package build files. Big thanks to bridadan and Uniformbuffer3 for helping with testing V4L2 and NVDEC hardware acceleration methods.

Thanks a lot to all the people who are supporting the development with their anonymous donations through Liberapay. I ❤️ U.

Description
Level up your video experience with a modern and user-friendly media player.
Readme 25 MiB
Languages
C 96.7%
Meson 2.8%
CSS 0.5%