Template::Plugin::AudioFile::Info 1.04
Sponsored Links
Template::Plugin::AudioFile::Info 1.04 Ranking & Summary
File size:
0.088 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
1075
Date added:
2006-11-14
Publisher:
Dave Cross
Template::Plugin::AudioFile::Info 1.04 description
Template::Plugin::AudioFile::Info is a template toolkit plugin for AudioFile::Info.
SYNOPSIS
[% USE song = AudioFile.Info(file) %]
Title: [% song.title %]
Artist: [% song.artist %]
Album: [% song.album %] (track [% song.track %])
Year: [% song.year %]
Genre: [% song.genre %]
ABSTRACT
Template::Plugin::AudioFile::Info is a Template Toolkit plugin module which provides an interface to the AudioFile::Info module. AudioFile::Info provides a simple way to extract various pieces of information from audio files (both MP3 and Ogg Vorbis files).
Template::Plugin::AudioFile::Info is intended to be used from with a template that is going to be processed by the Template Toolkit.
A simple template might look like the one in the Synopsis above. In this case you would need to define the file variable in some way. The simplest option would be to use the tpage program that comes with the Template Toolkit, like this (assuming the template is in a file called song.tt).
$ tpage --define file=some_song.mp3 song.tt
If you wanted to process each file in a directory thne you might write a Perl program that processed the template multiple times like this.
use Template;
my $tt = Template->new;
foreach ( /my> ) {
next unless /.(ogg|mp3)$/i;
$tt->process(song.tt, { file => $_ })
or die $tt->error;
}
There are, of course, many other ways to do it.
SYNOPSIS
[% USE song = AudioFile.Info(file) %]
Title: [% song.title %]
Artist: [% song.artist %]
Album: [% song.album %] (track [% song.track %])
Year: [% song.year %]
Genre: [% song.genre %]
ABSTRACT
Template::Plugin::AudioFile::Info is a Template Toolkit plugin module which provides an interface to the AudioFile::Info module. AudioFile::Info provides a simple way to extract various pieces of information from audio files (both MP3 and Ogg Vorbis files).
Template::Plugin::AudioFile::Info is intended to be used from with a template that is going to be processed by the Template Toolkit.
A simple template might look like the one in the Synopsis above. In this case you would need to define the file variable in some way. The simplest option would be to use the tpage program that comes with the Template Toolkit, like this (assuming the template is in a file called song.tt).
$ tpage --define file=some_song.mp3 song.tt
If you wanted to process each file in a directory thne you might write a Perl program that processed the template multiple times like this.
use Template;
my $tt = Template->new;
foreach ( /my> ) {
next unless /.(ogg|mp3)$/i;
$tt->process(song.tt, { file => $_ })
or die $tt->error;
}
There are, of course, many other ways to do it.
Template::Plugin::AudioFile::Info 1.04 Screenshot
Advertisements
Template::Plugin::AudioFile::Info 1.04 Keywords
AudioFile
Info 1.04
Info
Template Toolkit
template
%
toolkit
file
plugin
1.04
Template::Plugin::AudioFile::Info
TemplatePluginAudioFileInfo
Template::Plugin::AudioFile::Info 1.04
Libraries
Programming
Bookmark Template::Plugin::AudioFile::Info 1.04
Template::Plugin::AudioFile::Info 1.04 Copyright
WareSeeker periodically updates pricing and software information of Template::Plugin::AudioFile::Info 1.04 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Template::Plugin::AudioFile::Info 1.04 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
perl template toolkit
template toolkit home page
template gallery
template toolkit perl
resume templates
audiofile magazine
templates microsoft
template toolkit documentation
audiofile engineering
templates
templates wilson jones
toolkit home page
the star audiofile
template toolkit tutorial
audio files
templates dreamweaver
resume template
templates for resumes
Related Software
Template::Plugin::AutoLink is a TT filter plugin to replace URL and e-mail address with hyperlink automatically. Free Download
Template::Plugin::KwikiFormat is a filter to convert kwiki formatted text to html. Free Download
AudioFile::Info is a Perl extension to get info from audio files. Free Download
Template::Plugin::NoFollow is a TT filter to add rel="nofollow" to all HTML links. Free Download
Template::Plugin::MP3 is a Perl interface to the MP3::Info Module. Free Download
Template::Plugin::XML::LibXML is a XML::LibXML Template Toolkit Plugin. Free Download
Template::Plugin::Digest::MD5 is a TT2 interface to the MD5 Algorithm. Free Download
Template::Plugin::Digest::SHA1 is a TT2 interface to the SHA1 Algorithm. Free Download
Latest Software
Popular Software
Favourite Software