From 9b7c12c3d0043e4e229902b59ed94ad28c289d4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Dzi=C4=99giel?= Date: Mon, 13 May 2024 20:32:48 +0200 Subject: [PATCH] flatpak: Fix MPRIS permission Since now we do multiple windows, an instance number is added to owned connection name (as specified in MPRIS spec). Update Flatpak MPRIS permission to handle that. --- pkgs/flatpak/com.github.rafostar.Clapper-nightly.json | 2 +- pkgs/flatpak/com.github.rafostar.Clapper.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/flatpak/com.github.rafostar.Clapper-nightly.json b/pkgs/flatpak/com.github.rafostar.Clapper-nightly.json index 34e532df..426680ef 100644 --- a/pkgs/flatpak/com.github.rafostar.Clapper-nightly.json +++ b/pkgs/flatpak/com.github.rafostar.Clapper-nightly.json @@ -29,7 +29,7 @@ "--filesystem=xdg-run/pipewire-0:ro", "--filesystem=xdg-videos", "--filesystem=xdg-run/gvfsd", - "--own-name=org.mpris.MediaPlayer2.Clapper", + "--own-name=org.mpris.MediaPlayer2.Clapper.*", "--talk-name=org.gtk.vfs.*", "--env=GST_PLUGIN_SYSTEM_PATH=/app/lib/gstreamer-1.0" ], diff --git a/pkgs/flatpak/com.github.rafostar.Clapper.json b/pkgs/flatpak/com.github.rafostar.Clapper.json index 43e0588b..cd8aac69 100644 --- a/pkgs/flatpak/com.github.rafostar.Clapper.json +++ b/pkgs/flatpak/com.github.rafostar.Clapper.json @@ -25,7 +25,7 @@ "--filesystem=xdg-run/pipewire-0:ro", "--filesystem=xdg-videos", "--filesystem=xdg-run/gvfsd", - "--own-name=org.mpris.MediaPlayer2.Clapper", + "--own-name=org.mpris.MediaPlayer2.Clapper.*", "--talk-name=org.gtk.vfs.*", "--env=GST_PLUGIN_SYSTEM_PATH=/app/lib/gstreamer-1.0" ],