logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Audio::WMA - Perl extension for reading WMA/ASF Metadata

Author

       Dan Sully, <daniel | at | cpan.org>

Description

       This module implements access to metadata contained in WMA files.

Methods

       •   new( $file )

           Create a new Audio::WMA instance from the data in $file

       •   info( )

           Get the audio data information in the form of a hash ref.

       •   tags( )

           Get the metadata / tag information in the form of a hash ref.

       •   stream( )

           Get the current ASF stream.

       •   parseObject( $asf )

           Parse a standalone ASF object.

       •   setDebug( 0 | 1 )

           Toggle debugging.

       •   setConvertTagsToUTF8( 0 | 1 )

           Toggle Encoding metadata tags as UTF-8

           Toggle debugging.

Name

       Audio::WMA - Perl extension for reading WMA/ASF Metadata

See Also

Synopsis

           use Audio::WMA;

           my $wma  = Audio::WMA->new($file);

           my $info = $wma->info();

           foreach (keys %$info) {
             print "$_: $info->{$_}\n";
           }

           my $tags = $wma->tags();

           foreach (keys %$tags) {
             print "$_: $tags->{$_}\n";
           }

See Also