User:Ommina
FILE acode & fcode replacement
ANIME acode replacement
amask:
Byte 1 | Byte 2 | Byte 3 | Byte 4 | Byte 5 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|
|
ANIME Relationship Types
%adb_seq_subs::seq_type = ( 1 => 'sequel', 2 => 'prequel',
11 => 'same setting', 12 => 'same setting',
21 => 'alternative setting', 22 => 'alternative setting',
31 => 'alternative version', 32 => 'alternative version',
41 => 'character', 42 => 'character',
51 => 'side story', 52 => 'parent story',
61 => 'summary', 62 => 'full story',
100 => 'other' );
MYLISTEXPORT: Schedule a MyList Export
Queues a MyList Export by the AniDb Servers. As with a manual export request, exports are only done during periods when server load is low. As a result, exports may take up to 24 hours. The client submitting the request will receive an AniDb message when the export is ready to be collected.
Only one export can be in the queue at a time.
Command String:
- MYLISTEXPORT [template={str template_name}|cancel=1]
Possible Replies:
- 217 Export Queued
- 218 Export Cancelled
- 317 No Such Template
- 318 Export Already In Queue
- 319 No Export In Queue or Export In Progress
Info:
- template_name must match an available export template on the MyList Export page.
- cancel will cancel any pending export request, queued either through UDP or the web server.
- Clients can subscribe the message notifications if they wish to be notified when an export is complete.
Empty Table
Byte 1 | ||
Bit | Decimal | Data Field |
0 | 1 | String |
1 | 2 | String |
2 | 4 | String |
3 | 8 | String |
4 | 16 | String |
5 | 32 | String |
6 | 64 | String |
7 | 128 | String |
FILE: Retrieve File Data
Command String:
by fid:
- FILE fid={int4 id}[&fmask={hexstr fmask}&amask={hexstr amask}]
by size+ed2k hash:
- FILE size={int8 size}&ed2k={str ed2khash}[&fmask={hexstr fmask}&amask={hexstr amask}]
by anime, group and epno
- FILE aname={str anime name}&gname={str group name}&epno={int4 episode number}[&fmask={hexstr fmask}&amask={hexstr amask}]
- FILE aname={str anime name}&gid={int4 group id}&epno={int4 episode number}[&fmask={hexstr fmask}&amask={hexstr amask}]
- FILE aid={int4 anime id}&gname={str group name}&epno={int4 episode number}[&fmask={hexstr fmask}&amask={hexstr amask}]
- FILE aid={int4 anime id}&gid={int4 group id}&epno={int4 episode number}[&fmask={hexstr fmask}&amask={hexstr amask}]
Possible Replies:
- 220 FILE
- {int4 fid}|{int4 aid}|{int4 eid}|{int4 gid}|{int4 state}|{int8 size}|{str ed2k}|{str anidbfilename}
- 220 FILE
- {int4 fid}|...(data list)
- 322 MULTIPLE FILES FOUND
- {int4 fid 0}|{int4 fid 1}|...|{int4 fid n}
- 320 NO SUCH FILE
Info:
- fid, aid, eid, gid are the unique ids for the file, anime, ep, group entries at anidb.
- You can use those to create links to the corresponding pages at anidb.
- anidbfilename is the anidb filename for the file.
- However this name does not contain all the extra information of the filenames on AniDB and might be composed slightly different.
- fmask and amask are hexidecimal strings where each bit corresponds to a data field related to the specified file (see below). The data list received is sorted in the same order as the tables (and fmask before amask). There is no provision to retrieve all fields, further, requesting a 'unusued' or 'reserved' bit will return an "illegal input" error.
- Only the first matching file is returned when aname, gname and epno is used.
State:
bit / int value meaning 1 / 1 FILE_CRCOK: file matched official crc (displayed with green background in anidb) 2 / 2 FILE_CRCERR: file DID NOT match official crc (displayed with red background in anidb) 3 / 4 FILE_ISV2: file is version 2 4 / 8 FILE_ISV3: file is version 3 5 / 16 FILE_ISV4: file is version 4 6 / 32 FILE_ISV5: file is version 5 7 / 64 FILE_UNC: file is uncensored 8 / 128 FILE_CEN: file is censored examples: state ==== 9 ==> FILE_CRCOK+FILE_ISV3 ==> file matched official crc and is version 3 state ==== 0 ==> - ==> file was not crc checked and is version 1 state ==== 34 ==> FILE_CRCERR+FILE_ISV5 ==> file DID NOT match official crc and is version 5 state ==== 1 ==> FILE_CRCOK ==> file matched official crc and is version 1 state ==== 8 ==> FILE_ISV3 ==> file was not crc checked and is version 3
fmask: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Byte 1 | Byte 2 | Byte 3 | Byte 4 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|
amask: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Byte 1 | Byte 2 | Byte 3 | Byte 4 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|