File::Sticker::Writer::Mp3 - write and standardize meta-data from MP3 file
version 1.0603
use File::Sticker::Writer::Mp3; my $obj = File::Sticker::Writer::Mp3->new(%args); my %meta = $obj->write_meta(%args);
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.
Used for debugging info
The priority of this writer. Writers with higher priority get tried first.
If this writer can be used for the given file, then this returns true. File must be an MP3 file.
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()) { .... }
Returns the fields which this writer knows about. This writer has no limitations.
my $known_fields = $writer->known_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();
Overwrite the given field. This does no checking.
$writer->replace_one_field(filename=>$filename,field=>$field,value=>$value);
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);
Please report any bugs or feature requests to the author.
To install File::Sticker, copy and paste the appropriate command in to your terminal.
cpanm
cpanm File::Sticker
CPAN shell
perl -MCPAN -e shell install File::Sticker
For more information on module installation, please visit the detailed CPAN module installation guide.