PDA

View Full Version : GoHome & GoDevice Crash NetRemote on PC



NeoMorph
July 23rd, 2007, 01:38 PM
"NetRemote.GoDevice('Group2','Page1',false)" causes an error and crashes NR on a PC


AppName: netremote.exe AppVer: 2.0.0.99 ModName: netremote.exe
ModVer: 2.0.0.99 Offset: 00022d41



"NetRemote.GoHome('Page1')" causes an error and crashes NR on a PC


AppName: netremote.exe AppVer: 2.0.0.99 ModName: mfc71u.dll
ModVer: 7.10.3077.0 Offset: 000dea7a


Also "NetRemote.GoDevice('HOME','Page1',false)" doesn't appear to do anything whatsoever.

Edit: Strangely enough the crashes don't happen on a pocket pc so the bug is only on the windows client.
Examples attached.

Rob H
July 23rd, 2007, 01:55 PM
I think I see what the problem is - change the action to an Execute Lua code (OnRelease).

It's clearly a bug though.

NeoMorph
July 23rd, 2007, 06:14 PM
Cheers Rob... I have to say that it's refreshing to have a company that admits to bugs... not like another company I could name which claims "They aren't bugs... they are undocumented features"... heh.

How do I go about reporting bugs (I noticed you deleted the Bug prefix to this post). I've found another one for you you see.

Enter this url into a "Go to URL" button...

http://xbox/xbmcCmds/xbmcHttp?command=ExecBuiltIn&parameter=Notification({xbmc.msg},{xbmc.msg2})


... If you save the CCF once the button works fine... But save the CCF a second time and it chops the url at the comma leaving the url incomplete.


http://xbox/xbmcCmds/xbmcHttp?command=ExecBuiltIn&parameter=Notification({xbmc.msg

NeoMorph
July 23rd, 2007, 06:39 PM
I think I see what the problem is - change the action to an Execute Lua code (OnRelease).

It's clearly a bug though.


Hmmm... Still something weird going on... Using the OnRelease version when it calls...


NetRemote.GoHome('XBMC');

... I'm hearing it click twice on the XBOX... I think it's sending the first click for when it should have opened the url with


NetRemote.ExecuteAction( -2, 1, 32, 'WEB1,'..szAddress );

... and the second click for the GoHome workaround.

Unfortunately removing the GoHome line returns the unresponsive first attempt again... second and consequence attempts uses refresh and you only hear a single click on the XBOX.

I hate bugs that behave like this... Damned if you don't and Double Damned if you do use the workaround heh.

Keep at it guys... this product is well worth it.

Any idea as to when the next patch is scheduled for as I think I'm going to put this part of my home entertainment system on hold until it's fixed.

Rob H
July 24th, 2007, 03:01 AM
Not sure what's going on there - that could either be a problem with NR or NRD.

Just to check - is your CCF in NR 1.0 or 1.1 format? In NRD, right click on System in the tree and select properties. There are limitations on the lengths of strings in 1.0 file format.

If that's not it, you could try replacing the comma with %2C in the URL

NeoMorph
July 24th, 2007, 06:03 AM
Rob I'm using 1.1 (Rev 1.4).

The bug is definately in NRD as you can reload the CCF multiple times in NR and it works fine... load it and save it in NRD without changing anything breaks the CCF. I think NRD is thinking there is another parameter after the comma and just ditches it.

I've also tried the &2c method and it doesn't seem to work. It's like the browser object isn't replacing the &2c with a comma.

Sorry about this... I seem to keep stumbling into all the bugs lol.

Rob H
July 24th, 2007, 06:42 AM
That's %2C not &2C

NeoMorph
July 24th, 2007, 04:49 PM
That's %2C not &2C

Heh... I thought I'd posted that I had figured that out...

How come it's % instead of & like other browsers?

Rob H
July 24th, 2007, 04:55 PM
It's always %

& is used to indicate additional parameters following a ?

So, does that mean that it worked?

NeoMorph
July 24th, 2007, 06:38 PM
Oh dear... too little sleep... too many painkillers...

Yes Rob it works fine thanks... I had been trying "&" to input the hex codes before you mentioned the "&2C". I guess it was me having been sending so many parameters to my XBOX that I just got ampersand fixated.

Funnily enough I'm seriously thinking about ditching the XBMC music code altogether because I'm probably going to get a mini-atx fanless system to run Girder and the home automation interface. It makes sense to put the music on there too so that I'm not running the xbox which will use extra power... Plus the itx system will only draw 60w unlike the 360w my current system uses. Plus no fans and a USB flash drive will mean it's a totally silent system...

... It also means music integration has already been done for a system like this. I'd only have to add my custom controls to get a fully working system a lot quicker and then design my own when I have the time (I'm still doing the decorating and keeping having to stop like when I decided recently to include a wall touch screen to handle the home automation systems).

OK... this is seriously getting weird... You know I mentioned that programming distorts spacetime... well I now have a blackbird singing outside my back door and it's 2:32am... I think it's the dad blackbird just got back drunk from an outing as another bird is going mad at it now... must be the mrs. :D

tmorten
July 25th, 2007, 07:15 AM
Speaking as a former XBMC user myself, the combination of JRMC with NetRemote was a big step-up for my setup -- automatic viewing of album covers on the remote, and the ability to stream different music to multiple zones of the house (similar to Sonos)... a fanless mini-atx box is the way to go :)!

Best,
Tim