Search found 10 matches
- Tue Aug 09, 2005 4:34 am
- Forum: Development
- Topic: ed2k hash function
- Replies: 5
- Views: 1392
Thanks, those are helpful. I came across the first link a while back. I'm trying to stay focused on the core ideas before I mess around with MyList add and other niceties. Once I have a solid idea of how I handle notifications, and caching info to sqlite, then I'll work on sending inf back to anidb....
- Fri Aug 05, 2005 10:00 pm
- Forum: Development
- Topic: ed2k hash function
- Replies: 5
- Views: 1392
ed2k hash function
After much searching around I've got some details of what I have to do in order to get an ed2k hash. According to wikipedia : The file (in question) is divided into 9.28Mb chunks and the hash is calculated for each one. The resulting hash table is hashed once again, and the final value is used as a ...
- Thu Aug 04, 2005 3:43 am
- Forum: Development
- Topic: size+ed2k UDP API question
- Replies: 4
- Views: 1895
size+ed2k UDP API question
Hey, I'm finishing up the last couple UDP API commands. For the commands FILE, MYLIST, MYLISTADD, and MYLISTDEL, I can't find an explanation in the documentation about the following: {int4 lid} - mylist id. I have no clue what this is. fid was mentioned in the wiki, but not lid. It seems to be anoth...
- Mon Aug 01, 2005 8:23 pm
- Forum: Development
- Topic: 271 and 272 packets, notification question
- Replies: 3
- Views: 1053
In the client that I'm working on, I have a wrapper object called AniDBConnection that handles the details of sending and decoding commands. All of the commands seem trivial to implement except I'm running into some trouble with 27x responses. I tag each command I send with the command name and a ti...
- Sat Jul 30, 2005 11:14 pm
- Forum: Development
- Topic: 271 and 272 packets, notification question
- Replies: 3
- Views: 1053
271 and 272 packets, notification question
After sending AniDB a PUSH command, can 271 and 272 packets arrive at any time? I'm asking because I'm curious why there's also a NOTIFY command alongside PUSH and 27x. I can see that it comes in handy as a keep-alive command every 30 minutes, but if AniDB will send out 27x for every notification co...
- Fri Jul 22, 2005 3:37 pm
- Forum: Development
- Topic: Optional source field addition to database?
- Replies: 3
- Views: 839
- Thu Jul 21, 2005 9:44 pm
- Forum: Development
- Topic: Optional source field addition to database?
- Replies: 3
- Views: 839
Optional source field addition to database?
I apologize in advance if this topic has been previously beaten to death... (using search gave me a bunch of posts about "not asking for bittorrent help") I'm sure ed2k and bittorrent both have their pros and cons. I'm not familiar with ed2k, but the ability to get anime info from an ed2k ...
- Sat May 28, 2005 4:41 pm
- Forum: Development
- Topic: Unresponsive UDP AUTH command
- Replies: 6
- Views: 1497
Ping to anidb.ath.info seems fine, but to .cx is not. I took out the delay between sending AUTH and recv'ing, but still no luck. Are there any examples of just basic AUTH or other commands? I have the UDP API spec, but a concrete example would be great. I don't really mind what language it's in. And...
- Sat May 28, 2005 3:06 pm
- Forum: Development
- Topic: Unresponsive UDP AUTH command
- Replies: 6
- Views: 1497
That didn't do it. I'm pretty new to network programming, so this might be a silly question: My guess is that after I send my AUTH string over a socket, I should call recv and expect data from that same socket. Is this true for UDP and TCP in general? Otherwise, should I send my AUTH string, and bin...
- Sat May 28, 2005 2:59 am
- Forum: Development
- Topic: Unresponsive UDP AUTH command
- Replies: 6
- Views: 1497
Unresponsive UDP AUTH command
Hi, I thought the UDP api looked simple enough, so I started to poke around just so I can get a better understanding of it. It didn't take long for me to run into a snag though. I thought I'd use Python for some practice: uid = "mistamushu" password = "..." apiversion = '2' clien...