NAME
Template::Plugin::MP3::Tag - Interface to the MP3::Tag Module
SYNOPSIS
[% USE tag = MP3("path_to_mp3_file") %]
[% tag.title %]
[% tag.album %]
# perldoc MP3::Tag for more ideas
DESCRIPTION
Template::Plugin::MP3::Tag
provides a simple wrapper for using MP3::Tag
in object oriented mode; see MP3::Tag for more details.
Although Template::Plugin::MP3
can fetch MP3 files, but it Supports only ID3v1. When you have to fetch MP3 files ID3v2, I recommend you to use this module.
CONSTRUCTIR
Template::Plugin::MP3::Tag
tales a filename as primary argument:
[% USE tag = MP3::Tag("path_to_mp3file") %]
[% tag.album %]
[% tag.artist %]
# If you need encode the tag information,
# code just like below.
[% tag.album.jcode.euc %]
[% tag.artist.jcode.euc %]
SEE ALSO
AUTHOR
Tomoyuki SAWA, <travail@cabane.no-ip.org>
COPYRIGHT AND LICENSE
Copyright (C) 2006 by Tomoyuki SAWA
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.2 or, at your option, any later version of Perl 5 you may have available.