[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]



I will be receiving a 40GB iPod shortly and I have about 200 CD's.  I
want to encode all my CD's and place them on that iPod and DVD's.  Maybe
someone has done this and has a better organization method.
The program blow is a hack to copy the files for me.  I might even add
adding information to a MySQL database.  A while back I had started a
similar project that would add the name to MySQL along with file
location so that a web browser could download any piecei of music.  I
never really got it fully started so I could encode all 200+ CD's.


--- mp3mov ---
#!/usr/bin/perl

use MP3::Tag;
use strict;

my $root = "/home/cfowler/MP3/Music";

die "mp3mov <filename>\n" unless $ARGV[0];

my $mp3 = MP3::Tag->new($ARGV[0]) or die "$!\n";
my ($title, $track, $artist, $album, $comment, $year, $genre) =
$mp3->autoinfo();
$mp3->get_tags;

print "Album: $album\n";

mkdir "$root/$genre";
$artist =~ s/ /_/g;
$album =~ s/ /_/g;
mkdir "$root/$genre/$artist";
mkdir "$root/$genre/$artist/$album";
system "mov $ARGV[0] \"$root/$genre/$artist/$album/$title.mp3\"";

On Mon, 2005-06-06 at 14:40, Randy Ramsdell wrote:
> On Mon, 2005-06-06 at 14:13 -0400, Christopher Fowler wrote:
> > I'm trying to compile mp3c but can not figure out which encoder to use. 
> > It used to use mp3enc but I'm having a hard time finding that one. 
> > Anyone here using mp3c?
> > 
> > 
> > 
> > _______________________________________________
> > Ale mailing list
> > Ale at ale.org
&gt; &gt; <a  rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale";>http://www.ale.org/mailman/listinfo/ale</a>
&gt; 
&gt; Lame &lt;--- as in Lame encoder not lame qestion


</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00240" href="msg00240.html">[ale] MP3C</a></strong>
<ul><li><em>From:</em> cfowler at outpostsentinel.com (Christopher Fowler)</li></ul></li>
<li><strong><a name="00241" href="msg00241.html">[ale] MP3C</a></strong>
<ul><li><em>From:</em> rramsdell at adelphia.net (Randy Ramsdell)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00245.html">[ale] How to Build Your Own Linux Distribution</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00247.html">[ale] How to Build Your Own Linux Distribution</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00241.html">[ale] MP3C</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00243.html">[ale] CUPS &amp; gimp-print</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00246"><strong>Date</strong></a></li>
<li><a href="threads.html#00246"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>