Template::Plugin::AudioFile::Info

Template::Plugin::AudioFile::Info is a template toolkit plugin for AudioFile::Info.
Download

Template::Plugin::AudioFile::Info Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Dave Cross
  • Publisher web site:
  • http://search.cpan.org/~davecross/Array-Compare-1.14/lib/Array/Compare.pm

Template::Plugin::AudioFile::Info Tags


Template::Plugin::AudioFile::Info Description

Template::Plugin::AudioFile::Info is a template toolkit plugin for AudioFile::Info. Template::Plugin::AudioFile::Info is a template toolkit plugin for AudioFile::Info.SYNOPSIS Title: Artist: Album: (track ) Year: Genre: ABSTRACTTemplate::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.ttIf 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 () { next unless /.(ogg|mp3)$/i; $tt->process('song.tt', { file => $_ }) or die $tt->error; }There are, of course, many other ways to do it. Requirements: · Perl


Template::Plugin::AudioFile::Info Related Software