NAME
File::Sticker::Writer::Mp3 - write and standardize meta-data from MP3 file
VERSION
version 3.03
SYNOPSIS
use File::Sticker::Writer::Mp3;
my $obj = File::Sticker::Writer::Mp3->new(%args);
my %meta = $obj->write_meta(%args);
DESCRIPTION
This will write meta-data from MP3 files, and standardize it to a common nomenclature, such as "tags" for things called tags, or Keywords or Subject etc.
DEBUGGING
whoami
Used for debugging info
METHODS
priority
The priority of this writer. Writers with higher priority get tried first.
allowed_file
If this writer can be used for the given file, then this returns true. File must be an MP3 file.
allowed_fields
If this writer can be used for the known and wanted fields, then this returns true. For this writer, this always returns true.
if ($writer->allowed_fields())
{
....
}
known_fields
Returns the fields which this writer knows about. This writer has no limitations.
my $known_fields = $writer->known_fields();
readonly_fields
Returns the fields which this writer knows about, which can't be overwritten, but are allowed to be "wanted" fields. Things like file-size etc.
my $readonly_fields = $writer->readonly_fields();
Helper Functions
replace_one_field
Overwrite the given field. This does no checking.
$writer->replace_one_field(filename=>$filename,field=>$field,value=>$value);
delete_field_from_file
Remove the given field. This does no checking. This doesn't completely remove it, merely sets it to the empty string.
$writer->delete_field_from_file(filename=>$filename,field=>$field);
BUGS
Please report any bugs or feature requests to the author.