AnyData::Format::Mp3AnyData::Format::Mp3 is a tied hash and DBI access to Mp3 files. | |
Download |
AnyData::Format::Mp3 Ranking & Summary
Advertisement
- License:
- GPL
- Price:
- FREE
- Publisher Name:
- Jeff Zucker
- Publisher web site:
- http://search.cpan.org/~timb/DBI-1.604/lib/DBD/DBM.pm
AnyData::Format::Mp3 Tags
AnyData::Format::Mp3 Description
AnyData::Format::Mp3 is a tied hash and DBI access to Mp3 files. AnyData::Format::Mp3 is a tied hash and DBI access to Mp3 files.SYNOPSIS use AnyData; my $playlist = adTie( 'Passwd', ); while (my $song = each %$playlist){ print $song->{artist} if $song->{genre} eq 'Reggae' } OR use DBI my $dbh = DBI->connect('dbi:AnyData:'); $dbh->func('playlist','Mp3,,'ad_catalog'); my $playlist = $dbh->selectall_arrayref( qq{ SELECT artist, title FROM playlist WHERE genre = 'Reggae' }); # ... other DBI/SQL operationsThis module provides a tied hash interface and a DBI/SQL interface to MP files. It creates an in-memory database or hash from the Mp3 files themselves without actually creating a separate database file. This means that the database is automatically updated just by moving files in or out of the directories.Many mp3 (mpeg three) music files contain a header describing the song name, artist, and other information about the music.Simply choose 'Mp3' as the format and give a reference to an array of directories containing mp3 files. Each file in those directories will become a record containing the fields: song artist album year genre filename filesizeThis module is a submodule of the AnyData.pm and DBD::AnyData.pm modules. Refer to their documentation for further details. Requirements: · Perl
AnyData::Format::Mp3 Related Software