The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

ls2nocddb - produce CDDB::Fake info from a directory

SYNOPSIS

    ls2nocddb [ options ] directory ...

Options:

    --length    include length information
    --verbose   more verbose information
    --help      help message

DESCRIPTION

This program can generate CDDB::Fake information data from a directory containing MP3 files.

It requires the directory to be named Artist_Name/Album_Title.

The MP3 files in the directory must be named NN_Track_Title.mp3, where NN is the track number.

When the package MP3::Audio::Frame is available, the program can add the lengths of the tracks to the generated information.

For example: Given the directory Jazz/Dick_Onstenk/Dick's_Jazz_Stuff with the following files:

    01_Body_And_Soul.mp3
    02_Fly_Me_To_The_Moon.mp3
    03_Lover_Man.mp3
    04_Freddie_Freeloader.mp3
    05_Billie's_Bounce.mp3
    06_Softly_As_In_A_Morning_Sunrise.mp3

Then running ls2nocddb with option --length and argument Jazz/Dick_Onstenk/Dick's_Jazz_Stuff, will create a file named .nocddb in that directory, with the following contents:

    Dick Onstenk / Dick's Jazz Stuff

         1. Body And Soul                        3:17
         2. Fly Me To The Moon                   4:20
         3. Lover Man                            6:16
         4. Freddie Freeloader                   5:32
         5. Billie's Bounce                      4:22
         6. Softly As In A Morning Sunrise       3:55

    Generated by ls2nocddb 1.4 on Fri Jul 25 14:31:41 2003

SEE ALSO

CDDB::File.

DEPENDENCIES

MP3::Audio::Frame (optional). If installed, the program can add the lengths of the tracks to the generated information.

AUTHOR

Johan Vromans <jvromans@squirrel.nl>

COPYRIGHT

This programs is Copyright 2003, Squirrel Consultancy.

This program is free software; you can redistribute it and/or modify it under the terms of the Perl Artistic License or the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.