chill wrote: > One situation that I know it doesn't deal with is if a group player > (e.g. 'Downstairs' above) changes the power state of an individual > player, that change isn't reflected in the menu until the menu is backed > out of and then re-entered. I don't know how to change the state of a > check box that isn't the one in the current callback function.
I found out how to change the state of any checkbox, so I thought I was home and dry, and could get all players to update whenever their state was changed by a group player. But annoyingly the power state doesn't change (using player:setPower(boolean)) until the callback function completes, so there's no point in checking and updating the other players from within the callback function. And if I don't do it in there, I don't know where else to do it! So any tips for running code outside the callback function, whenever a menu choice is made, would be gratefully received. In the meantime I'm stuck with having to back out of the menu and then re-enter it in order to see the true power status after a change to a group player. But at least I've got icons next to the players now :) [image: http://www.cjh.me.uk/MyPhotobucket/cache/DIYHifi/Jivelite/jivelite0019_512.jpg] ------------------------------------------------------------------------ chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=110040 _______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/unix
