Polyvox.ID3.TagReader
Reads ID3 tags from a file.
You should get a reference to a tag reader through the
Polyvox.ID3.get_reader
method.
Summary
Functions
Closes the provided tag reader
Gets a Polyvox.ID3.Tag
read
from the file that provides information from
higher-versioned ID3 tags before delegating to
lower-versioned ID3 tags
Functions
Specs
close(pid) :: :ok
Closes the provided tag reader.
Use Polyvox.ID3.get_reader/1
to get a tag reader.
Specs
tag(pid) :: Polyvox.ID3.Tag.t | :notready
Gets a Polyvox.ID3.Tag
read
from the file that provides information from
higher-versioned ID3 tags before delegating to
lower-versioned ID3 tags.
For example, lets say an MP3 file has both the TRCK
frame in a version 2.3 tag and the track byte in a
version 1 tag set. The Polyvox.ID3.Tag
returned by
this method will give the information found in the
version 2.3 tag.
In another example, if an MP3 file had both version 1 and version 2.3 tags. Now, assume that the version 2.3 tag did not have a TYER frame to indicate the year of the recording. Then, the return value of this method will defer to the version 1 tag and return that year value.