Album title stored in the "ALBUM" item.
New album string; empty string removes the item.
Lead artist/performer stored in the "ARTIST" item.
New artist string; empty string removes the item.
User comment stored in the "COMMENT" item.
New comment string; empty string removes the item.
Genre stored in the "GENRE" item.
New genre string; empty string removes the item.
An APE tag is empty when it contains no items.
A shallow copy of all items in this tag.
Track title stored in the "TITLE" item.
New title string; empty string removes the item.
Track number, read from the "TRACK" item (falling back to "TRACKNUMBER").
Returns 0 when not set.
Track number, or 0 to remove the item.
Any pre-existing "TRACKNUMBER" alias item is also removed.
Release year, read from the "YEAR" item (falling back to "DATE").
Returns 0 when not set.
Four-digit year, or 0 to remove the item.
Any pre-existing "DATE" alias item is also removed.
Return all complex property values for the given key.
The property key (e.g. "PICTURE").
An array of VariantMap objects, or an empty array if the key is not present.
Return the keys of all complex (non-string) properties stored in this tag. Complex properties include embedded pictures and similar structured data.
An array of property key strings, or an empty array if none.
Export the tag as a PropertyMap.
A PropertyMap populated with all non-empty tag fields.
Remove an item by key (case-insensitive).
Remove properties that are not supported by this tag format. The default implementation is a no-op; subclasses may override.
Keys of the properties to remove.
Render the complete APE tag (header + items + footer).
Set complex property values for the given key, replacing any existing values.
The property key (e.g. "PICTURE").
The new values to store.
true if the property was stored, false if the format does not
support complex properties.
Apply a PropertyMap to the tag, returning unhandled properties.
A PropertyMap containing any keys that this tag does not support.
StaticduplicateCopy tag fields from source to target. When overwrite is false,
only empty fields in the target are filled in.
StaticjoinJoin an array of tag values with " / ".
The string values to join.
A single string with values separated by " / ".
StaticreadAsynchronously read an APE tag from the given stream. offset points to
the start of the 32-byte footer. Returns a Promise<ApeTag>.
The stream to read from.
Byte offset of the 32-byte APE footer within stream.
A resolved promise containing the populated tag (may be empty on parse failure).
APE (APEv2) tag implementation.