10 Jun 2009 15:13:10 UTC
- Development release
- Distribution: Audio-TagLib
- Module version: 1.41
- Source (raw)
- Browse (raw)
- How to Contribute
- Issues (5)
- Testers (0 / 11 / 10)
- KwaliteeBus factor: 1
- License: perl_5
- Activity24 month
- Download (1.45MB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest version
Audio::TagLib::Ogg::Vorbis::File - An implementation of Ogg::File with Vorbis specific methods
use Audio::TagLib::Ogg::Vorbis::File; my $i = Audio::TagLib::Ogg::Vorbis::File->new("sample vorblis file.ogg"); print $i->tag()->comment()->toCString(), "\n"; # got comment
This is the central class in the Ogg Vorbis metadata processing collection of classes. It's built upon Ogg::File which handles processing of the Ogg logical bitstream and breaking it down into pages which are handled by the codec implementations, in this case Vorbis specifically.
- new(PV $file, BOOL $readProperties = TRUE, PV $propertiesStyle = "Average")
Contructs a Vorbis file from $file. If $readProperties is true the file's audio properties will also be read using $propertiesStyle. If false, $propertiesStyle is ignored.
Destroys this instance of the File.
- Ogg::XiphComment tag()
Returns the XiphComment for this file. XiphComment implements the tag interface, so this serves as the reimplementation of Audio::TagLib::File::tag().
- Properties audioProperties()
Returns the Vorbis::Properties for this file. If no audio properties were read then this will return undef.
- BOOL save()
Saves the File.
None by default.
Dongxu Ma, <firstname.lastname@example.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.
Module Install Instructions
To install Audio::TagLib, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install Audio::TagLib
For more information on module installation, please visit the detailed CPAN module installation guide.