Matt Brooke-Smith

Results 5 comments of Matt Brooke-Smith

This doesnt fire for me, though play! does finish correctly and passes control back to the program.

But it should make the callback as well, correct? It doesnt make the callback when I use either play or play!

The code is this:- ``` def play!(track = nil) end_of_track = false old_callback = on(:end_of_track) { end_of_track = true } play(track) wait_for(:end_of_track) { end_of_track } ensure on(:end_of_track, &old_callback) end ```...

Exactly. However, old_callback doesnt appear to get called.

Its working for me with 12.0.0. Any guidance on how to expose the light on the TX Ultimate to Homebridge?