PDA

View Full Version : What's expected behavior when reaching http://xbox_ip?


markguy
2009-04-26, 20:21
I'm having trouble getting my Control4 system to find my XBMC server and while trying to troubleshoot this, connected to the web server via my browser. What I got back was this:
if (isset("Action")) {
if (Action == "UnqueMusicplaylist") {
var ItemCount;
var z;
ItemCount = xbmcCommand("catalog","items");
for (z = 0; z < ItemCount; z = z + 1) {
// dirty workaround, cause unque, + z won't work
xbmcCommand("navigate", Action);
xbmcCommand("catalog","unque");
}
Action = "musicplaylist";
}
xbmcCommand("navigate", Action);
}

if (isset("command")) {
// execute a few commands before listing the contents
if (command == "select") {
xbmcCommand("catalog", "select," + item);
} else if (command == "unque") {
xbmcCommand("catalog", "unque," + item);
}
}

var navigatorstate;
var BannerClass;
var InfoClass;
var BackgroundClass;
var ItemFileClass;
navigato

The "navigato" at the end is not a typo, that's how the return ended. Assuming this isn't expected behavior, any idea what might be going on here? I couldn't find anything similar via forum search.

EDIT: http://xbmc.org/forum/showthread.php?t=37577 seems to be same problem, just found it after posting of course.

markguy
2009-04-26, 20:36
So, in case someone else finds this post instead of one I edited in above, the basic message is a 64 bit box isn't going to have a properly behaving web server. Yet.