Files
openhab/rules/salon.mpd-concat.rules

8 lines
219 B
Plaintext
Raw Permalink Normal View History

2018-07-01 21:48:20 +02:00
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