User:Ommina

From AniDB
Jump to navigation Jump to search


FILE acode & fcode replacement

amask:

Byte 1 Byte 2 Byte 3 Byte 4
Bit Dec Data Field
7 128 int4 anime total episodes
6 64 int4 highest episode number
5 32 str year
4 16 str type
3 8 str related aid list
2 4 str related aid type
1 2 str category list
0 1 reserved
Bit Dec Data Field
7 128 str romaji name
6 64 str kanji name
5 32 str english name
4 16 str other name
3 8 str short name list
2 4 str synonym list
1 2 str producer name list
0 1 str producer id list
Bit Dec Data Field
7 128 str epno
6 64 str ep name
5 32 str ep romaji name
4 16 str ep kanji name
3 8 unused
2 4 unused
1 2 unused
0 1 unused
Bit Dec Data Field
7 128 str group name
6 64 str group short name
5 32 unused
4 16 unused
3 8 unused
2 4 unused
1 2 unused
0 1 reserved

fmask:

Byte 1 Byte 2 Byte 3 Byte 4
Bit Dec Data Field
7 128 unused
6 64 int4 aid
5 32 int4 eid
4 16 int4 gid
3 8 int4 lid
2 4 list other episodes
1 2 int2 IsDeprecated
0 1 int2 state
Bit Dec Data Field
7 128 int8 size
6 64 str ed2k
5 32 str md5
4 16 str sha1
3 8 str crc32
2 4 unused
1 2 unused
0 1 unused
Bit Dec Data Field
7 128 str quality
6 64 str source
5 32 str audio codec
4 16 int4 audio bitrate
3 8 str video codec
2 4 int4 video bitrate
1 2 str video resolution
0 1 str file type (extension)
Bit Dec Data Field
7 128 str dub language
6 64 str sub language
5 32 int4 length in seconds
4 16 str description
3 8 int4 release date
2 4 unused
1 2 unused
0 1 str anidb file name

ANIME acode replacement

amask:

Byte 1 Byte 2 Byte 3 Byte 4 Byte 5
Bit Dec Data Field
7 128 int aid
6 64 unused
5 32 str year
4 16 str type
3 8 str related aid list
2 4 str related aid type
1 2 str category list
0 1 reserved
Bit Dec Data Field
7 128 str romaji name
6 64 str kanji name
5 32 str english name
4 16 str other name
3 8 str short name list
2 4 str synonym list
1 2 str producer name list
0 1 str producer id list
Bit Dec Data Field
7 128 int4 episodes
6 64 int4 normal ep count
5 32 int4 special ep count
4 16 int4 air date
3 8 int4 end date
2 4 str url
1 2 str picname
0 1 unused
Bit Dec Data Field
7 128 int4 rating
6 64 int4 vote count
5 32 int4 temp rating
4 16 int4 temp vote count
3 8 int4 average review rating
2 4 int4 review count
1 2 str award list
0 1 unused
Bit Dec Data Field
7 128 int4 anime planet id
6 64 int4 ANN id
5 32 int4 allcinema id
4 16 str animenfo id
3 8 unused
2 4 unused
1 2 unused
0 1 reserved

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.

GROUPSTATUS: Get Completed Episode

Returns a list of group names and ranges of episodes released by the group for a given anime.

Command String:

  • GROUPSTATUS aid={int animeid}&state={int completion_state}

Possible Replies:

  • 225 Group Status
  • 325 No Groups Found
  • 330 Anime Not Found

Info:

  • Groups will be filtered by the languages selected in the user's profile
  • If completion_state is not supplied, groups with a completion state of 'ongoing', 'finished', or 'complete' are returned
  • Groups are returned in order of descending episode count
  • If there are more groups to return than can be stored in a UDP packet, additional groups will be silently discarded
  • I really need a nap

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