Code

mpdclient: add "playing" attribute
authorMax Kellermann <max.kellermann@gmail.com>
Fri, 17 Mar 2017 22:24:27 +0000 (23:24 +0100)
committerMax Kellermann <max.kellermann@gmail.com>
Fri, 17 Mar 2017 22:28:05 +0000 (23:28 +0100)
commit445a3a03d4bd0f3da0e2bc4ecc65021faf24325c
tree96dd1029b5554ef676679e100e7c338f688bebd0
parent863d4041a6d0c7b9ac117a8de4acf505ddb40a7f
mpdclient: add "playing" attribute

Cache the mpd_status_get_state()==MPD_STATE_PLAY value which is used
pretty often.
src/main.c
src/mpdclient.c
src/mpdclient.h