cussiol Posted December 22, 2007 Report Posted December 22, 2007 When I call for http://[iP]:[PORT]/gui/?list=1&cid=[CACHE ID] it returns the same thing if I had called http://[iP]:[PORT]/gui/?list=1I read that if I set the "cid" it should return a list with just the changed torrent since the generation of the given cid.Anyone knows something about that?
Ultima Posted December 23, 2007 Report Posted December 23, 2007 IIRC, CIDs expire after a certain amount of time -- perhaps that's the source of the problem? Are you sure you copied the CID correctly?
cussiol Posted December 23, 2007 Author Report Posted December 23, 2007 Yes, I'm sure.Actualy I did some tests after my post. When call for list=1&cid=*** manualy, it never returns what I want. But, if do it on the script (my script call every 3 seconds) it some times return the torrentp and torrentm.There isn't a way to change the expiration time?
Ultima Posted December 24, 2007 Report Posted December 24, 2007 Not that I know of, no. I just tested it, and it worked perfectly fine every time I put the CID in the URL manually. I'm not really sure what to say... You're not putting quotes around the CID (which should be taken from torrentc), are you?
cussiol Posted December 24, 2007 Author Report Posted December 24, 2007 I'm putting no quotes, just the numbers. Manually it never worked for me. I will try to change the webui file, and rewrite my code.I saw the iphone interface, and it was so cool. So now I'm developing my owm. Now it have much more things than the other.
patrickbrans Posted December 24, 2007 Report Posted December 24, 2007 The thing I've experienced with the CID is that µtorrent only remembers 1 CID.So in the case you're running the webUI for example and you're running your own developed thing (or manual) and the following goes on:1) You request ?list=1&cid=*** (returns a new CID, now referred as CID1)2) The webUI (or another 3rd party app related to the interface) requests the ?list=1&cid=*** (returns a new CID to the webUI, now referred as CID2)3) You request ?list1&cid=CID1, you'll get the exact same as if you requested without the CIDIf the WebUI request wasn't there you would have gotten the output with only the changes.A expiration time I haven't looked at, but if there is one, it would be more than a minute at least
Ultima Posted December 25, 2007 Report Posted December 25, 2007 µtorrent only remembers 1 CIDHah, excellent point; I neglected to consider that cussiol might be refreshing the page with the same CID
cussiol Posted December 25, 2007 Author Report Posted December 25, 2007 I had found the problem and forgot to post. I'm testing my app on safari, firefox and iPod at the same time. So like patrickbrans sad, I'm loosing the CID everytime.thanks xD
Recommended Posts
Archived
This topic is now archived and is closed to further replies.