Audio::TagLib::ID3v2::UnknownFrame - A frame type unkown to Audio::TagLib
use Audio::TagLib::ID3v2::UnknownFrame; my $i = Audio::TagLib::ID3v2::UnknownFrame->new( Audio::TagLib::ByteVector->new("blah")); print $i->data()->data(), "\n"; # got "blah"
This class represents a frame type not known (or more often simply unimplemented) in Audio::TagLib. This is here provide a basic API for manipulating the binary data of unknown frames and to provide a means of rendering such unknown frames.
Please note that a cleaner way of handling frame types that Audio::TagLib does not understand is to subclass ID3v2::Frame and ID3v2::FrameFactory to have your frame type supported through the standard ID3v2 mechanism.
Constructs an unknown frame based on $data.
Destroys the instance.
see Audio::TagLib::ID3v2::Frame::toString()
Returns the field data (everything but the header) for this frame.
None by default.
Audio::TagLib Frame
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.