| Audio-TagLib documentation | Contained in the Audio-TagLib distribution. |
Audio::TagLib::ID3v2::UserTextIdentificationFrame - An ID3v2 custom text identification frame implementation
use Audio::TagLib::ID3v2::UserTextIdentificationFrame;
my $i = Audio::TagLib::ID3v2::UserTextIdentificationFrame->new("Latin1");
$i->setDescription(Audio::TagLib::String->new("blah blah"));
print $i->description()->toCString(), "\n"; # got "blah blah"
This is a specialization of text identification frames that allows for user defined entries. Each entry has a description in addition to the normal list of fields that a text identification frame has.
This description identifies the frame and must be unique.
Constructs an empty user defined text identification frame. For this to be a useful frame both a description and text must be set.
Creates a frame based on $data.
Returns the description for this frame.
Sets the description of the frame to $s. $s must be unique. You can check for the presense of another user defined text frame of the same type using find() and testing for null.
Searches for the user defined text frame with the description $description in $tag. This returns undef if no matching frame were found.
None by default.
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.
| Audio-TagLib documentation | Contained in the Audio-TagLib distribution. |
package Audio::TagLib::ID3v2::UserTextIdentificationFrame; use 5.008003; use strict; use warnings; our $VERSION = '1.41'; use Audio::TagLib; our @ISA = qw(Audio::TagLib::ID3v2::TextIdentificationFrame); # Preloaded methods go here. 1; __END__ # Below is stub documentation for your module. You'd better edit it!