16 Commits

Author SHA1 Message Date
Rafał Dzięgiel
21d0ba654b WIP: clapper-gtk: Add new ClapperGtkEngageLayer widget 2024-05-03 09:29:02 +02:00
Rafał Dzięgiel
6941f1b042 clapper: Small fix for "init_check" doc
The error arg was removed, but documentation was not updated then
2024-05-02 14:38:25 +02:00
Rafał Dzięgiel
df50802871 clapper-gtk: billboard: Documentation fixes
Billboard does not post automatic volume/speed announcements. It did at
some point during development, but it was scrapped in favour of letting
app use callbacks of "notify" signals to call announce speed/volume.
2024-05-02 13:17:09 +02:00
Rafał Dzięgiel
b1613273d0 gst-plugin: Avoid GTK crash after context is destroyed
It seems GTK continues using created contexts, so we cannot unref it here.
Looking at GTK sink implementation for GtkVideo, I see that they do not
unref it either, but since we use surfaceless context it would be probably
better to have a static GstDisplay and reuse the same context in future.
2024-05-02 11:14:29 +02:00
Rafał Dzięgiel
35527e5c14 clapper-gtk: Ignore missing plugins for metadata
Some media files have custom/proprietary metadata.
It should be safe to simply ignore these, since we do
not map metadata to any sort of Clapper stream anyway.

Fixes #441
2024-05-01 16:32:35 +02:00
Rafał Dzięgiel
e060048969 Merge pull request #429 from 1Maxnet1/patch-1
Complement com.github.rafostar.Clapper.metainfo.xml
2024-05-01 11:45:25 +02:00
Rafał Dzięgiel
09648bbc43 Mention Rust bindings in README.md
Closes #411
2024-04-29 21:38:37 +02:00
Max Buchholz
9e5f9e3d07 Add comment to document categories
Co-authored-by: Rafał Dzięgiel <40623528+Rafostar@users.noreply.github.com>
2024-04-29 20:19:10 +02:00
Rafał Dzięgiel
23c5e7ca65 clapper: Fix MARKER_NO_END value in GIR
Needs a cast from int, otherwise GIR is generated
incorrectly and it ends up as positive number.
2024-04-29 17:50:54 +02:00
Rafał Dzięgiel
6d47aa3c6d clapper-app: metainfo: Update branding colors
Change to values suggested by Tobias Bernard
2024-04-27 16:20:33 +02:00
Rafał Dzięgiel
ae3d75a8b5 clapper-app: metainfo: Update app summary
Change to a text suggested by Tobias Bernard
2024-04-27 16:20:17 +02:00
Rafał Dzięgiel
3561bc8c6f Update README.md 2024-04-27 15:59:28 +02:00
Rafał Dzięgiel
368a484741 flatpak: Sync with Flathub 2024-04-27 15:40:38 +02:00
Rafał Dzięgiel
b3ac64e5b1 clapper-app: Show development versions in about window
Since during development we do not put new release tag into metainfo
which about window uses to know app version, set it manually to the
library version since they are the same.
2024-04-27 14:19:45 +02:00
Rafał Dzięgiel
c873c35fa7 Back to development 2024-04-27 14:14:39 +02:00
Max Buchholz
af47dcb5e5 Complement com.github.rafostar.Clapper.metainfo.xml 2024-04-25 10:54:09 +02:00
30 changed files with 369 additions and 833 deletions

View File

@@ -11,14 +11,14 @@ desktop environment using [GTK4](https://www.gtk.org/) toolkit, it has a clean a
This application aim is to offer all the essentials features you'd expect from a video player in a simple form.
<p align="center">
<img src="https://raw.githubusercontent.com/wiki/Rafostar/clapper/media/screenshot_01.png">
<img src="https://raw.githubusercontent.com/wiki/Rafostar/clapper/media/screenshot_03.png">
</p>
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.
<p align="center">
<img src="https://raw.githubusercontent.com/wiki/Rafostar/clapper/media/screenshot_03.png">
<img src="https://raw.githubusercontent.com/wiki/Rafostar/clapper/media/screenshot_04.png">
</p>
### Components
@@ -31,6 +31,8 @@ Both libraries support *GObject Introspection* bindings. A simple application ex
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).
Clapper `Vala` bindings are part of this repo, while `Rust` bindings can be found [here](https://gitlab.gnome.org/JanGernert/clapper-rs).
## 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).
@@ -54,6 +56,8 @@ meson compile
sudo meson install
```
If you want to compile app as `Flatpak`, remember to clone this repo with `--recurse-submodules` option.
## Questions?
Feel free to ask me any questions. Come and talk on Matrix: [#clapper-player:matrix.org](https://matrix.to/#/#clapper-player:matrix.org)
@@ -68,5 +72,6 @@ so if your language is not available, please contact me first.
Many thanks to [sp1ritCS](https://github.com/sp1ritCS) for creating and maintaining package build files.
Big thanks to [bridadan](https://github.com/bridadan) and [Uniformbuffer3](https://github.com/Uniformbuffer3) for helping
with testing V4L2 and NVDEC hardware acceleration methods.
Also words of appreciation for [JanGernert](https://gitlab.gnome.org/JanGernert) who made and is sharing Clapper Rust bindings.
Thanks a lot to all the people who are supporting the development with their anonymous donations through [Liberapay](https://liberapay.com/Clapper/). I :heart: U.

View File

@@ -16,7 +16,6 @@ custom_target('clapper-gtk-doc',
gi_docgen,
'generate',
gi_docgen_common_args,
'--add-include-path=@0@'.format(join_paths(meson.project_build_root(), 'src', 'lib', 'clapper')),
'--add-include-path=@0@'.format(join_paths(meson.project_build_root(), 'src', 'lib', 'clapper-gtk')),
'--config=@INPUT0@',
'--output-dir=@OUTPUT@',

View File

@@ -1,5 +1,5 @@
project('clapper', 'c',
version: '0.6.1',
version: '0.7.0',
meson_version: '>= 0.64.0',
license: 'LGPL-2.1-or-later AND GPL-3.0-or-later', # LGPL-2.1+ for libs and gst-plugin, GPL-3.0+ for app
default_options: [
@@ -146,8 +146,6 @@ summary('introspection', build_gir ? 'Yes' : 'No', section: 'Build')
summary('vapi', build_vapi ? 'Yes' : 'No', section: 'Build')
summary('doc', build_doc ? 'Yes' : 'No', section: 'Build')
if build_clapper
foreach name : clapper_possible_features
summary(name, clapper_available_features.contains(name) ? 'Yes' : 'No', section: 'Features')
endforeach
endif
foreach name : clapper_possible_features
summary(name, clapper_available_features.contains(name) ? 'Yes' : 'No', section: 'Features')
endforeach

View File

@@ -19,6 +19,7 @@
#include <glib/gi18n.h>
#include <gst/gst.h>
#include <clapper/clapper.h>
#include <adwaita.h>
#include "clapper-app-about-window.h"
@@ -39,6 +40,9 @@ clapper_app_about_window_new (GtkApplication *gtk_app)
gtk_window_set_modal (GTK_WINDOW (about), TRUE);
gtk_window_set_transient_for (GTK_WINDOW (about), window);
/* Also show development versions */
adw_about_window_set_version (about, CLAPPER_VERSION_S);
/* TRANSLATORS: Put your name(s) here for credits or leave untranslated */
adw_about_window_set_translator_credits (about, _("translator-credits"));

View File

@@ -101,15 +101,6 @@ has_streams_closure (ClapperAppInfoWindow *self, guint n_streams)
return (n_streams > 0);
}
static gboolean
close_cb (GtkWidget *widget, GVariant *args G_GNUC_UNUSED,
gpointer user_data G_GNUC_UNUSED)
{
gtk_window_close (GTK_WINDOW (widget));
return TRUE;
}
GtkWidget *
clapper_app_info_window_new (GtkApplication *gtk_app, ClapperPlayer *player)
{
@@ -209,8 +200,6 @@ clapper_app_info_window_class_init (ClapperAppInfoWindowClass *klass)
g_object_class_install_properties (gobject_class, PROP_LAST, param_specs);
gtk_widget_class_add_binding (widget_class, GDK_KEY_Escape, 0, close_cb, NULL);
gtk_widget_class_bind_template_child (widget_class, ClapperAppInfoWindow, vstreams_list);
gtk_widget_class_bind_template_child (widget_class, ClapperAppInfoWindow, astreams_list);
gtk_widget_class_bind_template_child (widget_class, ClapperAppInfoWindow, sstreams_list);

View File

@@ -86,21 +86,9 @@ clapper_app_utils_is_subtitles_file (GFile *file)
G_FILE_ATTRIBUTE_STANDARD_FAST_CONTENT_TYPE,
G_FILE_QUERY_INFO_NONE,
NULL, NULL))) {
const gchar *content_type = NULL;
if (g_file_info_has_attribute (info,
G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE)) {
content_type = g_file_info_get_content_type (info);
} else if (g_file_info_has_attribute (info,
G_FILE_ATTRIBUTE_STANDARD_FAST_CONTENT_TYPE)) {
content_type = g_file_info_get_attribute_string (info,
G_FILE_ATTRIBUTE_STANDARD_FAST_CONTENT_TYPE);
}
is_subs = (content_type && g_strv_contains (
is_subs = g_strv_contains (
clapper_app_utils_get_subtitles_mime_types (),
content_type));
g_file_info_get_content_type (info));
g_object_unref (info);
}

View File

@@ -997,6 +997,7 @@ clapper_app_window_constructed (GObject *object)
ClapperPlayer *player = clapper_app_window_get_player (self);
ClapperQueue *queue = clapper_player_get_queue (player);
ClapperGtkExtraMenuButton *button;
GstElement *element;
AdwStyleManager *manager;
static const GActionEntry win_entries[] = {
@@ -1037,6 +1038,9 @@ clapper_app_window_constructed (GObject *object)
/* FIXME: Allow setting sink/filter elements from prefs window
* (this should include parsing bin descriptions) */
element = gst_element_factory_make ("scaletempo", NULL);
if (G_LIKELY (element != NULL))
clapper_player_set_audio_filter (player, element);
clapper_player_set_autoplay (player, TRUE);

View File

@@ -34,23 +34,18 @@
<screenshots>
<screenshot type="default">
<image type="source">https://raw.githubusercontent.com/wiki/Rafostar/clapper/media/screenshot_01.png</image>
<caption>Modern player with minimalist look</caption>
</screenshot>
<screenshot>
<image type="source">https://raw.githubusercontent.com/wiki/Rafostar/clapper/media/screenshot_02.png</image>
<caption>See actual title of what you are watching</caption>
</screenshot>
<screenshot>
<image type="source">https://raw.githubusercontent.com/wiki/Rafostar/clapper/media/screenshot_03.png</image>
<caption>Queue multiple media in any order you like</caption>
</screenshot>
<screenshot>
<image type="source">https://raw.githubusercontent.com/wiki/Rafostar/clapper/media/screenshot_04.png</image>
<caption>Play either local or network content</caption>
</screenshot>
<screenshot>
<image type="source">https://raw.githubusercontent.com/wiki/Rafostar/clapper/media/screenshot_05.png</image>
<caption>Enjoy adaptive UI that fits any screen size</caption>
</screenshot>
</screenshots>
<!-- Linux Phone Apps parses categories from XML -->
@@ -59,11 +54,6 @@
<category>Video</category>
</categories>
<releases>
<release version="0.6.1" date="2024-07-01">
<description>
<p>Bug fixes and translation updates</p>
</description>
</release>
<release version="0.6.0" date="2024-04-22">
<description>
<p>
@@ -268,7 +258,7 @@
</description>
</release>
</releases>
<content_rating type="oars-1.1"/>
<content_rating type="oars-1.1" />
<branding>
<color type="primary" scheme_preference="light">#8484ee</color>
<color type="primary" scheme_preference="dark">#1a1a74</color>

View File

@@ -1 +1 @@
ar ast ca cs de es eu fa fi fr he hr hu it ja lt nl oc pl pt pt_BR ru sk sv tr zh_CN
ar ast ca cs de es eu fa fi fr he hr hu it ja lt nl pl pt pt_BR ru sk sv tr zh_CN

View File

@@ -3,7 +3,7 @@ msgstr ""
"Project-Id-Version: clapper\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-04-21 20:22+0200\n"
"PO-Revision-Date: 2024-04-26 11:01\n"
"PO-Revision-Date: 2024-04-21 20:51\n"
"Last-Translator: \n"
"Language-Team: Catalan\n"
"Language: ca_ES\n"
@@ -270,7 +270,7 @@ msgstr "Comença per afegir multimèdia a la cua de reproducció"
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:15
msgid "Seeking"
msgstr "Desplaçament"
msgstr "Cerca"
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:18
msgid "Method"

View File

@@ -1,469 +0,0 @@
msgid ""
msgstr ""
"Project-Id-Version: clapper\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-04-21 20:22+0200\n"
"PO-Revision-Date: 2024-06-14 10:59\n"
"Last-Translator: \n"
"Language-Team: Occitan\n"
"Language: oc_FR\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"X-Crowdin-Project: clapper\n"
"X-Crowdin-Project-ID: 473374\n"
"X-Crowdin-Language: oc\n"
"X-Crowdin-File: /master/src/bin/clapper-app/po/clapper-app.pot\n"
"X-Crowdin-File-ID: 48\n"
#: src/bin/clapper-app/ui/clapper-app-audio-stream-list-item.ui:14
#: src/bin/clapper-app/ui/clapper-app-video-stream-list-item.ui:14
msgid "Codec"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-audio-stream-list-item.ui:24
msgid "Channels"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-audio-stream-list-item.ui:36
msgid "Sample Format"
msgstr "Frequéncia d'escandalhatge"
#: src/bin/clapper-app/ui/clapper-app-audio-stream-list-item.ui:46
msgid "Sample Rate"
msgstr "Taus d'escandalhatge"
#: src/bin/clapper-app/ui/clapper-app-audio-stream-list-item.ui:58
#: src/bin/clapper-app/ui/clapper-app-video-stream-list-item.ui:51
msgid "Bitrate"
msgstr "Debit"
#: src/bin/clapper-app/ui/clapper-app-audio-stream-list-item.ui:70
#: src/bin/clapper-app/ui/clapper-app-subtitle-stream-list-item.ui:24
msgid "Language"
msgstr "Lenga"
#: src/bin/clapper-app/ui/clapper-app-headerbar.ui:183
#: src/bin/clapper-app/ui/clapper-app-initial-state.ui:80
msgid "Preferences"
msgstr "Preferéncias"
#: src/bin/clapper-app/ui/clapper-app-headerbar.ui:187
#: src/bin/clapper-app/ui/clapper-app-initial-state.ui:84
msgid "Keyboard Shortcuts"
msgstr "Acorchis de clavièr"
#. TRANSLATORS: Please do not translate application name
#: src/bin/clapper-app/ui/clapper-app-headerbar.ui:194
#: src/bin/clapper-app/ui/clapper-app-initial-state.ui:91
msgid "About Clapper"
msgstr "A prepaus de Clapper"
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:10
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:11
msgid "General"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:13
msgid "Show shortcuts"
msgstr "Afichar los acorchis"
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:19
msgid "Open preferences"
msgstr "Dobrir las preferéncias"
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:25
msgid "Toggle fullscreen"
msgstr "Bascular en mòde ecran complèt"
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:26
msgid "Double tap | Double click"
msgstr "Doble tòc | Doble clic"
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:32
msgid "Quit"
msgstr "Quitar"
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:40
#: src/bin/clapper-app/ui/clapper-app-info-window.ui:32
msgid "Media"
msgstr "Mèdia"
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:43
#: src/bin/clapper-app/ui/clapper-app-initial-state.ui:55
#: src/bin/clapper-app/ui/clapper-app-queue-list.ui:178
msgid "Add Files…"
msgstr "Apondre de fichièrs…"
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:49
#: src/bin/clapper-app/ui/clapper-app-initial-state.ui:65
#: src/bin/clapper-app/ui/clapper-app-queue-list.ui:182
msgid "Add URI…"
msgstr "Apondre una URI…"
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:57
msgid "Queue"
msgstr "Fila d'espèra"
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:61
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:68
msgid "Next item"
msgstr "Element seguent"
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:75
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:82
msgid "Previous item"
msgstr "Element precedent"
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:88
msgid "Change progression mode"
msgstr "Modificar lo mòde de progression"
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:96
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:76
msgid "Playback"
msgstr "Lectura"
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:99
msgid "Toggle play"
msgstr "Bascular la lectura"
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:100
msgid "Tap | Left click"
msgstr "Tòc | Clic esquèr"
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:107
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:115
msgid "Seek forward"
msgstr "Avançar"
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:108
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:132
msgid "Double tap (right side) | Scroll right"
msgstr "Doble tòc (costat drech) | Defilament drech"
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:116
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:124
msgid "Double tap (left side) | Scroll left"
msgstr "Doble tòc (costat esquèr) | Defilament esquèr"
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:123
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:131
msgid "Seek backward"
msgstr "Recular"
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:138
msgid "Volume up"
msgstr "Montar lo son"
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:139
msgid "Scroll up"
msgstr "Defilar cap amont"
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:145
msgid "Volume down"
msgstr "Demesir lo son"
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:146
msgid "Scroll down"
msgstr "Defilar cap aval"
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:152
msgid "Toggle mute"
msgstr "Activar / Desactivar lo mòde mut"
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:158
msgid "Speed up"
msgstr "Accelerar"
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:164
msgid "Speed down"
msgstr "Alentir"
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:171
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:178
msgid "Next chapter"
msgstr "Capítol seguent"
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:185
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:192
msgid "Previous chapter"
msgstr "Capítol precedent"
#: src/bin/clapper-app/ui/clapper-app-info-window.ui:13
msgid "Info"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-info-window.ui:35
#: src/bin/clapper-app/ui/clapper-app-subtitle-stream-list-item.ui:14
msgid "Title"
msgstr "Títol"
#: src/bin/clapper-app/ui/clapper-app-info-window.ui:49
msgid "Container Format"
msgstr "Format del contenedor"
#: src/bin/clapper-app/ui/clapper-app-info-window.ui:63
msgid "Duration"
msgstr "Durada"
#: src/bin/clapper-app/ui/clapper-app-info-window.ui:81
msgid "Streams"
msgstr "Fluxes"
#: src/bin/clapper-app/ui/clapper-app-info-window.ui:84
#: src/bin/clapper-app/clapper-app-list-item-utils.c:36
msgid "Video"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-info-window.ui:107
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:80
#: src/bin/clapper-app/clapper-app-list-item-utils.c:39
msgid "Audio"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-info-window.ui:130
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:100
#: src/bin/clapper-app/clapper-app-list-item-utils.c:42
msgid "Subtitles"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-info-window.ui:155
msgid "Video Playback"
msgstr "Lectura vidèo"
#: src/bin/clapper-app/ui/clapper-app-info-window.ui:158
#: src/bin/clapper-app/ui/clapper-app-info-window.ui:199
msgid "Decoder"
msgstr "Descodador"
#: src/bin/clapper-app/ui/clapper-app-info-window.ui:170
#: src/bin/clapper-app/ui/clapper-app-info-window.ui:211
msgid "Filter"
msgstr "Filtre"
#: src/bin/clapper-app/ui/clapper-app-info-window.ui:182
#: src/bin/clapper-app/ui/clapper-app-info-window.ui:223
msgid "Sink"
msgstr "Receptor"
#: src/bin/clapper-app/ui/clapper-app-info-window.ui:196
msgid "Audio Playback"
msgstr "Lectura àudio"
#: src/bin/clapper-app/ui/clapper-app-info-window.ui:247
msgid "Video Streams"
msgstr "Fluxes de vidèo"
#: src/bin/clapper-app/ui/clapper-app-info-window.ui:290
msgid "Audio Streams"
msgstr "Fluxes dàudio"
#: src/bin/clapper-app/ui/clapper-app-info-window.ui:333
msgid "Subtitle Streams"
msgstr "Fluxes de sostítol"
#: src/bin/clapper-app/ui/clapper-app-initial-state.ui:46
msgid "Start by adding media to playback queue"
msgstr "Començatz per apondre de mèdias a la fila despèra"
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:15
msgid "Seeking"
msgstr "Recèrca"
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:18
msgid "Method"
msgstr "Metòde"
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:19
msgid "A preferred method used for seeking"
msgstr "Metòde preferit dutilizar per se desplaçar"
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:32
msgid "Value"
msgstr "Valor"
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:33
msgid "Value used for seeking forward/backward"
msgstr "Valor utilizada per avançar/recular"
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:46
msgid "Unit"
msgstr "Unitat"
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:47
msgid "An unit of a seek forward/backward value"
msgstr "Una unitat per la valor davançament/reculada"
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:51
msgid "Second"
msgstr "Segonda"
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:52
msgid "Minute"
msgstr "Minuta"
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:53
msgid "Percentage"
msgstr "Percentatge"
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:63
msgid "Features"
msgstr "Foncionalitats"
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:66
msgid "Server"
msgstr "Servidor"
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:67
msgid "Control player remotely"
msgstr "Contrarotlar lo lectura a distància"
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:83
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:103
msgid "Offset"
msgstr "Decalatge"
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:84
msgid "Synchronisation offset in seconds between the audio and video streams"
msgstr "Descalatge de la sincronizacion en segonda entre lo flux àudio e lo flux vidèo"
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:104
msgid "Synchronisation offset in seconds between the subtitle and video streams"
msgstr "Descalatge de la sincronizacion en segonda entre lo flux de sostítol e lo flux vidèo"
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:118
msgid "Default font"
msgstr "Polissa per defaut"
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:119
msgid "Text font used for subtitles when media does not explicitly specify one"
msgstr "Polissa utiliza pels sostítols quand lo mèdia nespecifica pas explicitament una."
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:137
msgid "Tweaks"
msgstr "Ajustaments"
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:144
msgid "Plugin ranking"
msgstr "Classament lempeuton"
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:145
msgid "Alter default ranks of GStreamer plugins"
msgstr "Alterar las foncionalitats per defaut dels empeutons GStreamer"
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:164
msgid "Plugin Ranking"
msgstr "Nòta de lempeuton"
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:182
msgid "Available plugins"
msgstr "Empeutons disponibles"
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:183
msgid "Select a plugin and its feature to override rank for. When multiple elements have similiar capabilities, the one with highest value is preferred."
msgstr "Seleccionar un empeuton e sas foncionalitats de subrecargar. Quand mai dun element an de foncionalitats similaras, aquela amb la valor mai nauta es preferida."
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:186
msgid "Plugin"
msgstr "Empeuton"
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:195
msgid "Plugin feature"
msgstr "Foncionalitat de lemeuton"
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:213
msgid "Add override"
msgstr "Apondre una subrecarga"
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:229
msgid "Rank overrides"
msgstr "Classament de las subrecargas"
#: src/bin/clapper-app/ui/clapper-app-queue-list.ui:60
#: src/bin/clapper-app/ui/clapper-app-uri-dialog.ui:23
msgid "Add"
msgstr "Apondre"
#: src/bin/clapper-app/ui/clapper-app-queue-list.ui:87
msgid "Queue progression"
msgstr "Progression de la fila"
#: src/bin/clapper-app/ui/clapper-app-uri-dialog.ui:6
msgid "Add URI"
msgstr "Apondre una URI"
#: src/bin/clapper-app/ui/clapper-app-uri-dialog.ui:7
msgid "Insert an URI to be added to playback queue"
msgstr "Inserir una URI dapondre a la fila despèra"
#: src/bin/clapper-app/ui/clapper-app-uri-dialog.ui:18
msgid "Enter or drop URI here"
msgstr "Picatz o depausatz una URI aicí"
#: src/bin/clapper-app/ui/clapper-app-uri-dialog.ui:22
msgid "Cancel"
msgstr "Anullar"
#: src/bin/clapper-app/ui/clapper-app-video-stream-list-item.ui:24
msgid "Resolution"
msgstr "Resolucion"
#: src/bin/clapper-app/ui/clapper-app-video-stream-list-item.ui:39
msgid "Framerate"
msgstr "Cadéncia"
#: src/bin/clapper-app/ui/clapper-app-video-stream-list-item.ui:63
msgid "Pixel Format"
msgstr "Format de pixèl"
#. TRANSLATORS: Put your name(s) here for credits or leave untranslated
#: src/bin/clapper-app/clapper-app-about-window.c:43
msgid "translator-credits"
msgstr "Quentin PAGÈS"
#: src/bin/clapper-app/clapper-app-info-window.c:86
msgid "Hardware"
msgstr "Material"
#: src/bin/clapper-app/clapper-app-info-window.c:86
msgid "Software"
msgstr "Logicial"
#: src/bin/clapper-app/clapper-app-preferences-window.c:441
msgid "Accurate"
msgstr "Precís"
#: src/bin/clapper-app/clapper-app-preferences-window.c:443
msgid "Normal"
msgstr ""
#: src/bin/clapper-app/clapper-app-preferences-window.c:445
msgid "Fast"
msgstr "Rapid"
#: src/bin/clapper-app/clapper-app-utils.c:66
msgid "No progression"
msgstr "Cap de progression"
#: src/bin/clapper-app/clapper-app-utils.c:67
msgid "Consecutive"
msgstr "Consecutiu"
#: src/bin/clapper-app/clapper-app-utils.c:68
msgid "Repeat item"
msgstr "Repetir lelement"
#: src/bin/clapper-app/clapper-app-utils.c:69
msgid "Carousel"
msgstr "Vira-vira"
#: src/bin/clapper-app/clapper-app-utils.c:70
msgid "Shuffle"
msgstr "Aleatòri"
#: src/bin/clapper-app/clapper-app-window.c:828
msgid "Drop on title bar to play now or anywhere else to enqueue."
msgstr "Depausar per la barra de títol per jogar ara o endacòm mai per metre en espèra."

View File

@@ -3,7 +3,7 @@ msgstr ""
"Project-Id-Version: clapper\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-04-21 20:22+0200\n"
"PO-Revision-Date: 2024-04-26 04:23\n"
"PO-Revision-Date: 2024-04-21 20:51\n"
"Last-Translator: \n"
"Language-Team: Portuguese, Brazilian\n"
"Language: pt_BR\n"
@@ -20,7 +20,7 @@ msgstr ""
#: src/bin/clapper-app/ui/clapper-app-audio-stream-list-item.ui:14
#: src/bin/clapper-app/ui/clapper-app-video-stream-list-item.ui:14
msgid "Codec"
msgstr "Codec"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-audio-stream-list-item.ui:24
msgid "Channels"
@@ -28,21 +28,21 @@ msgstr "Canais"
#: src/bin/clapper-app/ui/clapper-app-audio-stream-list-item.ui:36
msgid "Sample Format"
msgstr "Formato de amostra"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-audio-stream-list-item.ui:46
msgid "Sample Rate"
msgstr "Taxa de amostragem"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-audio-stream-list-item.ui:58
#: src/bin/clapper-app/ui/clapper-app-video-stream-list-item.ui:51
msgid "Bitrate"
msgstr "Taxa de bits (Bitrate)"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-audio-stream-list-item.ui:70
#: src/bin/clapper-app/ui/clapper-app-subtitle-stream-list-item.ui:24
msgid "Language"
msgstr "Idioma"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-headerbar.ui:183
#: src/bin/clapper-app/ui/clapper-app-initial-state.ui:80
@@ -52,7 +52,7 @@ msgstr "Preferências"
#: src/bin/clapper-app/ui/clapper-app-headerbar.ui:187
#: src/bin/clapper-app/ui/clapper-app-initial-state.ui:84
msgid "Keyboard Shortcuts"
msgstr "Atalhos de teclado"
msgstr ""
#. TRANSLATORS: Please do not translate application name
#: src/bin/clapper-app/ui/clapper-app-headerbar.ui:194
@@ -71,15 +71,15 @@ msgstr "Mostrar atalhos"
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:19
msgid "Open preferences"
msgstr "Abrir preferências"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:25
msgid "Toggle fullscreen"
msgstr "Ativar/Desativar tela cheia"
msgstr "Tela Cheia"
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:26
msgid "Double tap | Double click"
msgstr "Toque duplo | Clique duplo"
msgstr "Toque duplo duplo Clique duplo"
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:32
msgid "Quit"
@@ -94,31 +94,31 @@ msgstr "Mídia"
#: src/bin/clapper-app/ui/clapper-app-initial-state.ui:55
#: src/bin/clapper-app/ui/clapper-app-queue-list.ui:178
msgid "Add Files…"
msgstr "Adicionar arquivos…"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:49
#: src/bin/clapper-app/ui/clapper-app-initial-state.ui:65
#: src/bin/clapper-app/ui/clapper-app-queue-list.ui:182
msgid "Add URI…"
msgstr "Adicionar URI…"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:57
msgid "Queue"
msgstr "Fila"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:61
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:68
msgid "Next item"
msgstr "Próximo item"
msgstr "Próximo"
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:75
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:82
msgid "Previous item"
msgstr "Item anterior"
msgstr "Anterior"
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:88
msgid "Change progression mode"
msgstr "Mudar modo de progressão"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:96
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:76
@@ -127,31 +127,31 @@ msgstr "Reprodução"
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:99
msgid "Toggle play"
msgstr "Alternar reproduzir/pausar"
msgstr "Alternar video"
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:100
msgid "Tap | Left click"
msgstr "Toque | Clique esquerdo"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:107
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:115
msgid "Seek forward"
msgstr "Avançar"
msgstr "Avançar para frente"
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:108
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:132
msgid "Double tap (right side) | Scroll right"
msgstr "Toque duplo (lado direito) | Rolar para a direita"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:116
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:124
msgid "Double tap (left side) | Scroll left"
msgstr "Toque duplo (lado esquerdo) | Rolar para a esquerda"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:123
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:131
msgid "Seek backward"
msgstr "Retroceder"
msgstr "Volta video"
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:138
msgid "Volume up"
@@ -159,7 +159,7 @@ msgstr "Aumentar o volume"
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:139
msgid "Scroll up"
msgstr "Rolar para cima"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:145
msgid "Volume down"
@@ -167,33 +167,33 @@ msgstr "Diminuir o volume"
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:146
msgid "Scroll down"
msgstr "Rolar para baixo"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:152
msgid "Toggle mute"
msgstr "Ativar/Desativar som"
msgstr "Ativar/Desativar Som"
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:158
msgid "Speed up"
msgstr "Acelerar"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:164
msgid "Speed down"
msgstr "Desacelerar"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:171
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:178
msgid "Next chapter"
msgstr "Próximo capítulo"
msgstr "Próximo Capítulo"
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:185
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:192
msgid "Previous chapter"
msgstr "Capítulo anterior"
msgstr "Capítulo Anterior"
#: src/bin/clapper-app/ui/clapper-app-info-window.ui:13
msgid "Info"
msgstr "Informações"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-info-window.ui:35
#: src/bin/clapper-app/ui/clapper-app-subtitle-stream-list-item.ui:14
@@ -202,26 +202,26 @@ msgstr "Título"
#: src/bin/clapper-app/ui/clapper-app-info-window.ui:49
msgid "Container Format"
msgstr "Formato de contêiner"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-info-window.ui:63
msgid "Duration"
msgstr "Duração"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-info-window.ui:81
msgid "Streams"
msgstr "Fluxos de dados"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-info-window.ui:84
#: src/bin/clapper-app/clapper-app-list-item-utils.c:36
msgid "Video"
msgstr "Vídeo"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-info-window.ui:107
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:80
#: src/bin/clapper-app/clapper-app-list-item-utils.c:39
msgid "Audio"
msgstr "Áudio"
msgstr "Audio"
#: src/bin/clapper-app/ui/clapper-app-info-window.ui:130
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:100
@@ -231,54 +231,54 @@ msgstr "Legendas"
#: src/bin/clapper-app/ui/clapper-app-info-window.ui:155
msgid "Video Playback"
msgstr "Reprodução de vídeo"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-info-window.ui:158
#: src/bin/clapper-app/ui/clapper-app-info-window.ui:199
msgid "Decoder"
msgstr "Decodificador"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-info-window.ui:170
#: src/bin/clapper-app/ui/clapper-app-info-window.ui:211
msgid "Filter"
msgstr "Filtro"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-info-window.ui:182
#: src/bin/clapper-app/ui/clapper-app-info-window.ui:223
msgid "Sink"
msgstr "Sink"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-info-window.ui:196
msgid "Audio Playback"
msgstr "Reprodução de áudio"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-info-window.ui:247
msgid "Video Streams"
msgstr "Fluxos de vídeo"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-info-window.ui:290
msgid "Audio Streams"
msgstr "Fluxos de áudio"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-info-window.ui:333
msgid "Subtitle Streams"
msgstr "Fluxos de legendas"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-initial-state.ui:46
msgid "Start by adding media to playback queue"
msgstr "Comece adicionando alguma mídia à fila de reprodução"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:15
msgid "Seeking"
msgstr "Avançar/Retroceder"
msgstr "Buscando"
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:18
msgid "Method"
msgstr "Método"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:19
msgid "A preferred method used for seeking"
msgstr "Um método preferencial usado para avançar/retroceder"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:32
msgid "Value"
@@ -286,7 +286,7 @@ msgstr "Valor"
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:33
msgid "Value used for seeking forward/backward"
msgstr "Valor usado para avançar/retroceder"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:46
msgid "Unit"
@@ -294,7 +294,7 @@ msgstr "Unidade"
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:47
msgid "An unit of a seek forward/backward value"
msgstr "Uma unidade para o valor usado para avançar/retroceder"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:51
msgid "Second"
@@ -310,7 +310,7 @@ msgstr "Porcentagem"
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:63
msgid "Features"
msgstr "Funcionalidades"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:66
msgid "Server"
@@ -318,20 +318,20 @@ msgstr "Servidor"
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:67
msgid "Control player remotely"
msgstr "Controlar o reprodutor de vídeo remotamente"
msgstr "Controle o video remotamente "
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:83
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:103
msgid "Offset"
msgstr "Desvio"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:84
msgid "Synchronisation offset in seconds between the audio and video streams"
msgstr "Desvio de sincronização em segundos entre os fluxos de áudio e de vídeo"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:104
msgid "Synchronisation offset in seconds between the subtitle and video streams"
msgstr "Desvio de sincronização em segundos entre os fluxos de vídeo e de legendas"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:118
msgid "Default font"
@@ -339,7 +339,7 @@ msgstr "Fonte padrão"
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:119
msgid "Text font used for subtitles when media does not explicitly specify one"
msgstr "Fonte de texto usada para as legendas quando a mídia não especificar alguma explicitamente"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:137
msgid "Tweaks"
@@ -351,52 +351,52 @@ msgstr "Classificação do plugin"
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:145
msgid "Alter default ranks of GStreamer plugins"
msgstr "Alterar as classificações padrão de plugins do GStreamer"
msgstr "Altera os ranks padrão dos plugins do GStreamer"
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:164
msgid "Plugin Ranking"
msgstr "Classificação dos plugins"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:182
msgid "Available plugins"
msgstr "Plugins disponíveis"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:183
msgid "Select a plugin and its feature to override rank for. When multiple elements have similiar capabilities, the one with highest value is preferred."
msgstr "Escolha um plugin e sua funcionalidade para alterar sua classificação. Quando múltiplos elementos possuem funcionalidades similares, aquele com o maior valor de classificação tem a preferência."
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:186
msgid "Plugin"
msgstr "Plugin"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:195
msgid "Plugin feature"
msgstr "Funcionalidade do plugin"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:213
msgid "Add override"
msgstr "Adicionar alteração"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:229
msgid "Rank overrides"
msgstr "Alterações de classificação"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-queue-list.ui:60
#: src/bin/clapper-app/ui/clapper-app-uri-dialog.ui:23
msgid "Add"
msgstr "Adicionar"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-queue-list.ui:87
msgid "Queue progression"
msgstr "Progressão da fila"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-uri-dialog.ui:6
msgid "Add URI"
msgstr "Adicionar URI"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-uri-dialog.ui:7
msgid "Insert an URI to be added to playback queue"
msgstr "Insira um URI para ser adicionado à fila de reprodução"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-uri-dialog.ui:18
msgid "Enter or drop URI here"
@@ -408,29 +408,28 @@ msgstr "Cancelar"
#: src/bin/clapper-app/ui/clapper-app-video-stream-list-item.ui:24
msgid "Resolution"
msgstr "Resolução"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-video-stream-list-item.ui:39
msgid "Framerate"
msgstr "Taxa de quadros"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-video-stream-list-item.ui:63
msgid "Pixel Format"
msgstr "Formato de pixel"
msgstr ""
#. TRANSLATORS: Put your name(s) here for credits or leave untranslated
#: src/bin/clapper-app/clapper-app-about-window.c:43
msgid "translator-credits"
msgstr "KevenDoriaLinuxBR\n"
"Filipe Motta <luizfilipemotta@gmail.com>"
msgstr "KevenDoriaLinuxBR"
#: src/bin/clapper-app/clapper-app-info-window.c:86
msgid "Hardware"
msgstr "Hardware"
msgstr ""
#: src/bin/clapper-app/clapper-app-info-window.c:86
msgid "Software"
msgstr "Software"
msgstr ""
#: src/bin/clapper-app/clapper-app-preferences-window.c:441
msgid "Accurate"
@@ -446,25 +445,25 @@ msgstr "Rápido"
#: src/bin/clapper-app/clapper-app-utils.c:66
msgid "No progression"
msgstr "Sem progressão"
msgstr ""
#: src/bin/clapper-app/clapper-app-utils.c:67
msgid "Consecutive"
msgstr "Consecutiva"
msgstr ""
#: src/bin/clapper-app/clapper-app-utils.c:68
msgid "Repeat item"
msgstr "Repetir item"
msgstr ""
#: src/bin/clapper-app/clapper-app-utils.c:69
msgid "Carousel"
msgstr "Repetir tudo"
msgstr ""
#: src/bin/clapper-app/clapper-app-utils.c:70
msgid "Shuffle"
msgstr "Aleatório"
msgstr ""
#: src/bin/clapper-app/clapper-app-window.c:828
msgid "Drop on title bar to play now or anywhere else to enqueue."
msgstr "Solte na barra de título para reproduzir agora ou em qualquer outro lugar para adicionar à fila."
msgstr ""

View File

@@ -3,7 +3,7 @@ msgstr ""
"Project-Id-Version: clapper\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-04-21 20:22+0200\n"
"PO-Revision-Date: 2024-05-20 11:58\n"
"PO-Revision-Date: 2024-04-21 20:51\n"
"Last-Translator: \n"
"Language-Team: Chinese Simplified\n"
"Language: zh_CN\n"
@@ -20,7 +20,7 @@ msgstr ""
#: src/bin/clapper-app/ui/clapper-app-audio-stream-list-item.ui:14
#: src/bin/clapper-app/ui/clapper-app-video-stream-list-item.ui:14
msgid "Codec"
msgstr "编解码器"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-audio-stream-list-item.ui:24
msgid "Channels"
@@ -28,21 +28,21 @@ msgstr "声道"
#: src/bin/clapper-app/ui/clapper-app-audio-stream-list-item.ui:36
msgid "Sample Format"
msgstr "采样格式"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-audio-stream-list-item.ui:46
msgid "Sample Rate"
msgstr "采样率"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-audio-stream-list-item.ui:58
#: src/bin/clapper-app/ui/clapper-app-video-stream-list-item.ui:51
msgid "Bitrate"
msgstr "比特率"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-audio-stream-list-item.ui:70
#: src/bin/clapper-app/ui/clapper-app-subtitle-stream-list-item.ui:24
msgid "Language"
msgstr "语言"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-headerbar.ui:183
#: src/bin/clapper-app/ui/clapper-app-initial-state.ui:80
@@ -52,7 +52,7 @@ msgstr "首选项"
#: src/bin/clapper-app/ui/clapper-app-headerbar.ui:187
#: src/bin/clapper-app/ui/clapper-app-initial-state.ui:84
msgid "Keyboard Shortcuts"
msgstr "键盘快捷键"
msgstr ""
#. TRANSLATORS: Please do not translate application name
#: src/bin/clapper-app/ui/clapper-app-headerbar.ui:194
@@ -71,7 +71,7 @@ msgstr "显示快捷键"
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:19
msgid "Open preferences"
msgstr "打开首选项"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:25
msgid "Toggle fullscreen"
@@ -94,17 +94,17 @@ msgstr "媒体"
#: src/bin/clapper-app/ui/clapper-app-initial-state.ui:55
#: src/bin/clapper-app/ui/clapper-app-queue-list.ui:178
msgid "Add Files…"
msgstr "添加文件…"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:49
#: src/bin/clapper-app/ui/clapper-app-initial-state.ui:65
#: src/bin/clapper-app/ui/clapper-app-queue-list.ui:182
msgid "Add URI…"
msgstr "添加URI..."
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:57
msgid "Queue"
msgstr "队列"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:61
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:68
@@ -118,12 +118,12 @@ msgstr "上一项"
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:88
msgid "Change progression mode"
msgstr "切换播放模式"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:96
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:76
msgid "Playback"
msgstr "放"
msgstr "放"
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:99
msgid "Toggle play"
@@ -131,7 +131,7 @@ msgstr "切换播放"
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:100
msgid "Tap | Left click"
msgstr "单击 | 左键点击"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:107
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:115
@@ -141,12 +141,12 @@ msgstr "快进"
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:108
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:132
msgid "Double tap (right side) | Scroll right"
msgstr "双击(右侧) | 向右滚动"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:116
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:124
msgid "Double tap (left side) | Scroll left"
msgstr "双击(左侧) | 向左滚动"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:123
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:131
@@ -159,7 +159,7 @@ msgstr "提高音量"
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:139
msgid "Scroll up"
msgstr "向上滚动"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:145
msgid "Volume down"
@@ -167,7 +167,7 @@ msgstr "降低音量"
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:146
msgid "Scroll down"
msgstr "向下滚动"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:152
msgid "Toggle mute"
@@ -175,11 +175,11 @@ msgstr "切换静音"
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:158
msgid "Speed up"
msgstr "加速"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:164
msgid "Speed down"
msgstr "减速"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:171
#: src/bin/clapper-app/ui/clapper-app-help-overlay.ui:178
@@ -193,7 +193,7 @@ msgstr "上一章节"
#: src/bin/clapper-app/ui/clapper-app-info-window.ui:13
msgid "Info"
msgstr "信息"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-info-window.ui:35
#: src/bin/clapper-app/ui/clapper-app-subtitle-stream-list-item.ui:14
@@ -202,20 +202,20 @@ msgstr "标题"
#: src/bin/clapper-app/ui/clapper-app-info-window.ui:49
msgid "Container Format"
msgstr "封装格式"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-info-window.ui:63
msgid "Duration"
msgstr "时长"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-info-window.ui:81
msgid "Streams"
msgstr "串流"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-info-window.ui:84
#: src/bin/clapper-app/clapper-app-list-item-utils.c:36
msgid "Video"
msgstr "视频"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-info-window.ui:107
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:80
@@ -231,42 +231,42 @@ msgstr "字幕"
#: src/bin/clapper-app/ui/clapper-app-info-window.ui:155
msgid "Video Playback"
msgstr "视频回放"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-info-window.ui:158
#: src/bin/clapper-app/ui/clapper-app-info-window.ui:199
msgid "Decoder"
msgstr "解码器"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-info-window.ui:170
#: src/bin/clapper-app/ui/clapper-app-info-window.ui:211
msgid "Filter"
msgstr "过滤器"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-info-window.ui:182
#: src/bin/clapper-app/ui/clapper-app-info-window.ui:223
msgid "Sink"
msgstr "Sink"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-info-window.ui:196
msgid "Audio Playback"
msgstr "音频回放"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-info-window.ui:247
msgid "Video Streams"
msgstr "视频流"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-info-window.ui:290
msgid "Audio Streams"
msgstr "音频流"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-info-window.ui:333
msgid "Subtitle Streams"
msgstr "字幕流"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-initial-state.ui:46
msgid "Start by adding media to playback queue"
msgstr "添加媒体到播放队列即可开始"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:15
msgid "Seeking"
@@ -274,11 +274,11 @@ msgstr "定位播放"
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:18
msgid "Method"
msgstr "快进/快退方式"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:19
msgid "A preferred method used for seeking"
msgstr "快进/快退的偏好方式"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:32
msgid "Value"
@@ -286,7 +286,7 @@ msgstr "值"
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:33
msgid "Value used for seeking forward/backward"
msgstr "用于快进/快退的数值"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:46
msgid "Unit"
@@ -294,7 +294,7 @@ msgstr "单位"
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:47
msgid "An unit of a seek forward/backward value"
msgstr "快进/快退数值的单位"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:51
msgid "Second"
@@ -310,7 +310,7 @@ msgstr "百分比"
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:63
msgid "Features"
msgstr "功能"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:66
msgid "Server"
@@ -323,15 +323,15 @@ msgstr "远程控制播放器"
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:83
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:103
msgid "Offset"
msgstr "偏移"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:84
msgid "Synchronisation offset in seconds between the audio and video streams"
msgstr "音频流和视频流之间的同步偏移秒数"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:104
msgid "Synchronisation offset in seconds between the subtitle and video streams"
msgstr "字幕流和视频流之间的同步偏移秒数"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:118
msgid "Default font"
@@ -339,7 +339,7 @@ msgstr "默认字体"
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:119
msgid "Text font used for subtitles when media does not explicitly specify one"
msgstr "媒体未特别指定时,用于字幕的字体"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:137
msgid "Tweaks"
@@ -355,48 +355,48 @@ msgstr "更改 GStreamer 插件的默认等级"
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:164
msgid "Plugin Ranking"
msgstr "插件排序"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:182
msgid "Available plugins"
msgstr "可用插件"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:183
msgid "Select a plugin and its feature to override rank for. When multiple elements have similiar capabilities, the one with highest value is preferred."
msgstr "选择一个插件及其用于覆盖等级的功能。当多个元素具有相似的功能时,具有最高值的插件功能会优先使用。"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:186
msgid "Plugin"
msgstr "插件"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:195
msgid "Plugin feature"
msgstr "插件功能"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:213
msgid "Add override"
msgstr "添加覆盖"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-preferences-window.ui:229
msgid "Rank overrides"
msgstr "覆盖排序"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-queue-list.ui:60
#: src/bin/clapper-app/ui/clapper-app-uri-dialog.ui:23
msgid "Add"
msgstr "添加"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-queue-list.ui:87
msgid "Queue progression"
msgstr "播放列队"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-uri-dialog.ui:6
msgid "Add URI"
msgstr "添加"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-uri-dialog.ui:7
msgid "Insert an URI to be added to playback queue"
msgstr "插入要添加到播放队列的URI"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-uri-dialog.ui:18
msgid "Enter or drop URI here"
@@ -408,15 +408,15 @@ msgstr "取消"
#: src/bin/clapper-app/ui/clapper-app-video-stream-list-item.ui:24
msgid "Resolution"
msgstr "分辨率"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-video-stream-list-item.ui:39
msgid "Framerate"
msgstr "帧率"
msgstr ""
#: src/bin/clapper-app/ui/clapper-app-video-stream-list-item.ui:63
msgid "Pixel Format"
msgstr "像素格式"
msgstr ""
#. TRANSLATORS: Put your name(s) here for credits or leave untranslated
#: src/bin/clapper-app/clapper-app-about-window.c:43
@@ -426,11 +426,11 @@ msgstr "刘韬\n"
#: src/bin/clapper-app/clapper-app-info-window.c:86
msgid "Hardware"
msgstr "硬件"
msgstr ""
#: src/bin/clapper-app/clapper-app-info-window.c:86
msgid "Software"
msgstr "软件"
msgstr ""
#: src/bin/clapper-app/clapper-app-preferences-window.c:441
msgid "Accurate"
@@ -438,7 +438,7 @@ msgstr "精确"
#: src/bin/clapper-app/clapper-app-preferences-window.c:443
msgid "Normal"
msgstr "标准"
msgstr "一般"
#: src/bin/clapper-app/clapper-app-preferences-window.c:445
msgid "Fast"
@@ -446,25 +446,25 @@ msgstr "快速"
#: src/bin/clapper-app/clapper-app-utils.c:66
msgid "No progression"
msgstr "单集"
msgstr ""
#: src/bin/clapper-app/clapper-app-utils.c:67
msgid "Consecutive"
msgstr "连续"
msgstr ""
#: src/bin/clapper-app/clapper-app-utils.c:68
msgid "Repeat item"
msgstr "单集循环"
msgstr ""
#: src/bin/clapper-app/clapper-app-utils.c:69
msgid "Carousel"
msgstr "队列循环"
msgstr ""
#: src/bin/clapper-app/clapper-app-utils.c:70
msgid "Shuffle"
msgstr "随机"
msgstr ""
#: src/bin/clapper-app/clapper-app-window.c:828
msgid "Drop on title bar to play now or anywhere else to enqueue."
msgstr "拖放到标题栏即刻播放或拖放任何其他位置加入队列。"
msgstr ""

View File

@@ -0,0 +1,102 @@
/* Clapper GTK Integration Library
* Copyright (C) 2024 Rafał Dzięgiel <rafostar.github@gmail.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the
* Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
* Boston, MA 02110-1301, USA.
*/
/**
* ClapperGtkEngageLayer:
*
* A layer with big `play` button, engaging user to start the playback.
*
* #ClapperGtkEngageLayer widget is meant to be overlaid on top of
* [class@ClapperGtk.Video] as a normal (non-fading) overlay. It takes
* care of fading itself once clicked and/or when playback is started.
*
* Since: 0.8
*/
#include "config.h"
#include <clapper/clapper.h>
#include "clapper-gtk-engage-layer.h"
#define GST_CAT_DEFAULT clapper_gtk_engage_layer_debug
GST_DEBUG_CATEGORY_STATIC (GST_CAT_DEFAULT);
struct _ClapperGtkEngageLayer
{
ClapperGtkLeadContainer parent;
};
#define parent_class clapper_gtk_engage_layer_parent_class
G_DEFINE_TYPE (ClapperGtkEngageLayer, clapper_gtk_engage_layer, CLAPPER_GTK_TYPE_LEAD_CONTAINER)
static void
adapt_cb (ClapperGtkContainer *container, gboolean adapt,
ClapperGtkEngageLayer *self)
{
GST_DEBUG_OBJECT (self, "Adapted: %s", (adapt) ? "yes" : "no");
}
/**
* clapper_gtk_engage_layer_new:
*
* Creates a new #ClapperGtkEngageLayer instance.
*
* Returns: a new playback engage layer #GtkWidget.
*
* Since: 0.8
*/
GtkWidget *
clapper_gtk_engage_layer_new (void)
{
return g_object_new (CLAPPER_GTK_TYPE_ENGAGE_LAYER, NULL);
}
static void
clapper_gtk_engage_layer_init (ClapperGtkEngageLayer *self)
{
gtk_widget_init_template (GTK_WIDGET (self));
}
static void
clapper_gtk_engage_layer_dispose (GObject *object)
{
gtk_widget_dispose_template (GTK_WIDGET (object), CLAPPER_GTK_TYPE_ENGAGE_LAYER);
G_OBJECT_CLASS (parent_class)->dispose (object);
}
static void
clapper_gtk_engage_layer_class_init (ClapperGtkEngageLayerClass *klass)
{
GObjectClass *gobject_class = (GObjectClass *) klass;
GtkWidgetClass *widget_class = (GtkWidgetClass *) klass;
GST_DEBUG_CATEGORY_INIT (GST_CAT_DEFAULT, "clappergtkengagelayer", 0,
"Clapper GTK Engage Layer");
gobject_class->dispose = clapper_gtk_engage_layer_dispose;
gtk_widget_class_set_template_from_resource (widget_class,
CLAPPER_GTK_RESOURCE_PREFIX "/ui/clapper-gtk-engage-layer.ui");
gtk_widget_class_bind_template_callback (widget_class, adapt_cb);
gtk_widget_class_set_css_name (widget_class, "clapper-gtk-engage-layer");
}

View File

@@ -0,0 +1,41 @@
/* Clapper GTK Integration Library
* Copyright (C) 2024 Rafał Dzięgiel <rafostar.github@gmail.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the
* Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
* Boston, MA 02110-1301, USA.
*/
#pragma once
#if !defined(__CLAPPER_GTK_INSIDE__) && !defined(CLAPPER_GTK_COMPILATION)
#error "Only <clapper-gtk/clapper-gtk.h> can be included directly."
#endif
#include <glib.h>
#include <glib-object.h>
#include <gtk/gtk.h>
#include <clapper-gtk/clapper-gtk-lead-container.h>
G_BEGIN_DECLS
#define CLAPPER_GTK_TYPE_ENGAGE_LAYER (clapper_gtk_engage_layer_get_type())
#define CLAPPER_GTK_ENGAGE_LAYER_CAST(obj) ((ClapperGtkEngageLayer *)(obj))
G_DECLARE_FINAL_TYPE (ClapperGtkEngageLayer, clapper_gtk_engage_layer, CLAPPER_GTK, ENGAGE_LAYER, ClapperGtkLeadContainer)
GtkWidget * clapper_gtk_engage_layer_new (void);
G_END_DECLS

View File

@@ -30,7 +30,6 @@
#include <clapper/clapper.h>
#include "clapper-gtk-extra-menu-button.h"
#include "clapper-gtk-stream-check-button-private.h"
#include "clapper-gtk-utils-private.h"
#define PERCENTAGE_ROUND(a) (round ((gdouble) a / 0.01) * 0.01)
@@ -454,9 +453,6 @@ clapper_gtk_extra_menu_button_init (ClapperGtkExtraMenuButton *self)
{ "open-subtitle-stream", open_subtitle_stream, NULL, NULL, NULL },
};
/* Ensure private types */
g_type_ensure (CLAPPER_GTK_TYPE_STREAM_CHECK_BUTTON);
gtk_widget_init_template (GTK_WIDGET (self));
self->action_group = g_simple_action_group_new ();

View File

@@ -1108,11 +1108,6 @@ _fading_overlay_revealed_cb (GtkRevealer *revealer,
*
* Creates a new #ClapperGtkVideo instance.
*
* Newly created video widget will also set some default GStreamer elements
* on its [class@Clapper.Player]. This includes Clapper own video sink and
* a "scaletempo" element as audio filter. Both can still be changed after
* construction by setting corresponding player properties.
*
* Returns: a new video #GtkWidget.
*/
GtkWidget *
@@ -1389,10 +1384,6 @@ clapper_gtk_video_init (ClapperGtkVideo *self)
self->touch_fade_delay = DEFAULT_TOUCH_FADE_DELAY;
self->auto_inhibit = DEFAULT_AUTO_INHIBIT;
/* Ensure private types */
g_type_ensure (CLAPPER_GTK_TYPE_STATUS);
g_type_ensure (CLAPPER_GTK_TYPE_BUFFERING_ANIMATION);
gtk_widget_init_template (GTK_WIDGET (self));
gtk_gesture_group (self->touch_gesture, self->click_gesture);
@@ -1402,7 +1393,7 @@ static void
clapper_gtk_video_constructed (GObject *object)
{
ClapperGtkVideo *self = CLAPPER_GTK_VIDEO_CAST (object);
GstElement *afilter, *vsink;
GstElement *vsink = gst_element_factory_make ("clappersink", NULL);
ClapperQueue *queue;
self->player = clapper_player_new ();
@@ -1413,8 +1404,6 @@ clapper_gtk_video_constructed (GObject *object)
g_signal_connect (self->player, "notify::video-sink",
G_CALLBACK (_video_sink_changed_cb), self);
vsink = gst_element_factory_make ("clappersink", NULL);
/* FIXME: This is a temporary workaround for lack
* of DMA_DRM negotiation support in sink itself */
if (G_LIKELY (vsink != NULL)) {
@@ -1429,13 +1418,9 @@ clapper_gtk_video_constructed (GObject *object)
vsink = bin;
}
}
clapper_player_set_video_sink (self->player, vsink);
}
afilter = gst_element_factory_make ("scaletempo", NULL);
if (G_LIKELY (afilter != NULL))
clapper_player_set_audio_filter (self->player, afilter);
clapper_player_set_video_sink (self->player, vsink);
g_signal_connect (self->player, "error",
G_CALLBACK (_player_error_cb), self);
@@ -1462,24 +1447,6 @@ clapper_gtk_video_dispose (GObject *object)
g_clear_handle_id (&self->fade_timeout, g_source_remove);
/* Something else might still be holding a reference on the player,
* thus we should disconnect everything before disposing template */
if (self->player) {
ClapperQueue *queue = clapper_player_get_queue (self->player);
g_signal_handlers_disconnect_by_func (self->player,
_player_state_changed_cb, self);
g_signal_handlers_disconnect_by_func (self->player,
_video_sink_changed_cb, self);
g_signal_handlers_disconnect_by_func (self->player,
_player_error_cb, self);
g_signal_handlers_disconnect_by_func (self->player,
_player_missing_plugin_cb, self);
g_signal_handlers_disconnect_by_func (queue,
_queue_current_item_changed_cb, self);
}
gtk_widget_dispose_template (GTK_WIDGET (object), CLAPPER_GTK_TYPE_VIDEO);
g_clear_pointer (&self->overlay, gtk_widget_unparent);

View File

@@ -2,6 +2,7 @@
<gresources>
<gresource prefix="/com/github/rafostar/Clapper/clapper-gtk">
<file preprocess="xml-stripblanks">ui/clapper-gtk-billboard.ui</file>
<file preprocess="xml-stripblanks">ui/clapper-gtk-engage-layer.ui</file>
<file preprocess="xml-stripblanks">ui/clapper-gtk-extra-menu-button.ui</file>
<file preprocess="xml-stripblanks">ui/clapper-gtk-seek-bar.ui</file>
<file preprocess="xml-stripblanks">ui/clapper-gtk-simple-controls.ui</file>

View File

@@ -26,6 +26,7 @@
#include <clapper-gtk/clapper-gtk-billboard.h>
#include <clapper-gtk/clapper-gtk-container.h>
#include <clapper-gtk/clapper-gtk-engage-layer.h>
#include <clapper-gtk/clapper-gtk-extra-menu-button.h>
#include <clapper-gtk/clapper-gtk-lead-container.h>
#include <clapper-gtk/clapper-gtk-next-item-button.h>

View File

@@ -5,23 +5,17 @@ clapper-gtk-video button.osd,
clapper-gtk-video box.osd,
clapper-gtk-video clapper-gtk-title-header.osd,
clapper-gtk-video .osd popover contents,
clapper-gtk-video .osd popover arrow,
clapper-gtk-video windowcontrols.osd button image {
clapper-gtk-video .osd popover arrow {
background-color: rgba(38,38,38,0.8);
}
clapper-gtk-video button.osd:hover,
clapper-gtk-video button.osd:checked,
clapper-gtk-video windowcontrols.osd button:hover image,
clapper-gtk-video windowcontrols.osd button:checked image {
clapper-gtk-video button.osd:checked {
background-color: rgba(63,63,63,0.8);
}
clapper-gtk-video button.osd:active,
clapper-gtk-video windowcontrols.osd button:active image {
clapper-gtk-video button.osd:active {
background-color: rgba(82,82,82,0.8);
}
clapper-gtk-video box.osd listview.osd,
clapper-gtk-video windowcontrols.osd,
clapper-gtk-video clapper-gtk-status.osd {
clapper-gtk-video box.osd listview.osd {
background-color: transparent;
}

View File

@@ -80,6 +80,7 @@ clappergtk_headers = [
'clapper-gtk-enums.h',
'clapper-gtk-billboard.h',
'clapper-gtk-container.h',
'clapper-gtk-engage-layer.h',
'clapper-gtk-extra-menu-button.h',
'clapper-gtk-lead-container.h',
'clapper-gtk-next-item-button.h',
@@ -99,6 +100,7 @@ clappergtk_sources = [
'clapper-gtk-buffering-animation.c',
'clapper-gtk-buffering-paintable.c',
'clapper-gtk-container.c',
'clapper-gtk-engage-layer.c',
'clapper-gtk-extra-menu-button.c',
'clapper-gtk-lead-container.c',
'clapper-gtk-limited-layout.c',

View File

@@ -1 +1 @@
ar ast ca cs de es eu fa fi fr he hr hu it ja lt nl oc pl pt pt_BR ru sk sv tr zh_CN
ar ast ca cs de es eu fa fi fr he hr hu it ja lt nl pl pt pt_BR ru sk sv tr zh_CN

View File

@@ -1,81 +0,0 @@
msgid ""
msgstr ""
"Project-Id-Version: clapper\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-04-12 19:52+0200\n"
"PO-Revision-Date: 2024-06-12 15:00\n"
"Last-Translator: \n"
"Language-Team: Occitan\n"
"Language: oc_FR\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"X-Crowdin-Project: clapper\n"
"X-Crowdin-Project-ID: 473374\n"
"X-Crowdin-Language: oc\n"
"X-Crowdin-File: /master/src/lib/clapper-gtk/po/clapper-gtk.pot\n"
"X-Crowdin-File-ID: 46\n"
#: src/lib/clapper-gtk/ui/clapper-gtk-extra-menu-button.ui:9
#: src/lib/clapper-gtk/clapper-gtk-extra-menu-button.c:227
msgid "Video"
msgstr ""
#: src/lib/clapper-gtk/ui/clapper-gtk-extra-menu-button.ui:17
#: src/lib/clapper-gtk/clapper-gtk-extra-menu-button.c:228
msgid "Audio"
msgstr ""
#: src/lib/clapper-gtk/ui/clapper-gtk-extra-menu-button.ui:25
#: src/lib/clapper-gtk/clapper-gtk-extra-menu-button.c:229
msgid "Subtitles"
msgstr ""
#: src/lib/clapper-gtk/ui/clapper-gtk-extra-menu-button.ui:28
msgid "Show Subtitles"
msgstr ""
#: src/lib/clapper-gtk/ui/clapper-gtk-extra-menu-button.ui:32
msgid "Open…"
msgstr ""
#: src/lib/clapper-gtk/ui/clapper-gtk-extra-menu-button.ui:75
msgid "Mute"
msgstr ""
#: src/lib/clapper-gtk/ui/clapper-gtk-extra-menu-button.ui:119
msgid "Reset"
msgstr ""
#: src/lib/clapper-gtk/clapper-gtk-status.c:79
msgid "Unplayable Content"
msgstr ""
#. TRANSLATORS: Please do not try to translate "GStreamer" (it is a library name).
#: src/lib/clapper-gtk/clapper-gtk-status.c:89
#, c-format
msgid "Your GStreamer installation is missing a plugin: %s"
msgstr ""
#: src/lib/clapper-gtk/clapper-gtk-status.c:90
msgid "Missing Plugin"
msgstr ""
#: src/lib/clapper-gtk/clapper-gtk-stream-check-button.c:82
#: src/lib/clapper-gtk/clapper-gtk-stream-check-button.c:126
msgid "Undetermined"
msgstr ""
#: src/lib/clapper-gtk/clapper-gtk-stream-check-button.c:82
msgid "Channels"
msgstr ""
#: src/lib/clapper-gtk/clapper-gtk-title-label.c:91
msgid "No media"
msgstr ""
#: src/lib/clapper-gtk/clapper-gtk-title-label.c:103
msgid "Unknown title"
msgstr ""

View File

@@ -3,7 +3,7 @@ msgstr ""
"Project-Id-Version: clapper\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-04-12 19:52+0200\n"
"PO-Revision-Date: 2024-04-26 03:26\n"
"PO-Revision-Date: 2024-04-12 18:48\n"
"Last-Translator: \n"
"Language-Team: Portuguese, Brazilian\n"
"Language: pt_BR\n"
@@ -20,12 +20,12 @@ msgstr ""
#: src/lib/clapper-gtk/ui/clapper-gtk-extra-menu-button.ui:9
#: src/lib/clapper-gtk/clapper-gtk-extra-menu-button.c:227
msgid "Video"
msgstr "Vídeo"
msgstr ""
#: src/lib/clapper-gtk/ui/clapper-gtk-extra-menu-button.ui:17
#: src/lib/clapper-gtk/clapper-gtk-extra-menu-button.c:228
msgid "Audio"
msgstr "Áudio"
msgstr "Audio"
#: src/lib/clapper-gtk/ui/clapper-gtk-extra-menu-button.ui:25
#: src/lib/clapper-gtk/clapper-gtk-extra-menu-button.c:229
@@ -34,33 +34,33 @@ msgstr "Legendas"
#: src/lib/clapper-gtk/ui/clapper-gtk-extra-menu-button.ui:28
msgid "Show Subtitles"
msgstr "Mostrar legendas"
msgstr ""
#: src/lib/clapper-gtk/ui/clapper-gtk-extra-menu-button.ui:32
msgid "Open…"
msgstr "Abrir…"
msgstr ""
#: src/lib/clapper-gtk/ui/clapper-gtk-extra-menu-button.ui:75
msgid "Mute"
msgstr "Desativar som"
msgstr ""
#: src/lib/clapper-gtk/ui/clapper-gtk-extra-menu-button.ui:119
msgid "Reset"
msgstr "Redefinir"
msgstr ""
#: src/lib/clapper-gtk/clapper-gtk-status.c:79
msgid "Unplayable Content"
msgstr "Conteúdo não reproduzível"
msgstr ""
#. TRANSLATORS: Please do not try to translate "GStreamer" (it is a library name).
#: src/lib/clapper-gtk/clapper-gtk-status.c:89
#, c-format
msgid "Your GStreamer installation is missing a plugin: %s"
msgstr "Há um plugin faltando na sua instalação do GStreamer: %s"
msgstr ""
#: src/lib/clapper-gtk/clapper-gtk-status.c:90
msgid "Missing Plugin"
msgstr "Plugin faltante"
msgstr ""
#: src/lib/clapper-gtk/clapper-gtk-stream-check-button.c:82
#: src/lib/clapper-gtk/clapper-gtk-stream-check-button.c:126
@@ -73,9 +73,9 @@ msgstr "Canais"
#: src/lib/clapper-gtk/clapper-gtk-title-label.c:91
msgid "No media"
msgstr "Nenhuma mídia"
msgstr ""
#: src/lib/clapper-gtk/clapper-gtk-title-label.c:103
msgid "Unknown title"
msgstr "Título desconhecido"
msgstr ""

View File

@@ -3,7 +3,7 @@ msgstr ""
"Project-Id-Version: clapper\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-04-12 19:52+0200\n"
"PO-Revision-Date: 2024-05-20 10:17\n"
"PO-Revision-Date: 2024-04-12 18:48\n"
"Last-Translator: \n"
"Language-Team: Chinese Simplified\n"
"Language: zh_CN\n"
@@ -20,7 +20,7 @@ msgstr ""
#: src/lib/clapper-gtk/ui/clapper-gtk-extra-menu-button.ui:9
#: src/lib/clapper-gtk/clapper-gtk-extra-menu-button.c:227
msgid "Video"
msgstr "视频"
msgstr ""
#: src/lib/clapper-gtk/ui/clapper-gtk-extra-menu-button.ui:17
#: src/lib/clapper-gtk/clapper-gtk-extra-menu-button.c:228
@@ -34,33 +34,33 @@ msgstr "字幕"
#: src/lib/clapper-gtk/ui/clapper-gtk-extra-menu-button.ui:28
msgid "Show Subtitles"
msgstr "显示字幕"
msgstr ""
#: src/lib/clapper-gtk/ui/clapper-gtk-extra-menu-button.ui:32
msgid "Open…"
msgstr "打开…"
msgstr ""
#: src/lib/clapper-gtk/ui/clapper-gtk-extra-menu-button.ui:75
msgid "Mute"
msgstr "静音"
msgstr ""
#: src/lib/clapper-gtk/ui/clapper-gtk-extra-menu-button.ui:119
msgid "Reset"
msgstr "重置"
msgstr ""
#: src/lib/clapper-gtk/clapper-gtk-status.c:79
msgid "Unplayable Content"
msgstr "无法播放的内容"
msgstr ""
#. TRANSLATORS: Please do not try to translate "GStreamer" (it is a library name).
#: src/lib/clapper-gtk/clapper-gtk-status.c:89
#, c-format
msgid "Your GStreamer installation is missing a plugin: %s"
msgstr "您的 GStreamer 安装缺少一个插件: %s"
msgstr ""
#: src/lib/clapper-gtk/clapper-gtk-status.c:90
msgid "Missing Plugin"
msgstr "缺少插件"
msgstr ""
#: src/lib/clapper-gtk/clapper-gtk-stream-check-button.c:82
#: src/lib/clapper-gtk/clapper-gtk-stream-check-button.c:126
@@ -73,9 +73,9 @@ msgstr "声道"
#: src/lib/clapper-gtk/clapper-gtk-title-label.c:91
msgid "No media"
msgstr "无媒体"
msgstr ""
#: src/lib/clapper-gtk/clapper-gtk-title-label.c:103
msgid "Unknown title"
msgstr "未知标题"
msgstr ""

View File

@@ -18,7 +18,7 @@
<property name="halign">start</property>
<property name="valign">center</property>
<property name="transition-type">crossfade</property>
<property name="transition-duration">300</property>
<property name="transition-duration">500</property>
<property name="visible">false</property>
<signal name="notify::child-revealed" handler="revealer_revealed_cb"/>
<child>
@@ -86,7 +86,7 @@
<property name="halign">start</property>
<property name="valign">fill</property>
<property name="transition-type">slide-right</property>
<property name="transition-duration">200</property>
<property name="transition-duration" bind-source="progress_revealer" bind-property="transition-duration" bind-flags="sync-create"/>
<property name="reveal-child" bind-source="progress_revealer" bind-property="reveal-child" bind-flags="invert-boolean">false</property>
<child>
<object class="GtkLabel" id="progress_label">
@@ -113,7 +113,7 @@
<property name="halign">center</property>
<property name="valign">center</property>
<property name="transition-type">crossfade</property>
<property name="transition-duration">300</property>
<property name="transition-duration">500</property>
<signal name="notify::child-revealed" handler="revealer_revealed_cb"/>
<child>
<object class="ClapperGtkContainer">

View File

@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface domain="clapper-gtk">
<template class="ClapperGtkEngageLayer" parent="ClapperGtkLeadContainer">
<property name="blocked-actions">toggle-play|reveal-overlays</property>
<child>
<object class="ClapperGtkTogglePlayButton">
<property name="halign">center</property>
<property name="valign">center</property>
<style>
<class name="osd"/>
<class name="flat"/>
<class name="circular"/>
</style>
</object>
</child>
</template>
</interface>

View File

@@ -6,9 +6,6 @@
<property name="adaptive-width">560</property>
<property name="adaptive-height">400</property>
<signal name="adapt" handler="adapt_cb"/>
<style>
<class name="osd"/>
</style>
<child>
<object class="GtkBox" id="status_box">
<property name="orientation">vertical</property>

View File

@@ -1609,9 +1609,9 @@ clapper_mpris_class_init (ClapperMprisClass *klass)
* DBus name to own on connection.
*
* Must be written as a reverse DNS format starting with "org.mpris.MediaPlayer2." prefix.
* Each #ClapperMpris instance running on the same system must have an unique name.
* Each #ClapperMpris instance running on the same system must have an unique.
*
* Example: "org.mpris.MediaPlayer2.MyPlayer.instance123"
* Example: "org.mpris.MediaPlayer2.MyPlayer1"
*/
param_specs[PROP_OWN_NAME] = g_param_spec_string ("own-name",
NULL, NULL, NULL,

View File

@@ -26,14 +26,6 @@ foreach dep : feature_deps
endif
endforeach
gdbus_codegen = find_program('gdbus-codegen', required: false)
if not gdbus_codegen.found()
if feature_option.enabled()
error('@0@ feature was enabled, but program gdbus-codegen was not found'.format(feature_name))
endif
subdir_done()
endif
clapper_mpris_gdbus = gnome.gdbus_codegen('clapper-mpris-gdbus',
sources: 'clapper-mpris-gdbus.xml',
interface_prefix: 'org.mpris.',