Correct rules examples (#21075)

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
This commit is contained in:
mlobstein
2026-06-30 20:19:34 +02:00
committed by GitHub
parent e5796cb942
commit dc1559b591
+6 -3
View File
@@ -632,7 +632,8 @@ when
Item music_Music_Album received update
then
if (music_Music_Album.state.toString() != "") {
sendCommand(nuvo_system_sendcmd, source + "DISPLINES0,0,0,\"\",\"" + music_Music_Album.state.toString + "\",\"" + artistName + "\",\"" + trackName + "\"")
albumName = music_Music_Album.state.toString
sendCommand(nuvo_system_sendcmd, source + "DISPLINES0,0,0,\"\",\"" + albumName + "\",\"" + artistName + "\",\"" + trackName + "\"")
}
end
@@ -641,7 +642,8 @@ when
Item music_Music_Artist received update
then
if (music_Music_Artist.state.toString() != "") {
sendCommand(nuvo_system_sendcmd, source + "DISPLINES0,0,0,\"\",\"" + music_Music_Artist.state.toString + "\",\"" + artistName + "\",\"" + trackName + "\"")
artistName = music_Music_Artist.state.toString
sendCommand(nuvo_system_sendcmd, source + "DISPLINES0,0,0,\"\",\"" + albumName + "\",\"" + artistName + "\",\"" + trackName + "\"")
}
end
@@ -650,7 +652,8 @@ when
Item music_Music_Track received update
then
if (music_Music_Track.state.toString() != "") {
sendCommand(nuvo_system_sendcmd, source + "DISPLINES0,0,0,\"\",\"" + music_Music_Track.state.toString + "\",\"" + artistName + "\",\"" + trackName + "\"")
trackName = music_Music_Track.state.toString
sendCommand(nuvo_system_sendcmd, source + "DISPLINES0,0,0,\"\",\"" + albumName + "\",\"" + artistName + "\",\"" + trackName + "\"")
}
end