Audio::TagLib::APE::Footer - An implementation of APE footers
use Audio::TagLib::APE::Footer; my $i = Audio::TagLib::APE::Footer->new(); $i->setHeaderPresent(1) unless $i->headerPresent();
This class implements APE footers (and headers). It attempts to follow, both semantically and programatically, the structure specified in the APE v2.0 standard. The API is based on the properties of APE footer and headers specified there.
Constructs an empty APE footer.
Constructs an APE footer based on $data. parse() is called immediately.
Destroys the footer.
Returns the version number. (Note: This is the 1000 or 2000.)
Returns true if a header is present in the tag.
Returns true if a footer is present in the tag.
Returns true this is actually the header.
Sets whether the header should be rendered or not.
Returns the number of items in the tag.
Set the item count to $s.
see itemCount()
Returns the tag size in bytes. This is the size of the frame content and footer. The size of the entire tag will be this plus the header size, if present.
see completeTagSize()
Returns the tag size, including if present, the header size.
see tagSize()
Set the tag size to $s.
Returns the size of the footer. Presently this is always 32 bytes.
Returns the string used to identify an APE tag inside of a file. Presently this is always "APETAGEX".
Sets the data that will be used as the footer. 32 bytes, starting from $data will be used.
Renders the footer back to binary format.
Renders the header corresponding to the footer. If headerPresent is set to false, it returns an empty ByteVector.
None by default.
Audio::TagLib
Dongxu Ma, <dongxu@cpan.org>
Copyright (C) 2005 by Dongxu Ma
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.7 or, at your option, any later version of Perl 5 you may have available.
To install Audio::TagLib, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Audio::TagLib
CPAN shell
perl -MCPAN -e shell install Audio::TagLib
For more information on module installation, please visit the detailed CPAN module installation guide.