Audio::TagLib::Ogg::FLAC::File 1.42 review

Download
by rbytes.net on

Audio::TagLib::Ogg::FLAC::File is an implementation of Audio::TagLib::File with Ogg/FLAC specific methods. SYNOPSIS use Audio

License: GPL (GNU General Public License)
File size: 1479K
Developer: Dongxu Ma
0 stars award from rbytes.net

Audio::TagLib::Ogg::FLAC::File is an implementation of Audio::TagLib::File with Ogg/FLAC specific methods.

SYNOPSIS

use Audio::TagLib::Ogg::FLAC::File;

my $i = Audio::TagLib::Ogg::FLAC::File->new("sample file.flac");
print $i->tag()->album()->toCString(), "n"; # got album

This implements and provides an interface for Ogg/FLAC files to the Audio::TagLib::Tag and Audio::TagLib::AudioProperties interfaces by way of implementing the abstract Audio::TagLib::File API as well as providing some additional information specific to Ogg FLAC files.

new(PV $file, BOOL $readProperties = TRUE, PV $propertiesStyle = "Average")
Contructs an Ogg/FLAC file from $file. If $readProperties is true the file's audio properties will also be read using $propertiesStyle. If false, $propertiesStyle is ignored.

DESTROY
Destroys this instance of the File.

XiphComment tag()

Returns the Tag for this file. This will always be a XiphComment.

Properties audioProperties()

Returns the FLAC::Properties for this file. If no audio properties were read then this will return undef.

BOOL save()

Save the file. This will primarily save and update the XiphComment. Returns true if the save is successful.

IV streamLength()

Returns the length of the audio-stream, used by FLAC::Properties for calculating the bitrate.

Requirements:
Perl

Audio::TagLib::Ogg::FLAC::File 1.42 search tags