On March 28, 2010 at 20:45, sydinstaller said...
Just a word of warning.
NSP 3.0 is not guaranteed to work with unsolicited feedback. So the above widget may not work completely as expected. I think 3.1 will be better with unsolicited feedback.
When you say unsolicited, do you mean equipment which automatically issues a notification upon any status change (volume, input, etc)? As far as I can tell from the Marantz serial protocol docs, the receiver responds to any serial volume commands with a serial string indicating the new volume level, but it doesn't issue such information unless prompted.
The better way to do it is:
In the normal part of NSP put your volume commands as per normal.
You widget should only be asking for volume feedback status and sending a volume command.
I'll have to try that method....
I also find it pointless for a volume timer feedback as I am only changing the volume from the remote (i think I would know if i change it :) ). So a request on release is best.
I put the timer in because I rarely adjust the volume ... I just like knowing what it is (especially now that I have my receiver hidden from view). Plus that way, if I adjust it manually, or with the factory remote, the Nevo will eventually catch on. Eventually I'll figure out how to make the volume appear in a pop-up button (& disappear after 5-10 seconds or so)...
I would post a image but have nowhere to put it!
I signed up for Photobucket to post this one but I think I have a free account somewhere else.
Fwiw, the biggest gripe I have with the widgets is that every time I alter the code, I have to delete and re-add the widget on every page of the remote I have copied it to. Already written UEI about it, but a "refresh widget" option would be nice.