-
Notifications
You must be signed in to change notification settings - Fork 450
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
Mpris not working? #1221
Comments
that's a pretty old version, try upgrading. |
I've faced with something similar; |
Has your |
I'm not sure about and restart spotifyd service with these params:
In unit logs I seeing these:
|
Which audio backend were you using before? Otherwise, you'll need to find the correct configuration, e.g. using |
I've resolved troubles with volume control. When I change on
Maybe the reason is that I use Alsa with this UPDATE: Seems relates to #244 |
Are you on a headless system? If so, you'll either need to make sure that a session dbus is available and accessible from Or you use If you have a working session dbus, you can check that # dbus-monitor --session --monitor "type='signal',interface='org.freedesktop.DBus'"
...
signal time=1701811349.860905 sender=org.freedesktop.DBus -> destination=(null destination) serial=4294967295 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
string ":1.1266"
string ""
string ":1.1266"
signal time=1701811349.861010 sender=org.freedesktop.DBus -> destination=:1.1266 serial=4294967295 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired
string ":1.1266"
signal time=1701811349.861855 sender=org.freedesktop.DBus -> destination=(null destination) serial=4294967295 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
string "org.mpris.MediaPlayer2.spotifyd.instance215550"
string ""
string ":1.1266"
signal time=1701811349.861945 sender=org.freedesktop.DBus -> destination=:1.1266 serial=4294967295 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired
string "org.mpris.MediaPlayer2.spotifyd.instance215550" |
i'm experiencing this issue on as well on Ubuntu 23.10 with a |
You'll need to add |
ran |
Well, there's |
Hey there, I was having the same issue. It turns out I was trying to use the session dbus from while starting from a systemd user unit. This meant that spotifyd didn't have the proper pointers to dbus via environment variable. The proper way to do this is by running:
... apparently. But I'm not sure when/where to do that. Probably via your DE 'autostart' if you have one. Once you've done that, all user units will import your environment on reload. |
Description
When I start spotifyd, it looks like mpris is not working, as I can't control the playback using my "Music PLayer" Extension or playerctl.
To Reproduce
Expected behavior
Playerctl and the extension should be able to control it.
Logs
Click to show logs
Versions (please complete the following information):
Additional context
Config File:
(Also I just noticed that
--verbose
hides the username in the "CliConfig" line for privacy, but not later on, which is not very private)The text was updated successfully, but these errors were encountered: