TagLib::APE::Tag - An APE tag implementation
use TagLib::APE::Tag; my $i = TagLib::APE::Tag(); $i->setTitle(TagLib::String->new("title")); print $i->title()->toCString(), "\n"; # got "title"
Note: Inherit from Tag
Create an APE tag with default values.
Create an APE tag and parse the data in $file with APE footer at a $tagOffset.
Destroys this Tag instance.
Renders the in memory values to a ByteVector suitable for writing to the file.
Returns the string "APETAGEX" suitable for usage in locating the tag in a file.
see Tag
Returns a pointer to the tag's footer.
Returns a reference to a hash, which is tied with the returned item list map in C/C++ code. This is an ItemListMap of all of the items in the tag.
This is the most powerfull structure for accessing the items of the tag.
warning You should not modify this data structure directly, instead use setItem() and removeItem().
Removes the $key item from the tag
Adds to the item specified by $key the data $value. If $replace is true, then all of the other values on the same key will be removed first.
Sets the $key item to the value of $item. If an item with the $key is already present, it will be replaced.
None by default.
TagLib Tag
Dongxu Ma, <dongxu.ma@gmail.com>
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 TagLib, copy and paste the appropriate command in to your terminal.
cpanm
cpanm TagLib
CPAN shell
perl -MCPAN -e shell install TagLib
For more information on module installation, please visit the detailed CPAN module installation guide.