As suspected, the breakpoint in repeat does not occur when I press the
repeat button, but if I press the shuffle button then both breakpoints
are activated.

Oh, took me a while to understand... there are two events that might change the behaviour: playlistchange and playerstatechange. Your code only deals with player state changes. But you might want to implement the onPlaylistChange handler, too. It can be identical (many of the pre-defined components have an update method which is called from these two).

--

Michael
_______________________________________________
diy mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/diy

Reply via email to