Alexays / Waybar

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

sync MPD module #2513

Open cbrt-x opened 1 year ago

cbrt-x commented 1 year ago

The MPD module always lags behind the actual state by 0.5-1s (volume, play state, etc.)

I'm not sure how it is implemented but MPD should dispatch an event on player changes which if properly handled would allow for immediate update.

AERDU commented 3 weeks ago

I'm not too sure how waybar interacts with mpd, but can it not listen to events? mpc idleloop might be worth looking into to get an idea. mpdev might also carry some insight.