Edward J. Allen III > Music-Tag-FLAC-0.31 > Music::Tag::FLAC

Download:
Music-Tag-FLAC-0.31.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Module Version: 0.31   Source  

NAME ^

Music::Tag::FLAC - Plugin module for Music::Tag to get information from flac headers.

SYNOPSIS ^

        use Music::Tag

        my $filename = "/var/lib/music/artist/album/track.flac";

        my $info = Music::Tag->new($filename, { quiet => 1 }, "FLAC");

        $info->get_info();
           
        print "Artist is ", $info->artist;

DESCRIPTION ^

Music::Tag::FLAC is used to read flac header information. It uses Audio::FLAC::Header.

REQUIRED VALUES ^

No values are required (except filename, which is usually provided on object creation).

SET VALUES ^

title, track, totaltracks, artist, album, comment, releasedate, genre, disc, label

Uses standard tags for these

asin

Uses custom tag "ASIN" for this

mb_artistid, mb_albumid, mb_trackid, mip_puid, countrycode, albumartist

Uses MusicBrainz recommended tags for these.

secs, bitrate

Gathers this info from file. Please note that secs is fractional.

picture

This is currently read-only.

OPTIONS ^

None currently.

METHODS ^

default_options

Returns the default options for the plugin.

set_tag

Save object back to FLAC header.

get_tag

Load information from FLAC header.

close

Close the file and destroy the Audio::FLAC::Header

flac

Returns the Audio::FLAC::Header object

BUGS ^

Plugin does not fully support all fields I would like, such as an APIC frame.

SEE ALSO ^

Audio::FLAC::Header, Music::Tag, Music::Tag::Amazon, Music::Tag::File, Music::Tag::Lyrics, Music::Tag::M4A, Music::Tag::MP3, Music::Tag::MusicBrainz, Music::Tag::OGG, Music::Tag::Option

AUTHOR ^

Edward Allen III <ealleniii _at_ cpan _dot_ org>

LICENSE ^

This program is free software; you can redistribute it and/or modify it under the terms of the Artistic License, distributed with Perl.

COPYRIGHT ^

Copyright (c) 2007,2008 Edward Allen III. Some rights reserved.