www.Michael-Forman.com

mp3-cdr-fill>>  Click to open

Name mp3-cdr-fill
Version 1.2
Updated 2003/04/05 05:44:39
RCS mp3-cdr-fill,v 1.2 2003/04/05 05:44:39 forman Exp forman
Rating star star star star no star
Category MP3, CDR
Description mp3-cdr-fill fills a temporary directory randomly with mp3 files and burns it to a CDR. It will fill the directory with as much music as possible.

Download mp3-cdr-fill
MP3-CDR-FILL(1)User Contributed Perl DocumentationMP3-CDR-FILL(1)



NAME
       mp3-cdr-fill - Fills a temporary directory randomly with
       music and burns it to a CDR

SYNOPSIS
       mp3-cdr-fill [ -ahimvx ] [ -d directories ]

DESCRIPTION
       mp3-cdr-fill fills a temporary directory randomly with mp3
       files and burns it to a CDR.  It will fill the directory
       with as much music as possible.

OPTIONS
       -h --help

       Prints this information.

       -D --drive [drive]

       If using the -r --rio flag, this can be used to add a
       drive letter (shudder) to the m3u playlists.

       -d --dir [root [root ...]]

       -d --dir [root subdir [subdir ...]]

       Specifies the root mp3 directory to search for files.  If
       unspecified, the default directory, which may be changed
       by editing this file, is used.

       The list of directories provided to this option can take
       two forms.  The first form is a list of absolute paths to
       be used as root directories for the mp3 file search.  The
       second form is a list that begins with an absolute root
       path followed by a list of subdirectories off that root
       path.  The difference is that the second form will pre­
       serve the subdirectories on the CD filesystem.

       An example of the first usage is shown below.  The program
       will use each directory in the list as a root mp3 direc­
       tory and store the files on the CD relative to those
       paths.  Thus if there are no subdirectories under the
       paths given, no subdirectories will exist on the CD.  (The
       CD will not contain the subdirectories "80s", "90s", and
       "classical".)

               -d "/mp3/80s /mp3/90s /mp3/clasical"

       The alternate usage consists of an absolute path to a root
       mp3 directory followed by several relative paths to subdi­
       rectories.  Everything, which does not begin with a "/",
       is treated as a subdirectory off of the root mp3 direc­
       tory.  Note that the root mp3 directory is not searched
       for mp3 files, only the subdirectories are.  The following
       example searches the same file space as the previous exam­
       ple but includes the subdirectories "80s", "90s", and
       "classical" on the CD.

               -d "/mp3 80s 90s clasical"

       More than one root mp3 directory with subdirectories can
       be specified at a time.  The example below has two root
       mp3 directories.  On the CD there will exist two subdirec­
       tories, "80s" and "90s" with the contents from "/mp3/80s"
       and "/mp3/new/80s" merged into the CD's "80s" directory.
       The same holds true for the "90s" directory.

               -d "/mp3 80s 90s /mp3/new 80s 90s"

       -f --flat

       Does not create a CD with subdirectory, but instead places
       all files including playlists in the root CD directory.

       -h --history (--nohistory)

       Checking and excluding selected files against a list of
       previously recorded mp3 files is enabled by default to
       minimize repitition on CDs.  To force the program to
       ignore previously downloaded songs use the --nohistory
       flag.

       -m --max [max file size]

       This sets the largest maximum file size that an mp3 file
       can have and still be uploaded.  The purpose of this is to
       prevent a couple of massive files from taking all the mem­
       ory.  To allow no limit on file size, set to zero.

       -P --playlists (--noplaylists)

       The creation of m3u playlists is enabled by default.  To
       suppress the creation of playlists use the --noplaylists
       flag.

       -r --riovolt

       Creates an iso9660 filesystem with rockridge and jolliet
       extensions instead of an ext2 filesystem.  An ext2
       filesystem can only be read on a linux system.  The
       iso9660 filesystem can be read in mp3 CD players (RioVolt)
       as well as most operating systems.  NOTE: using the
       iso9660 filesystem is substantially less cool than using
       an ext2 filesystem and fills the playlists with DOSisms
       for compatability with those who do not know the glory of
       *nix.

       -v --verbose

       Extra debugging information.

       -s --speed [speed]

       Specify the recording speed of the CDR drive.  At the time
       of this writing, RioVolt players have difficulty playing
       CDR disks written at speeds higher than "1", even though a
       computer can play the same disks without a problem.  The
       default value is "1" if the "-r --riovolt" flag is used,
       otherwise the default is "4".

       -t --test

       Print files without copying and burning.

EXAMPLE
       The example below will create an ext2 filesystem from
       files randomly selected from the "/mp3" root directory.

       mp3-cdr-fill -v -d /mp3

       The example below will create an iso9660 filesystem with
       DOSisms from the directories "/mp3/80s", "/mp3/90s", and
       "/mp3/classical".  The subdirectories "80s", "90s", and
       "classical" will be preserved on the CD filesystem.

       mp3-cdr-fill -v -r -d "/mp3 80s 90s classical"

NOTES
       This program was converted from mp3-rio-fill and is filled
       with unecessary code.

BUGS
       Poorly written loops that may or may not exit depending on
       the barometric pressure.  A sad packing algorithm that has
       the potential of stepping through the entire list of songs
       in order to to maximally fill the rio.  Did I mention that
       my graduate advisor is Satan?

SEE ALSO
       mp3-archos-fill, mp3-rio-fill

AUTHOR AND COPYRIGHT
        Michael Forman  http://www.Michael-Forman.com

        Copyright (C) 2000, 2001 Michael Forman.  All rights reserved.
        This program is free software; you can redistribute it
        and/or modify it under the same terms as Perl itself.
        Please see the Perl Artistic License.

VERSION
        Current Revision:  $Revision: 1.2 $
        Last Modification: $Date: 2003/04/05 05:44:39 $



perl v5.8.1                 2004-03-16            MP3-CDR-FILL(1)




Copyright © 2008 Michael Forman