AnyData::Format::Mp3 man page on Pidora

Man page or keyword search:  
man Server   31170 pages
apropos Keyword Search (all sections)
Output format
Pidora logo
[printable version]

AnyData::Format::Mp3(3User Contributed Perl DocumentatiAnyData::Format::Mp3(3)

NAME
       AnyData::Format::Mp3 - tied hash and DBI access to Mp3 files

SYNOPSIS
	use AnyData;
	my $playlist = adTie( 'Passwd', ['c:/My Music/'] );
	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,['c:/My Music'],'ad_catalog');
	my $playlist = $dbh->selectall_arrayref( qq{
	    SELECT artist, title FROM playlist WHERE genre = 'Reggae'
	});
	# ... other DBI/SQL operations

DESCRIPTION
       This 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
	filesize

       This module is a submodule of the AnyData.pm and DBD::AnyData.pm
       modules.	 Refer to their documentation for further details.

AUTHOR & COPYRIGHT
       copyright 2000, Jeff Zucker <jeff@vpservices.com> all rights reserved

perl v5.14.0			  2001-07-17	       AnyData::Format::Mp3(3)
[top]

List of man pages available for Pidora

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net