fix(flatpak): use appid as MPRIS dbus name, remove own-name permission

Change dbus_name from "qbz" to "com.blitzfc.qbz" so the MPRIS name
matches the appid pattern. This eliminates the need for the explicit
--own-name permission as Flatpak allows apps to own names under their
appid namespace automatically.

cc
This commit is contained in:
vicrodh committed 2026-02-13 07:54:36 -06:00
1 parent e977ca8b34
commit 78aa6694c7
2 files changed
+1 -4

No files matched your search

-3
View File
@@ -40,9 +40,6 @@ finish-args:
- --talk-name=org.freedesktop.portal.FileChooser
- --talk-name=org.mpris.MediaPlayer2.*
# Own MPRIS name to register as media player
- --own-name=org.mpris.MediaPlayer2.qbz
# OAuth browser authentication
- --talk-name=org.freedesktop.portal.OpenURI
+1 -1
View File
@@ -52,7 +52,7 @@ impl MediaControlsManager {
// (souvlaki requires a window handle on some platforms)
thread::spawn(move || {
let config = PlatformConfig {
dbus_name: "qbz",
dbus_name: "com.blitzfc.qbz",
display_name: "QBZ",
hwnd: None, // Not needed on Linux
};