Jump to content

Cache Id


cussiol

Recommended Posts

Posted

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=1

I 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?

Posted

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?

Posted

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?

Posted

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.

Posted

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 CID

If 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 :)

Posted

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...