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


Audio-WMA documentation  | view source Contained in the Audio-WMA distribution.

Index


NAME

Top

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

SYNOPSIS

Top

    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";
    }

DESCRIPTION

Top

This module implements access to metadata contained in WMA files.

METHODS

Top

* 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.

SEE ALSO

Top

Audio::FLAC::Header, http://getid3.sf.net/

http://github.com/dsully/perl-audio/tree/master/Audio-WMA

AUTHOR

Top

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

COPYRIGHT AND LICENSE

Top


Audio-WMA documentation  | view source Contained in the Audio-WMA distribution.