Alexays / Waybar

Highly customizable Wayland bar for Sway and Wlroots based compositors. :v: :tada:
MIT License
6.11k stars 680 forks source link

mpris when no player is active generates errors in logs #2312

Open oniGino opened 1 year ago

oniGino commented 1 year ago

When no player is currently active allot of log noise is generated

(waybar:5688): playerctl-WARNING **: 22:56:30.449: Spotify does not use the D-Bus property cache, getting properties directly

(waybar:5688): playerctl-WARNING **: 22:56:30.449: Spotify does not use the D-Bus property cache, getting properties directly

(waybar:5688): playerctl-WARNING **: 22:56:30.449: Spotify does not use the D-Bus property cache, getting properties directly

(waybar:5688): playerctl-WARNING **: 22:56:30.450: Spotify does not use the D-Bus property cache, getting properties directly
[2023-07-13 22:56:30.450] [error] mpris[playerctld]: GDBus.Error:com.github.altdesktop.playerctld.NoActivePlayer: No player is being controlled by playerctld

repeating every few seconds

BijanRegmi commented 1 year ago

image Same issue. the error keeps repeating

MithicSpirit commented 11 months ago

I also have this issue. I suspect that it is logged on this line: https://github.com/Alexays/Waybar/blob/a90e275d5e26226c9e69abbb6f9be4d7391ba3c1/src/modules/mpris/mpris.cpp#L570-L570

noahfraiture commented 10 months ago

Is there any news ? I also have this problem and I'm afraid of battery impact

MithicSpirit commented 10 months ago

Is there any news ? I also have this problem and I'm afraid of battery impact

Since it's just logging, I doubt it has a significant impact on energy usage.

robertgzr commented 6 months ago

should be fixed by https://github.com/Alexays/Waybar/pull/2622