APE Item Value

From Hydrogenaudio Knowledgebase
Revision as of 21:17, 11 September 2006 by Pepoluan (talk | contribs) (Category:Metadata)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

An APE tag item value is a value assigned by a key.

Member of APE Tag Item


APE Tag Item values can be binary data or UTF-8 strings.

Binary data is possible but unrecommended.

UTF-8 strings are not zero terminated.

Although the contents is free, some formats are strongly recommended:

Integer Number

List of digits, may be prepended by a '-' character

Floating Point Number

List of digits with an optional dot in the middle, may be prepended by a '-' character.
An exponent can be appended which starts with a 'e' or 'E' followed by a integer number

Date Date
Time period Date...Date
String Arbitrary data not containing characters 0, 254 and 255. UTF-8 encoded
List of entries Items are not zero-terminated like in C/C++. If there's a zero character, multiple items are stored under the key and the items are separated by zero characters.
Time Stamp Time stamp
Lyrics

[Time stamp]Text Linefeed
[Time stamp,Performing Person] Text Linefeed
[Time stamp,Performing Person1,Performing Person 2] Text Linefeed

Media CD, DVD, VHS, Radio...
Title Number 2- or 3-digit nonnegative integral number
Weblink

http://host/directory/filename
ftp://host/directory/filename
http://host:port/directory/filename
ftp://host:port/directory/filename
http://user:password@host/directory/filename
ftp://user:password@host/directory/filename
http://user:password@host:port/directory/filename
ftp://user:password@host:port/directory/filename

Local Link

file:/directory/file
file:./relativedirectory/filename
file:./filename

Other IP link protocol:identifier
e-Mail address mailto:name@host
Binary data Arbitrary data, all data is allowed


Some examples:

Integer Number 12, 1234, -34534
Floating Point Number 12, 123.4, .123, -12., 12.34e12, 12.7E-4
Date 2002-02-28
Time period 2002-02-28...2003-01-01
String Rabits are rabits.
List of entries
Lyrics
Media
Title Number
Weblink
Local Link
Other IP link
e-Mail address
Binary data

�‹��v¸Â�gzed.1019394166¬Z}pÇu§Œ�@žt²oK²´’H´P¤%Ù¢-Ë �~ˆH� e�ÃØGb�œ˜»ƒdÑN�6¬]»ŽëtÔNëqëº_ãÔý£3i�OfÒL›i“vÜ©þèÇ´“~L3mÝ6ic·�“F}owï� HÅ3…D�w·ûö½·ïýÞÇ^zÎìøRGGÇ—É–Ž›7;ÄgKGÇ!ñç–ŸçnœK¦f¶td�™ÜðTGÔ±§c?Ç�ró æXඎ¹@ c)ÐÙñTà¶-7o^�Þú—À«�w�ß�ükàŸ�ÿ�ØKþ=p/ùNàqòÝÀóä?�¯“ÿ�ü�ù^à=ò^`_ðý �üïÀóÁÿ¼�ü~à�ƒ�v„~�èý0p6ô¿�¡Ð��—C7�k¡�ò»¡-ä�C·‘¿ �È»!B¶…ƒ$�‘T8L¦Ã�ä±p�±Ã y¼•ü|xùÍ°JÞ�o'_ßNn„ï]�w’»;w�tçNòDç.ò©ÎÝä×:÷�¯vî%¤k�éœéÚOF»��r×Ar¥ënò‹]‡È— »�“?î¢ä½®#¤C9J�å�Ù£t“�J�¹O9N.+'HY‰�’ÒK˜r�)*'É¢�%š�#U%�?}dI9EžPúI]� ¶r/¹¦œO)gÈŠr�~î#¿ ÜO~Y9GÞP�ÉŠƒ¥À‹ãa ŠV³�UådD