-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot Get mpv-mpris To Show Up In Playerctl #49
Comments
What do you mean by this? It looks like you're loading the plugin multiple times. eg you're adding it to the command with The plugin doesn't currently protect against this and won't work correctly if loaded multiple times. |
My dbus denies everything except what I allow in /usr/share/dbus-1/system.d/, I believe it has to do with how Arch Linux does pipewire. So I tried running mpv without the command (using
And in both cases, mpv doesn't output any errors or messages except for what is playing
|
If I load mpv without mpris.so, the video plays as normal, and nothing shows up in
playerctl -l
. However, if I load mpv with--script=~/.config/mpv/scripts/mpris.so
, and add the relevant dbus interfaces in/usr/lib/dbus-1/system.d/
, nothing shows up inplayerctl -l
, and I get the following output:`An object is already exported for the interface org.mpris.MediaPlayer2 at /org/mpris/MediaPlayer2
(process:27778): GLib-GIO-CRITICAL **: 15:59:09.590: g_dbus_connection_register_object: assertion 'error == NULL || error == NULL' failed
An object is already exported for the interface org.mpris.MediaPlayer2 at /org/mpris/MediaPlayer2 (+) Video --vid=1 () (h264 1280x720
30.000fps)
(+) Audio --aid=1 (*) (aac 2ch 44100Hz)
AO: [pulse] 44100Hz stereo 2ch float
VO: [gpu] 1280x720 yuv420p
AV: 00:00:04 / 00:04:53 (1%) A-V: 0.000
Exiting... (Quit)`
The text was updated successfully, but these errors were encountered: