perf(mpd): avoid duplicate playing-state updates

This commit is contained in:
Alexey Ivanov
2026-06-04 15:23:54 -07:00
parent 05945748dc
commit 0cccf0d8b5
5 changed files with 0 additions and 19 deletions
-1
View File
@@ -54,7 +54,6 @@ class MPD : public ALabel {
void tryConnect();
void checkErrors(mpd_connection* conn);
void fetchState();
void queryMPD();
inline bool stopped() const { return connection_ && state_ == MPD_STATE_STOP; }
inline bool playing() const { return connection_ && state_ == MPD_STATE_PLAY; }