Rafał Dzięgiel
650b568319
clapper-app: meson: Do not install mimes on Windows
...
They are unsupported. We use file extensions instead.
2024-06-21 18:50:21 +02:00
Rafał Dzięgiel
abff579b70
clapper-app: Fix missing media in file dialog on Windows
...
Windows does not support mime-types file filters, so use file extensions instead
2024-06-21 18:50:13 +02:00
Rafał Dzięgiel
0b253b41f6
clapper-app: meson: Binaries with/without console on Windows
2024-06-20 18:32:50 +02:00
Rafał Dzięgiel
d5832bd2db
gst-plugin: Improve importers lookup on Win32
2024-06-19 22:44:27 +02:00
Rafał Dzięgiel
98371e822e
gst-plugin: Allow overriding importers path with env variable
2024-06-17 21:41:11 +02:00
Rafał Dzięgiel
3f2e5d569d
clapper-gtk: video: Fix signals disconnection after dispose
...
A possibility exists that something else keeps a reference to the player
even after video is disposed. In this case signals from the player would
not be disconnected.
We have to disconnect them manually here to ensure their callbacks will
not be used after disposal.
2024-06-17 19:26:18 +02:00
Rafał Dzięgiel
f58e722002
clapper-app: Fix unused variable warning when no MPRIS
...
When compiling without MPRIS feature "instance_count" is left unused,
so skip it with preprocessor in order to avoid warning.
2024-06-16 17:35:06 +02:00
Rafał Dzięgiel
262983e857
clapper-app: Ensure private types for GtkBuilder
...
We need to ensure types that are not part of public API, otherwise GtkBuilder will fail to use them
(e81aad25a1/gtk/glade/README.glade (L15)
).
2024-06-16 15:21:23 +02:00
Rafał Dzięgiel
6ca1bccd1a
clapper-gtk: Ensure private types before template init
...
We need to ensure types that are not part of public API, otherwise GtkBuilder will fail to use them
(e81aad25a1/gtk/glade/README.glade (L15)
).
2024-06-16 14:51:56 +02:00
Rafał Dzięgiel
c25cfd9598
clapper-app: meson: Do not skip whole data install on non-linux
...
We cannot run app without schemas, thus we need to compile and install them on any OS
2024-06-16 13:50:54 +02:00
Rafał Dzięgiel
3ce937c2b9
gst-plugin: Properly export external API symbols
...
We do not install headers from gst-plugin, but still need to export
symbols to compile modules that use plugin provided shared libraries.
2024-06-16 13:50:49 +02:00
Rafał Dzięgiel
521a83bad0
clapper: meson: Add additional check for gdbus-codegen
...
Check at meson level if "gdbus-codegen" is available and otherwise
exit cleanly, possibly building without MPRIS feature instead of failing.
2024-06-16 13:50:41 +02:00
Rafał Dzięgiel
d4598846d3
clapper-gtk: Properly export external API symbols
2024-06-16 13:48:27 +02:00
Rafał Dzięgiel
50d4fbe43b
clapper: Properly export external API symbols
2024-06-16 13:48:17 +02:00
Rafał Dzięgiel
df371c698a
clapper-app: Fix opened file content type detection
...
Fixes issues with detecting whether file has one of supported subtitles mime types
2024-06-14 17:32:03 +02:00
Rafał Dzięgiel
28de283a98
clapper-app: Add auto window resize keyboard shortcut
...
In addition to middle click, also add "Super+r" keyboard shortcut to perform window resize to fit video action
2024-05-25 21:30:26 +02:00
Rafał Dzięgiel
ae6512b233
clapper-app: Resize window to match aspect ratio with middle click
2024-05-25 21:16:59 +02:00
Rafał Dzięgiel
5049f620eb
Merge pull request #449 from Rafostar/new-window
...
Add "New Window" functionality in UI
2024-05-20 22:55:14 +02:00
Rafał Dzięgiel
439e5831e2
clapper-app: Apply options from active window to newly created one
...
When a new window is created, apply all current values to it (volume, speed,
set GStreamer elements, etc.). It would not be the best experience when user
opens a new window, plays something and 100% volume is used in it.
2024-05-20 22:40:28 +02:00
Rafał Dzięgiel
6484599e46
clapper-gtk: Fix GtkWindowControls style when OSD on video
2024-05-15 21:37:48 +02:00
Rafał Dzięgiel
333f8b4692
clapper-app: Make info window close with Esc key
...
Fixes #448
2024-05-14 21:13:02 +02:00
Rafał Dzięgiel
6fb25dd22b
clapper-app: Add new window keyboard shortcut
2024-05-13 20:05:59 +02:00
Rafał Dzięgiel
cc5c2b2403
clapper-app: Add "New Window" menu option
...
Allow creating new windows from within the app
2024-05-13 19:15:31 +02:00
Rafał Dzięgiel
71142ab0c6
Merge pull request #444 from Rafostar/cmd-options
...
Add more command line options
2024-05-12 20:47:45 +02:00
Rafał Dzięgiel
cc8ed7b488
clapper-app: Do not store "enqueue" value in options
...
It is used immediately, so no need to store it.
2024-05-12 20:30:19 +02:00
Rafał Dzięgiel
6f0ed93b08
clapper-app: Only restore saved settings to new windows
2024-05-12 20:30:16 +02:00
Rafał Dzięgiel
10e0421342
clapper-app: Clamp command line args to allowed values
...
Instead of running into warnings or other problems when user
specifies an out of range value for command line option, just
clamp them to nearest allowed one.
2024-05-12 20:30:14 +02:00
Rafał Dzięgiel
bcd1d48922
clapper-app: Add command line context params string
...
Describe what kind of remaining (non-options) strings can
be passed when launching via command line.
2024-05-12 20:30:11 +02:00
Rafał Dzięgiel
aac050e252
clapper-app: Add command line option to enter fullscreen
2024-05-12 20:30:09 +02:00
Rafał Dzięgiel
1330e49ed8
clapper-app: Add command line option to set progression mode
2024-05-12 20:30:07 +02:00
Rafał Dzięgiel
22fb88d0f2
clapper-app: Support creating multiple windows
2024-05-12 20:30:01 +02:00
Rafał Dzięgiel
42b5acd967
clapper: mpris: Fix MPRIS own-name documentation
2024-05-12 20:16:28 +02:00
Rafał Dzięgiel
8e14ec1697
clapper-app: Cleanup to not store app options as global and static
...
Now that we are using both local and global command line vfuncs, we
can just get and apply options in them and free values later.
This avoids having options global and static.
2024-05-12 19:34:37 +02:00
Rafał Dzięgiel
a257d3f003
clapper-app: Add command line option to enqueue files
2024-05-12 19:34:33 +02:00
Rafał Dzięgiel
eb0baa6fe6
clapper-app: Add command line option to set speed
2024-05-12 16:50:04 +02:00
Rafał Dzięgiel
1001fda256
clapper-app: Add command line option to set volume
2024-05-12 16:50:02 +02:00
Rafał Dzięgiel
6edffb9a4b
clapper-app: Add command line options to set GStreamer elements
...
Allows setting audio/video filters and sinks.
By setting value to "none" default filter can be disabled.
2024-05-12 16:49:54 +02:00
Rafał Dzięgiel
f67d5bef2e
clapper: Add media caching via download to local storage
...
The aim here is to stream an online video/audio while also at the
same time download/cache it to disk (excluding adaptive content).
After download is complete, further playback and seeking are done using the
locally cached file. This functionality uses GStreamer "downloadbuffer" element.
Player will emit a signal with a local download location after it completes,
so application will know where downloaded file for media item is stored in
case it wants to reuse it in the future.
It is up to application to set download dir and later manage downloaded
content in it, removing files its not going to use on next application
run and any incomplete downloads.
2024-05-07 22:15:25 +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
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
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
Max Buchholz
af47dcb5e5
Complement com.github.rafostar.Clapper.metainfo.xml
2024-04-25 10:54:09 +02:00
Rafał Dzięgiel
f0f4801819
0.6.0
2024-04-22 22:27:06 +02:00