Comments (2)
and add the relevant dbus interfaces in
/usr/lib/dbus-1/system.d/
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 --script
and also have mpris.so
installed in ~/.config/mpv/scripts/mpris.so
and/or /etc/mpv/scripts
.
The plugin doesn't currently protect against this and won't work correctly if loaded multiple times.
from mpv-mpris.
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 ~/.config/mpv/scripts/mpris.so
), and moving mpris.so and loading it manually, and in both cases nothing pops up in dbus.
$ playerctl -l
mpd
mpd
$ dbus-send --session --dest=org.freedesktop.DBus --type=method_call --print-reply /org/freedesktop/DBus org.freedesktop.DBus.ListNames
method return time=1618424795.126584 sender=org.freedesktop.DBus -> destination=:1.282 serial=3 reply_serial=2
array [
string "org.freedesktop.DBus"
string ":1.205"
string "org.freedesktop.Notifications"
string ":1.7"
string "org.freedesktop.login1"
string "org.freedesktop.ReserveDevice1.Audio0"
string ":1.207"
string ":1.72"
string ":1.73"
string ":1.40"
string "org.freedesktop.DisplayManager"
string ":1.41"
string ":1.282"
string ":1.75"
string "org.freedesktop.PolicyKit1"
string "org.bluez"
string ":1.76"
string ":1.10"
string ":1.77"
string ":1.33"
string ":1.11"
string "org.pulseaudio.Server"
string ":1.14"
string ":1.277"
string ":1.38"
string ":1.3"
string ":1.39"
string ":1.4"
string "org.freedesktop.RealtimeKit1"
string "org.mpris.MediaPlayer2.mpd"
]
And in both cases, mpv doesn't output any errors or messages except for what is playing
[file] This is a directory - adding to playlist.
Playing: /home/zachir/Videos/How+To+Enable+DRM+Restricted+Content+In+LibreWolf-bJsdnBxDKI8(1).mp4
(+) Video --vid=1 (*) (h264 640x360 30.000fps)
(+) Audio --aid=1 (*) (aac 2ch 44100Hz)
AO: [pulse] 44100Hz stereo 2ch float
VO: [gpu] 640x360 yuv420p
AV: 00:01:28 / 00:04:53 (30%) A-V: 0.000
Exiting... (Quit)
from mpv-mpris.
Related Issues (20)
- undefined symbol when run mpv with LD_DEBUG=libs
- i get this error spamed my log
- GLib-GIO-CRITICAL message spam when running mpv from terminal
- Plugin doesn't work inside terminal. HOT 1
- Does not send an event on exit HOT 1
- Cover image in opus file is not shown in KDE media control in system tray HOT 7
- Setting or defining seek distance HOT 2
- Can you add fullscreen status signals (true/false)?
- g_dbus_connection_register_object: assertion 'error == NULL || *error == NULL' failed HOT 6
- test failed because not pass `--no-config `
- Multiple delimiters for splitting artist field
- Position provided by Seeked signal inaccuracies
- Stops working after waking up from standby HOT 2
- Cover Image in notification HOT 1
- mpv-mpris not detected HOT 4
- How to make this work on Windows? HOT 1
- Could not load SO plugin: libavformat.so.58 HOT 1
- Can't detect installed libavformat HOT 3
- ffmpeg/demuxer warning after embedded cover art support HOT 4
- libavformat.so.58: cannot open shared object file: No such file or directory HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mpv-mpris.