User:Ommina: Difference between revisions

From AniDB
Jump to navigation Jump to search
Line 20: Line 20:
     <tr>
     <tr>
     <td>Bit</td>
     <td>Bit</td>
     <td align="right">Decimal</td>
     <td align="right">Dec</td>
     <td>Data Field</td>
     <td>Data Field</td>
     </tr>
     </tr>
     <tr bgcolor="#eee">
     <tr bgcolor="#eee">
     <td>0</td>
     <td>7</td>
     <td align="right">1</td>
     <td align="right">128</td>
     <td>int4 anime total episodes</td>
     <td>int4 anime total episodes</td>
     </tr>
     </tr>
     <tr>
     <tr>
     <td>1</td>
     <td>6</td>
     <td align="right">2</td>
     <td align="right">64</td>
     <td>int4 highest episode number</td>
     <td>int4 highest episode number</td>
     </tr>
     </tr>
     <tr bgcolor="#eee">
     <tr bgcolor="#eee">
     <td>2</td>
     <td>5</td>
     <td align="right">4</td>
     <td align="right">32</td>
     <td>str year</td>
     <td>str year</td>
     </tr>
     </tr>
     <tr>
     <tr>
     <td>3</td>
     <td>4</td>
     <td align="right">8</td>
     <td align="right">16</td>
     <td>str type</td>
     <td>str type</td>
     </tr>
     </tr>
     <tr bgcolor="#eee">
     <tr bgcolor="#eee">
     <td>4</td>
     <td>3</td>
     <td align="right">16</td>
     <td align="right">8</td>
     <td>str related aid list</td>
     <td>str related aid list</td>
     </tr>
     </tr>
     <tr>
     <tr>
     <td>5</td>
     <td>2</td>
     <td align="right">32</td>
     <td align="right">4</td>
     <td>str related aid type</td>
     <td>str related aid type</td>
     </tr>
     </tr>
     <tr bgcolor="#eee">
     <tr bgcolor="#eee">
     <td>6</td>
     <td>1</td>
     <td align="right">64</td>
     <td align="right">2</td>
     <td>str category list</td>
     <td>str category list</td>
     </tr>
     </tr>
     <tr>
     <tr>
     <td>7</td>
     <td>0</td>
     <td align="right">128</td>
     <td align="right">1</td>
     <td>unused</td>
     <td>unused</td>
     </tr>
     </tr>
Line 69: Line 69:
     <tr>
     <tr>
     <td>Bit</td>
     <td>Bit</td>
     <td align="right">Decimal</td>
     <td align="right">Dec</td>
     <td>Data Field</td>
     <td>Data Field</td>
     </tr>
     </tr>
     <tr bgcolor="#eee">
     <tr bgcolor="#eee">
     <td>0</td>
     <td>7</td>
     <td align="right">1</td>
     <td align="right">128</td>
     <td>str romaji name</td>
     <td>str romaji name</td>
     </tr>
     </tr>
     <tr>
     <tr>
     <td>1</td>
     <td>6</td>
     <td align="right">2</td>
     <td align="right">64</td>
     <td>str kanji name</td>
     <td>str kanji name</td>
     </tr>
     </tr>
     <tr bgcolor="#eee">
     <tr bgcolor="#eee">
     <td>2</td>
     <td>5</td>
     <td align="right">4</td>
     <td align="right">32</td>
     <td>str english name</td>
     <td>str english name</td>
     </tr>
     </tr>
     <tr>
     <tr>
     <td>3</td>
     <td>4</td>
     <td align="right">8</td>
     <td align="right">16</td>
     <td>str other name</td>
     <td>str other name</td>
     </tr>
     </tr>
     <tr bgcolor="#eee">
     <tr bgcolor="#eee">
     <td>4</td>
     <td>3</td>
     <td align="right">16</td>
     <td align="right">8</td>
     <td>str short name list</td>
     <td>str short name list</td>
     </tr>
     </tr>
     <tr>
     <tr>
     <td>5</td>
     <td>2</td>
     <td align="right">32</td>
     <td align="right">4</td>
     <td>str synonym list</td>
     <td>str synonym list</td>
     </tr>
     </tr>
     <tr bgcolor="#eee">
     <tr bgcolor="#eee">
     <td>6</td>
     <td>1</td>
     <td align="right">64</td>
     <td align="right">2</td>
     <td>str producer name list</td>
     <td>str producer name list</td>
     </tr>
     </tr>
     <tr>
     <tr>
     <td>7</td>
     <td>0</td>
     <td align="right">128</td>
     <td align="right">1</td>
     <td>str producer id list</td>
     <td>str producer id list</td>
     </tr>
     </tr>
Line 118: Line 118:
     <tr>
     <tr>
     <td>Bit</td>
     <td>Bit</td>
     <td align="right">Decimal</td>
     <td align="right">Dec</td>
     <td>Data Field</td>
     <td>Data Field</td>
     </tr>
     </tr>
     <tr bgcolor="#eee">
     <tr bgcolor="#eee">
     <td>0</td>
     <td>7</td>
     <td align="right">1</td>
     <td align="right">128</td>
     <td>str epno</td>
     <td>str epno</td>
     </tr>
     </tr>
     <tr>
     <tr>
     <td>1</td>
     <td>6</td>
     <td align="right">2</td>
     <td align="right">64</td>
     <td>str ep name</td>
     <td>str ep name</td>
     </tr>
     </tr>
     <tr bgcolor="#eee">
     <tr bgcolor="#eee">
     <td>2</td>
     <td>5</td>
     <td align="right">4</td>
     <td align="right">32</td>
     <td>str ep romaji name</td>
     <td>str ep romaji name</td>
     </tr>
     </tr>
     <tr>
     <tr>
     <td>3</td>
     <td>4</td>
     <td align="right">8</td>
     <td align="right">16</td>
     <td>str ep kanji name</td>
     <td>str ep kanji name</td>
     </tr>
     </tr>
     <tr bgcolor="#eee">
     <tr bgcolor="#eee">
     <td>4</td>
     <td>3</td>
     <td align="right">16</td>
     <td align="right">8</td>
     <td>unused</td>
     <td>unused</td>
     </tr>
     </tr>
     <tr>
     <tr>
     <td>5</td>
     <td>2</td>
     <td align="right">32</td>
     <td align="right">4</td>
     <td>unused</td>
     <td>unused</td>
     </tr>
     </tr>
     <tr bgcolor="#eee">
     <tr bgcolor="#eee">
     <td>6</td>
     <td>1</td>
     <td align="right">64</td>
     <td align="right">2</td>
     <td>unused</td>
     <td>unused</td>
     </tr>
     </tr>
     <tr>
     <tr>
     <td>7</td>
     <td>0</td>
     <td align="right">128</td>
     <td align="right">1</td>
     <td>unused</td>
     <td>unused</td>
     </tr>
     </tr>
Line 167: Line 167:
     <tr>
     <tr>
     <td>Bit</td>
     <td>Bit</td>
     <td align="right">Decimal</td>
     <td align="right">Dec</td>
     <td>Data Field</td>
     <td>Data Field</td>
     </tr>
     </tr>
     <tr bgcolor="#eee">
     <tr bgcolor="#eee">
     <td>0</td>
     <td>7</td>
     <td align="right">1</td>
     <td align="right">128</td>
     <td>str group name</td>
     <td>str group name</td>
     </tr>
     </tr>
     <tr>
     <tr>
     <td>1</td>
     <td>6</td>
     <td align="right">2</td>
     <td align="right">64</td>
     <td>str group short name</td>
     <td>str group short name</td>
     </tr>
     </tr>
     <tr bgcolor="#eee">
     <tr bgcolor="#eee">
     <td>2</td>
     <td>5</td>
     <td align="right">4</td>
     <td align="right">32</td>
     <td>unused</td>
     <td>unused</td>
     </tr>
     </tr>
     <tr>
     <tr>
     <td>3</td>
     <td>4</td>
     <td align="right">8</td>
     <td align="right">16</td>
     <td>unused</td>
     <td>unused</td>
     </tr>
     </tr>
     <tr bgcolor="#eee">
     <tr bgcolor="#eee">
     <td>4</td>
     <td>3</td>
     <td align="right">16</td>
     <td align="right">8</td>
     <td>unused</td>
     <td>unused</td>
     </tr>
     </tr>
     <tr>
     <tr>
     <td>5</td>
     <td>2</td>
     <td align="right">32</td>
     <td align="right">4</td>
     <td>unused</td>
     <td>unused</td>
     </tr>
     </tr>
     <tr bgcolor="#eee">
     <tr bgcolor="#eee">
     <td>6</td>
     <td>1</td>
     <td align="right">64</td>
     <td align="right">2</td>
     <td>unused</td>
     <td>unused</td>
     </tr>
     </tr>
     <tr>
     <tr>
     <td>7</td>
     <td>0</td>
     <td align="right">128</td>
     <td align="right">1</td>
     <td>unused</td>
     <td>unused</td>
     </tr>
     </tr>
Line 233: Line 233:
     <tr>
     <tr>
     <td>Bit</td>
     <td>Bit</td>
     <td align="right">Decimal</td>
     <td align="right">Dec</td>
     <td>Data Field</td>
     <td>Data Field</td>
     </tr>
     </tr>
Line 282: Line 282:
     <tr>
     <tr>
     <td>Bit</td>
     <td>Bit</td>
     <td align="right">Decimal</td>
     <td align="right">Dec</td>
     <td>Data Field</td>
     <td>Data Field</td>
     </tr>
     </tr>
Line 331: Line 331:
     <tr>
     <tr>
     <td>Bit</td>
     <td>Bit</td>
     <td align="right">Decimal</td>
     <td align="right">Dec</td>
     <td>Data Field</td>
     <td>Data Field</td>
     </tr>
     </tr>
Line 380: Line 380:
     <tr>
     <tr>
     <td>Bit</td>
     <td>Bit</td>
     <td align="right">Decimal</td>
     <td align="right">Dec</td>
     <td>Data Field</td>
     <td>Data Field</td>
     </tr>
     </tr>

Revision as of 22:36, 19 October 2008


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 unused
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 unused

fmask:

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

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 (link to page!) 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

Info:

  • template_name must be long enough to uniquely identify the export template desired.
  • cancel will cancel any pending export request, queued either through UDP or the web server. (Should cancel even be an option?)
  • 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