the file extension must be .XHTMLsmithrl said:I get the exact same error with Firefox - both with the original script and with Morac's version
if you save the file in IE or notepad, it will change it on you.
the file extension must be .XHTMLsmithrl said:I get the exact same error with Firefox - both with the original script and with Morac's version
Just keeps getting bettergman622 said:another update.....
1. another (sortable) column was added: Expires. now you can see which show will be deleted first, second, third and so on. (finally a use for the keep until date!)
2. multiple tivos are supported (though i'm not sure how well... i only have one)
3. requests are asynchronous, so the browser will not hang on lengthy GETs
(the tab/title will let you know when it's done loading)
4. now recording info will tell you if it's a planned or suggested recording.
here 'tis:
http://home.ripway.com/2005-2/266393/nowPlaying.xhtml
The page never finished loading when I tried it. It downloaded a number of the expiration information and then started generating javascript errors. I got about 50 of the following error:gman622 said:another update.....
1. another (sortable) column was added: Expires. now you can see which show will be deleted first, second, third and so on. (finally a use for the keep until date!)
If I lower the amount of shows downloaded to around 5 than I don't get errors. I checked the .status field of the returns and the ones that get errors have a status of 503 (which is gateway timeout). If I had to guess I would say that the TiVo can't handle that many requests at once. It seems to max out at around 9 connections at once.Error: zuluTime has no properties
Source File: file:///d:/TiVo/nowPlaying.xhtml
Line: 99
for (i = 0; i < tblNP.rows.length; i++) {
getExpDate(tivo_ip, tblNP.rows[i].cells[2], i, tblNP.rows.length-1);
}
getExpDate(tivo_ip, 0, tblNP.rows.length-1);
function getExpDate(tivo_ip, node, timesCalled, timesToBeCalled){
var showId = node.childNodes[0].childNodes[0].nodeValue;
function getExpDate(tivo_ip, timesCalled, timesToBeCalled){
var tblNP = document.getElementById('nowPlay');
var node = tblNP.rows[timesCalled].cells[2];
var showId = node.childNodes[0].childNodes[0].nodeValue;
else {
getExpDate(tivo_ip, timesCalled + 1, timesToBeCalled)
}
hmm, it's been working fine all day for me. i've got 14 shows right now, maybe the max number of requests is 16? would the server be set to only handle that many though? its not a browser setting issue is it?morac said:status of 503 (which is gateway timeout). If I had to guess I would say that the TiVo can't handle that many requests at once. It seems to max out at around 9 connections at once.
you're code works ok, except if you sort the columns while the expiration dates are loading then it screws up. it needs a handle to the node for each request. i think it's maybe the better way to do it though.morac said:but the following will send out 1 at a time which seems to work rather well:
Thanks!gman622 said:the file extension must be .XHTML
if you save the file in IE or notepad, it will change it on you.
I figured out the problem. Firefox defaults to only allow 2 open connections per server. This is controlled via the configuration "network.http.max-persistent-connections-per-server" which can be changed by typing "about:config" into the location bar in Firefox.gman622 said:i'm curious if anyone else is getting these errors, and how many shows(requests) their tivos can handle.
var nodes = new Array(tblNP.rows.length);
for (i = 0; i < tblNP.rows.length; i++) {
nodes[i] = tblNP.rows[i].cells[2];
}
getExpDate(tivo_ip, nodes, 0, tblNP.rows.length-1);
.
.
.
function getExpDate(tivo_ip, nodes, timesCalled, timesToBeCalled){
var node = nodes[timesCalled];
.
.
.
else {
getExpDate(tivo_ip, nodes, timesCalled + 1, timesToBeCalled)
}
the time difference seemed negligible to me - of course i only ever have 15-20 shows at any one time.morac said:Well this version does eventually download all the expires info, but it takes a while.
I can not get it to load for anything, I have made sure the extension is correct, just comes up with a blank screen in firefox and does nothing. Any other suggestions?gman622 said:the file extension must be .XHTML
if you save the file in IE or notepad, it will change it on you.
You should get a number of warnings, unless you select the remember option (which is dangerous do to a bug in Firefox). Check the javascript console for errors.TheCat said:I'm using Firefox on Linux (Fedora Core 3). When I load the .xhtml file, I get two warnings about unsafe scripts. If I accept both, the page title changes to "Loading..." and the status bar says "none." Nothing else happens. Any suggestions?
p.s. I'm using morac's version, since gman622's links to a "file not found" error.
Dude. You should be worried. They posted a link to your Comcast http server in the comments there.morac said:On a completely different topic I see this thread got Slashdotted.
Yeah I noticed. I got an excited androg said:Dude. You should be worried. They posted a link to your Comcast http server in the comments there.![]()