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

Follow does not work #249

Closed WuerfelDev closed 2 years ago

WuerfelDev commented 2 years ago

The player I am using is Brave Browser.

I noticed that my script doesn't show the next playing song, so I saw that running playerctl metadata -F prints the correct output, but once the next song starts I get these "warnings" instead:

❯playerctl metadata -F
chromium xesam:album
chromium xesam:artist              KatyPerryVEVO
chromium xesam:title               Katy Perry - Firework (Official Music Video)

(playerctl:366162): playerctl-WARNING **: 16:01:52.028: mpris:trackid is a string, not a D-Bus object reference

(playerctl:366162): playerctl-WARNING **: 16:01:52.028: mpris:trackid is a string, not a D-Bus object reference

(playerctl:366162): playerctl-WARNING **: 16:01:52.984: mpris:trackid is a string, not a D-Bus object reference

(playerctl:366162): playerctl-WARNING **: 16:01:52.995: mpris:trackid is a string, not a D-Bus object reference

Every now song generates this 'warning" 4 times. The next info stays hidden.

Running playerctl v2.3.1 from ubuntu repos

acrisci commented 2 years ago

I believe this is fixed on master branch. I can't reproduce it.