Line | |
---|
1 | MP3::Find version 0.01 |
---|
2 | ====================== |
---|
3 | DESCRIPTION |
---|
4 | This module allows you to search for MP3 files by their ID3 tags. You |
---|
5 | can ask for the results to be sorted by one or more of those tags, and |
---|
6 | return either the list of filenames (the deault), a "printf"-style |
---|
7 | formatted string for each file using its ID3 tags, or the actual Perl |
---|
8 | data structure representing the results. |
---|
9 | |
---|
10 | INSTALL |
---|
11 | To install this module type the following: |
---|
12 | |
---|
13 | perl Makefile.PL |
---|
14 | make |
---|
15 | make test |
---|
16 | make install |
---|
17 | |
---|
18 | SYNOPSIS |
---|
19 | use MP3Find; |
---|
20 | |
---|
21 | print "$_\n" foreach find_mp3s( |
---|
22 | dir => '/home/peter/cds', |
---|
23 | query => { |
---|
24 | artist => 'ilyaimy', |
---|
25 | title => 'deep in the am', |
---|
26 | }, |
---|
27 | ignore_case => 1, |
---|
28 | match_words => 1, |
---|
29 | sort => [qw(year album tracknum)], |
---|
30 | printf => '%2n. %a - %t (%b: %y)', |
---|
31 | ); |
---|
32 | |
---|
33 | REQUIRES |
---|
34 | File::Find, MP3::Info, Scalar::Util |
---|
35 | |
---|
36 | DBI and DBD::SQLite are needed if you want to have a database backend. |
---|
37 | |
---|
38 | COPYRIGHT AND LICENSE |
---|
39 | Copyright (c) 2006 by Peter Eichman. All rights reserved. |
---|
40 | |
---|
41 | This program is free software; you can redistribute it and/or modify it |
---|
42 | under the same terms as Perl itself. |
---|
43 | |
---|
Note: See
TracBrowser
for help on using the repository browser.