altdesktop / playerctl

🎧 mpris media player command-line controller for vlc, mpv, RhythmBox, web browsers, cmus, mpd, spotify and others.
GNU Lesser General Public License v3.0
2.43k stars 79 forks source link

Celluloid does not work with playerctl when playerctld daemon is running #250

Closed Nuromi-pm closed 2 years ago

Nuromi-pm commented 2 years ago

The player I am using is Celluloid. playerctl does not work with celluloid even though compatibility with mpris is enabled in the settings. When run playerctl --list-all in terminal, I get No players were found.

I get the following error in journalctl when launching celluloid (sorry for the Spanish): playerctld[772]: could not get properties for active player: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No existe la interfaz «org.freedesktop.DBus.Properties» en el objeto en la ruta /org/mpris/MediaPlayer2

mpv-mpris, firefox and clementine works fine. OS: Debian 11 with xfce desktop.

Nuromi-pm commented 2 years ago

I found out that playerctl works with celluloid only when playerctld daemon is not running. If the playerctld daemon is running, it does not detect celluloid.

acrisci commented 2 years ago

I can reproduce this. Looking into it now.

acrisci commented 2 years ago

I'm going to consider this to be a bug in celluloid. I've made a PR to fix it there.