546
edits
Epoximator (talk | contribs) |
Epoximator (talk | contribs) No edit summary |
||
Line 30: | Line 30: | ||
* ANIME aid={int4 id} | * ANIME aid={int4 id} | ||
by name | by name | ||
* ANIME | * ANIME aname={str anime name} | ||
'''Possible Replies:''' | '''Possible Replies:''' | ||
Line 46: | Line 46: | ||
'''Examples:''' (html escaped code intended) | '''Examples:''' (html escaped code intended) | ||
> ANIME | > ANIME aname=tmm&s=xxxxx | ||
< 230 ANIME | < 230 ANIME | ||
161|52|50|0|715|57|777|35|816|1|2002-2003|TV|Tokyo Mew Mew|東京ミュウミュウ||||TMM§mew|Cat Girls | 161|52|50|0|715|57|777|35|816|1|2002-2003|TV|Tokyo Mew Mew|東京ミュウミュウ||||TMM§mew|Cat Girls | ||
> ANIME | |||
> ANIME aname=ナルト&s=xxxxx | |||
< 230 ANIME | < 230 ANIME | ||
239|0|140|2|1000|10|855|3750|803|36|2002-2005|TV|Naruto|ナルト||נארוטו|NARUTO§ناروتو|naruto tv§ntv|Action,Shounen,Past,...(cut) | 239|0|140|2|1000|10|855|3750|803|36|2002-2005|TV|Naruto|ナルト||נארוטו|NARUTO§ناروتو|naruto tv§ntv|Action,Shounen,Past,...(cut) | ||
Line 91: | Line 92: | ||
* GROUP gid={int4 gid} | * GROUP gid={int4 gid} | ||
by name/shortname | by name/shortname | ||
* GROUP | * GROUP gname={str group name} | ||
'''Possible Replies:''' | '''Possible Replies:''' | ||
* XXX NO SUCH GROUP | * XXX NO SUCH GROUP | ||
Line 100: | Line 101: | ||
< 250 GROUP | < 250 GROUP | ||
1|621|28|29|222|Animehaven|AH|#animehaven@irc.enterthegame.com|http://www.theanimehaven.com | 1|621|28|29|222|Animehaven|AH|#animehaven@irc.enterthegame.com|http://www.theanimehaven.com | ||
> GROUP | |||
> GROUP gname=a-l&s=xxxxx | |||
< 250 GROUP | < 250 GROUP | ||
566|860|398|48|503|Anime-Legion|A-L|#anime-legion@irc.irchighway.net|http://www.anime-legion.net | 566|860|398|48|503|Anime-Legion|A-L|#anime-legion@irc.irchighway.net|http://www.anime-legion.net | ||
Line 110: | Line 112: | ||
'''Command String:'''<br> | '''Command String:'''<br> | ||
by fid: | by fid: | ||
* FILE fid={int4 id}[& | * FILE fid={int4 id}[&fcode={int4}&acode={int4}] | ||
by size+ed2k hash: | by size+ed2k hash: | ||
* FILE size={int4 size}&ed2k={str ed2khash}[& | * FILE size={int4 size}&ed2k={str ed2khash}[&fcode={int4}&acode={int4}] | ||
by anime, group and epno | by anime, group and epno | ||
* FILE aname={str anime name}&gname={str group name}&epno={int4 episode number}[& | * FILE aname={str anime name}&gname={str group name}&epno={int4 episode number}[&fcode={int4}&acode={int4}] | ||
* FILE aname={str anime name}&gid={int4 group id}&epno={int4 episode number}[& | * FILE aname={str anime name}&gid={int4 group id}&epno={int4 episode number}[&fcode={int4}&acode={int4}] | ||
* FILE aid={int4 anime id}&gname={str group name}&epno={int4 episode number}[& | * FILE aid={int4 anime id}&gname={str group name}&epno={int4 episode number}[&fcode={int4}&acode={int4}] | ||
* FILE aid={int4 anime id}&gid={int4 group id}&epno={int4 episode number}[& | * FILE aid={int4 anime id}&gid={int4 group id}&epno={int4 episode number}[&fcode={int4}&acode={int4}] | ||
'''Possible Replies:''' | '''Possible Replies:''' | ||
Line 123: | Line 125: | ||
: {int4 fid}|{int4 aid}|{int4 eid}|{int4 gid}|{int4 lid}|{int4 state}|{int4 size}|{str ed2k}|{str default file name} | : {int4 fid}|{int4 aid}|{int4 eid}|{int4 gid}|{int4 lid}|{int4 state}|{int4 size}|{str ed2k}|{str default file name} | ||
* XXX FILE | * XXX FILE | ||
: {int4 fid | : {int4 fid}|...(data list) | ||
* XXX NO SUCH FILE | * XXX NO SUCH FILE | ||
'''Info:''' | '''Info:''' | ||
* | * fcode and acode is integers where each bit corresponds to a data field related to the specified file (se below). The data list received is sorted in the same order as the tables (and fcode before acode). {f|a}code=-1 means retrieve all fields. | ||
''' | '''fcode:''' | ||
{| cellpadding="0" align="center" | {| cellpadding="0" align="center" | ||
! width="40"|Bit | ! width="40"|Bit | ||
Line 139: | Line 141: | ||
! width="140"|Data field | ! width="140"|Data field | ||
|- style="background-color: #eee;" | |- style="background-color: #eee;" | ||
|0 ||1 || | |0 ||1 || not used || || 16 || 65536 || str dub language | ||
|- | |- | ||
|1 ||2 || int4 | |1 ||2 || int4 aid || || 17 || 131072 || str sub language | ||
|- style="background-color: #eee;" | |- style="background-color: #eee;" | ||
|2 ||4 || | |2 ||4 || int4 eid || || 18 || 262144 || str quality | ||
|- | |- | ||
|3 ||8 || | |3 ||8 || int4 gid || || 19 || 524288 || str source | ||
|- style="background-color: #eee;" | |- style="background-color: #eee;" | ||
|4 ||16 || | |4 ||16 || int4 lid || || 20 || 1048576 || str audio codec | ||
|- | |- | ||
|5 ||32 || | |5 ||32 || not used || || 21 || 2097152 || int4 audio bitrate | ||
|- style="background-color: #eee;" | |- style="background-color: #eee;" | ||
|6 ||64 || | |6 ||64 || not used || || 22 || 4194304 || str video codec | ||
|- | |- | ||
|7 ||128 || | |7 ||128 || not used || || 23 || 8388608 || int4 video bitrate | ||
|- style="background-color: #eee;" | |- style="background-color: #eee;" | ||
|8 ||256 || | |8 ||256 || int2 status || || 24 || 16777216 || str video resolution | ||
|- | |- | ||
|9 ||512 || | |9 ||512 || int4 size || || 25 || 33554432 || str file type (extension) | ||
|- style="background-color: #eee;" | |- style="background-color: #eee;" | ||
|10 ||1024 || str | |10 ||1024 || str ed2k || || 26 || 67108864 || int4 length in seconds | ||
|- | |- | ||
|11 ||2048 || str | |11 ||2048 || str md5 || || 27 || 134217728 || not used | ||
|- style="background-color: #eee;" | |- style="background-color: #eee;" | ||
|12 ||4096 || str | |12 ||4096 || str sha1 || || 28 || 268435456 || not used | ||
|- | |- | ||
|13 || | |13 ||819 || str crc32 || || 29 || 536870912 || not used | ||
|- style="background-color: #eee;" | |- style="background-color: #eee;" | ||
|14 ||16384 || | |14 ||16384 || not used || || 30 || 1073741824 || not used | ||
|- | |- | ||
|15 ||32768 || str group short name || | |15 ||32768 || not used || || 31 || -2147483648 || not used | ||
|} | |||
'''acode:''' | |||
{| cellpadding="0" align="center" | |||
! width="40"|Bit | |||
! width="80"|Decimal | |||
! width="140"|Data field | |||
! width="50"|- | |||
! width="40"|Bit | |||
! width="80"|Decimal | |||
! width="140"|Data field | |||
|- style="background-color: #eee;" | |||
|0 ||1 || str group name || || 16 || 65536 || int4 anime total episodes | |||
|- | |||
|1 ||2 || str group short name || || 17 || 131072 || int4 last episode nr (highest, not special) | |||
|- style="background-color: #eee;" | |||
|2 ||4 || not used || || 18 || 262144 || str year | |||
|- | |||
|3 ||8 || not used || || 19 || 524288 || str type | |||
|- style="background-color: #eee;" | |||
|4 ||16 || not used || || 20 || 1048576 || str romaji name | |||
|- | |||
|5 ||32 || not used || || 21 || 2097152 || str kanji name | |||
|- style="background-color: #eee;" | |||
|6 ||64 || not used || || 22 || 4194304 || str english name | |||
|- | |||
|7 ||128 || not used || || 23 || 8388608 || str other name | |||
|- style="background-color: #eee;" | |||
|8 ||256 || str epno || || 24 || 16777216 || str short name list | |||
|- | |||
|9 ||512 || str ep name || || 25 || 33554432 || str synonym list | |||
|- style="background-color: #eee;" | |||
|10 ||1024 || str ep romaji name || || 26 || 67108864 || not genre list | |||
|- | |||
|11 ||2048 || str ep kanji name || || 27 || 134217728 || not used | |||
|- style="background-color: #eee;" | |||
|12 ||4096 || not used || || 28 || 268435456 || not used | |||
|- | |||
|13 ||819 || not used || || 29 || 536870912 || not used | |||
|- style="background-color: #eee;" | |||
|14 ||16384 || not used || || 30 || 1073741824 || not used | |||
|- | |||
|15 ||32768 || not used || || 31 || -2147483648 || not used | |||
|} | |} | ||
'''Examples:''' (html escaped code intended) | '''Examples:''' (html escaped code intended) | ||
Line 177: | Line 221: | ||
15201|74|445|41|1|242772540|a53c401ed95eaa502ba85acde773040c|Ai yori Aoshi - 1 - Relation - [Zhentarim DivX].ogm | 15201|74|445|41|1|242772540|a53c401ed95eaa502ba85acde773040c|Ai yori Aoshi - 1 - Relation - [Zhentarim DivX].ogm | ||
> FILE fid=15201& | > FILE fid=15201&fdata=-1&adata=-1&s=xxxxx | ||
< 220 FILE | < 220 FILE | ||
15201|74|445|41|1|242772540|a53c401ed95eaa502ba85acde773040c|a69c9ca88822338685f163db95da8231|842fc9060b4338757d0197a9f7bf0c79cf39a549|01ffc5f4|842fc9060b4338757d0197a9f7bf0c79cf39a549|dual (jap/eng)|english|very high|DVD|Ogg Vorbis|101|DivX5|1182|640x480|ogm|Zhentarim DivX|zx|24|24|2002|TV|Ai yori Aoshi|藍より青し|Bluer than Indigo|Azul||aya1§AYA§AiAo| | 15201|74|445|41|0|1|242772540|a53c401ed95eaa502ba85acde773040c|a69c9ca88822338685f163db95da8231|842fc9060b4338757d0197a9f7bf0c79cf39a549|01ffc5f4|842fc9060b4338757d0197a9f7bf0c79cf39a549|dual (jap/eng)|english|very high|DVD|Ogg Vorbis|101|DivX5|1182|640x480|ogm|Zhentarim DivX|zx|24|24|2002|TV|Ai yori Aoshi|藍より青し|Bluer than Indigo|Azul||aya1§AYA§AiAo| | ||
> FILE aname=narutaru&gname=triad&aone&epno=2&s=xxxxx | > FILE aname=narutaru&gname=triad&aone&epno=2&s=xxxxx | ||
Line 202: | Line 242: | ||
== Mylist General == | == Mylist General == | ||
=== MYLIST : extend === | |||
'''Command String:'''<br> | |||
by anime + group + epno | |||
* MYLIST aname={str anime name}&gname={str group name}&epno={int epno} | |||
'''Possible Replies:'''<br> | |||
when multiple files found | |||
* XXX MULTIPLE FILES FOUND | |||
: {str eps with state unknown}|{str eps with state on hhd}|{str eps with state on cd}|{str eps with state deleted}|{str watched eps}|{str group 1 short name}|{str eps for group 1}|...|{str group N short name}|{str eps for group N} | |||
'''Info:''' | |||
* eps is a list of episodes, e.g. "1-12,14-16,T1" | |||
'''Example:''' | |||
> MYLIST aname=gits sac&s=xxxxx | |||
<322 MULTIPLE FILES FOUND | |||
|1-26,S2-S27|1-26|||V-A|S2-S27|LMF|20-26|KAA|1-12,21-23|anime_fin|1-26|AonE|1-19|Anime-MX|1-3,17-20 | |||
=== MYLISTSTATS : new === | === MYLISTSTATS : new === | ||
Line 274: | Line 329: | ||
* MYLISTADD aid={int4 anime id}[&gid={int4 group id}&epno={int4 episode number}][&state={int2 state}&viewed={boolean viewed}&source={str source}&storage={str storage}&other={str other}][&edit=1] | * MYLISTADD aid={int4 anime id}[&gid={int4 group id}&epno={int4 episode number}][&state={int2 state}&viewed={boolean viewed}&source={str source}&storage={str storage}&other={str other}][&edit=1] | ||
'''Possible Replies:'''<br> | '''Possible Replies:'''<br> | ||
when edit=1 | |||
* XXX MYLIST ENTRY EDITED | |||
: {int4 number of entries edited} | |||
when edit=0 | when edit=0 | ||
* XXX MYLIST ENTRY ADDED | |||
: {int4 number of entries added} | |||
* XXX MULTIPLE FILES FOUND | * XXX MULTIPLE FILES FOUND | ||
: {int4 fid 1}|{int4 group name 1} | : {int4 fid 1}|{int4 group name 1} | ||
Line 281: | Line 341: | ||
'''Info:''' | '''Info:''' | ||
* epno=0 means all eps (default), negative numbers means upto. (-12 -> upto 12) | * epno=0 means all eps (default), negative numbers means upto. (-12 -> upto 12) | ||
* group is optional only when edit=1 | * group is optional only when edit=1, meaning you can't add every file for an anime | ||
=== MYLISTDEL : extend === | === MYLISTDEL : extend === | ||
Line 290: | Line 350: | ||
* MYLISTDEL aid={int4 anime id}[&gname={str group name}&epno={int4 episode number}] | * MYLISTDEL aid={int4 anime id}[&gname={str group name}&epno={int4 episode number}] | ||
* MYLISTDEL aid={int4 anime id}[&gid={int4 group id}&epno={int4 episode number}] | * MYLISTDEL aid={int4 anime id}[&gid={int4 group id}&epno={int4 episode number}] | ||
'''Possible Replies:'''<br> | '''Possible Replies:'''<br> | ||
* XXX ENTRY DELETED | |||
* XXX | : {int4 number of entries} | ||
: {int4 | |||
'''Info:''' | '''Info:''' | ||
* epno=0 means all eps (default), negative numbers means upto. (-12 -> upto 12) | * epno=0 means all eps (default), negative numbers means upto. (-12 -> upto 12) | ||
* group is optional | * group is optional | ||
* command will delete all enties found | |||
== Misc == | == Misc == |
edits