Files
openhab/rules/salon.mpd-concat.rules
2018-07-01 21:48:20 +02:00

8 lines
219 B
Plaintext

rule "mpd-concat"
when
Item Mpd_CurrentTrack received update or
Item Mpd_CurrentArtist received update
the
Mpd_ConcatInfo.postUpdate(Mpd_CurrentTrack.state.toString + " / " + Mpd_CurrentArtist.state.toString)
end