mp3 bitrate

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Lucas Vogel
Date:  
Subject: mp3 bitrate
IMHO python even makes java look tough :)

-----Original Message-----
From: Mike Cantrell [mailto:yomahz@devnull.org]
Sent: Saturday, August 26, 2000 11:45 PM
To:
Subject: Re: mp3 bitrate


That's what I keep hearing. I don't know that I want to put time into
another scripting language. I'm [so/so|good] [1]? at Java and up and
comming at C++ so I'd rather invest my time in it and leave my
simple/quick stuff up to perl and java and do all of my challenging
projects to a non-scripting language (is java a scripting language >:)

Regards,
Mike Cantrell

[1] - IMHO, I kinda wish I'd learned Java before Perl. Java is so
simple, it's hard not to be good at it.

Lucas Vogel wrote:
>
> when you look at the sheer power and simplicity of python, it's well worth
> the whitespace tradeoff...
>
> -----Original Message-----
> From: Mike Cantrell [mailto:yomahz@devnull.org]
> Sent: Saturday, August 26, 2000 11:19 PM
> To:
> Subject: Re: mp3 bitrate
>
> :)
>
> Well, I keep meaning to learn python but everytime I remember about the
> white space thing, I pound my fists on my desk and ask "Why, oh why do
> they do that?!!!" and go back and grab my advanced perl programming book
> [1] and stroke it until I calm down.
>
> Regards,
> Mike Cantrell
>
> [1] - my woobie
>
> Lucas Vogel wrote:
> >
> > cool...you've inspired me to try to build it in python, though. I want

to
> > continue my python momentum from yesterday :)
> >
> > Thanks
> >
> > -----Original Message-----
> > From: Mike Cantrell [mailto:yomahz@devnull.org]
> > Sent: Saturday, August 26, 2000 10:43 PM
> > To:
> > Subject: Re: mp3 bitrate
> >
> > OK, I couldn't help it.. I DL'd the module and gave it a try and I had
> > to make a few changes... this works:
> >
> > #!/usr/local/bin/perl
> > use MP3::Info;
> >
> > $mp3dir = shift || die "Usage $0 /path/to/mp3s";
> >
> > @files = glob("$mp3dir/*.mp3");
> > foreach $file (@files) {
> >           $info = get_mp3info($file);
> >           print $file, ", ", $info->{BITRATE}, "\n";
> > }

> >
> > just run:
> >
> > script_name /path/to/mp3s
> >
> > It doesn't do recursive dir's but it's pretty functional. Shouldn't take
> > much to add in recursive dir's.
> >
> > Regards,
> > Mike Cantrell
> >
> > Mike Cantrell wrote:
> > >
> > > Mike Cantrell wrote:
> > > <snip>
> > > > #!/usr/local/bin
> > >
> > > err... that should probably be #!/usr/local/bin/perl or #/usr/bin/perl
> > > (obviously)
> > >
> > > <snip>
> > >
> > > > Lucas Vogel wrote:
> > > > >
> > > > > Does anyone know of a CLI command that will return the bitrate of

an
> > mp3? I
> > > > > want to create a list of all of my mp3's with their bitrates
> appended
> > at the
> > > > > end of the names.
> > > > >
> > > > > Thanks
> > > > >
> > > > > -------------------------------------------
> > > > > Lucas Vogel, Software Developer
> > > > > Exponent Failure Analysis Associates, Inc.
> > > > >
> > > > > (623)587-6739
> > > > >
>


________________________________________________
See http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail doesn't post
to the list quickly and you use Netscape to write mail.

Plug-discuss mailing list -
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss