TagLib::ID3v2::UniqueFileIdentifierFrame - An implementation of ID3v2 unique identifier frames
use TagLib::ID3v2::UniqueFileIdentifierFrame; my $i = TagLib::ID3v2::UniqueFileIdentifierFrame->new( TagLib::ByteVector->new("")); $i->setOwner(TagLib::String->new("blah")); print $i->owner()->toCString(), "\n"; # got "blah"
This is an implementation of ID3v2 unique file identifier frames. This frame is used to identify the file in an arbitrary database identified by the owner field.
Creates a uniqe file identifier frame based on $data.
Creates a unique file identifier frame with the owner $owner and the identification $id.
Returns the owner for the frame; essentially this is the key for determining which identification scheme this key belongs to. This will usually either be an email address or URL for the person or tool used to create the unique identifier.
see setOwner()
Returns the unique identifier. Though sometimes this is a text string it also may be binary data and as much should be assumed when handling it.
Sets the owner of the identification scheme to $s.
see owner()
Sets the unique file identifier to $v.
see identifier()
see TagLib::ID3v2::Frame::toString()
None by default.
TagLib Frame
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.