Page 1 of 1

Latest iPad App Update

Posted: Wed Nov 21, 2012 4:47 pm
by limeyb**tard
Updated to version 1.4.1 this morning and now several of the features that worked in the previous version (1.3.9) seem to be non-functional, in particular it seems to be features that rely on 2-way feedback from the Denon Amp and from XBMC. I am currently trying to debug it further but just wondered if anyone else was having similar issues.

Thanks

Re: Latest iPad App Update

Posted: Wed Nov 21, 2012 4:54 pm
by DemoPad
We've had one other report yes, though we are having difficulty duplicating the issue. Generic 2-way feedback seems to work fine as far as we can test. Can I suggest you power off your iPad (press & hold the power button, then swipe to turn off) and then power it back on & see if that helps.

If not, please email [email protected] with a copy of your project so we can figure out what's going on.

Re: Latest iPad App Update

Posted: Wed Nov 21, 2012 5:20 pm
by limeyb**tard
I have cycled the iPad and the problem remains. Here is what i have observed

the previous concatenation issue for adding variables to dynamic labels has been resolved...thanks

2-way feedback from XBMC with the GetCurrentlyPlaying() command returns two resopnses, 1st HTTP/1.1 200 OK/x0D followed by a page of parameters in the form of a list with each starting with the <li> tag but no closing tag. 2-way feedback was configured to look for the closing </html> tag as the /x0D/x0A tags stop the data collection at the end of the first response. This configuration worked well in version 1.3.9. For 1.4.1 it seems that the response is captured very rarely. it can take 10 minutes for the buttons in the GUI to refresh following a parameter change in XBMC and a poll of the GetCurrentlyPlaying() function every 2 seconds. If i look at the returned string in XBMC it only displays the first response. WIreshark shows that the response from XBMC is correctly formatted.

Denon IP feedback is also showing the same signs of intermittent capture. Unfortunately i cannot monitor this as there can only be a single client session to the pre-amp at one time and that is the iPad. Again this was working well in 1.3.9

Re: Latest iPad App Update

Posted: Sat Nov 24, 2012 1:05 am
by limeyb**tard
After a great deal of excellent help from the DemoPad support group I have a working system. Thanks

Re: Latest iPad App Update

Posted: Sat Nov 24, 2012 5:00 pm
by trevorst
limeyb**tard wrote:After a great deal of excellent help from the DemoPad support group I have a working system. Thanks
Would you mind giving the details in case others have the same issues.
Thanks

Re: Latest iPad App Update

Posted: Sun Nov 25, 2012 2:31 am
by limeyb**tard
Most of the issues I was seeing were related to 2-way feedback from XBMC using the HTTPAPI. I rely on the feedback to set the current state and display thumbnails within the GUI etc. In version 1.4.1 the "disconnect after each command" flag was functioning differently to the way it did in 1.3.9 and the IP connection was being dropped before the feedback was received. In 1.3.9 the "maintain active connection" flag in the 2-way panel was holding open the connection.

With 1.3.9 I was seeing a latency in the HTTPAPI commands being executed and following a previous post on this forum I set both options to enabled. This cured the latency issues in 1.3.9. For 1.4.1 having both of these options set was causing the 2-way feedback to fail.

The settings i use for 2-way feedback in XBMC are as follows and they are working fine:

Device Settings:
IP address of the XBMC Host
port of the host, I use 8080 but you should check yours
Command Suffix \x0D\x0A
Disconnect after each command UN-CHECKED

2-Way Feedback:
Response Terminator </html> This proved to be vital to getting correct feedback for parsing with REGEX as there is no end of line or carriage return sent in response to most of the commands such as GetCurrentlyPlaying(). The returned data is simply a list of parameters.
Maintain Active Connection CHECKED

hope this helps anyone with similar issues, XBMC is great but can be a bit unforgiving

Re: Latest iPad App Update

Posted: Sun Nov 25, 2012 3:09 pm
by trevorst
Thanks. I am just about to add some feedback to my XBMC setup.
What was the issue with Denon ??
I have two Denon receivers that are providing and seem to be OK, but I am only sending status data to Demopad.

Re: Latest iPad App Update

Posted: Sun Nov 25, 2012 5:57 pm
by limeyb**tard
Denon seemed to be intermittent in receiving 2-way status feedback but that was never really resolved by any action...it went away when i un-installed the app and re-installed it from iTunes. I really only use the volume status (MV) to generate a volume indicator on the pad and the power on/off and mute on/off as indicators.

Re: Latest iPad App Update

Posted: Mon Nov 26, 2012 12:38 am
by trevorst
Thanks...
Take it you must be an expat like me :)

Re: Latest iPad App Update

Posted: Mon Nov 26, 2012 5:55 am
by limeyb**tard
how'd you tell ;)