Pike v8.1 release 6

Class Standards.ID3.Tag

Description

This is a ID3 tag super object, which encapsulates all versions ID3 tags. This is useful if you are only interested in the metadata of a file, and care not about how it is stored or have no interest in changing the data.

Note

Version 1 tag is searched only if version 2 isn't found.

See also

Tagv2, Tagv1


Constant version

constant Standards.ID3.Tag.version

Description

The version of the encapsulated tag in the form "%d.%d.%d".


Method create

Standards.ID3.Tag Standards.ID3.Tag(Stdio.File fd)

Description

The file object fd is searched for version 2 tags, and if not found, version 1 tags.

Throws

If no tag was found in the file an error is thrown.