Page 1 of 1

A little help with BASH scripting

Posted: Sat Jun 30, 2012 4:48 pm
by itlarson
I record a weekly radio show with streamripper, which I have automated using cron. The result is a two hour mp3, which is fine, except that no player except VLC can read it's timebase. This can be easily fixed by running the mp3 file through the "mp3val" command line tool, but I can't figure out how to automate this. Namely I don't know how to get the name of the streamripper output file to use in the mp3val command line. I am sure there must be an easy way to do this, and any help would be appreciated.

Re: A little help with BASH scripting

Posted: Sat Jun 30, 2012 5:17 pm
by xenopeek
Moving the topic here as it is about scripting.

Re: A little help with BASH scripting

Posted: Fri Jul 06, 2012 11:03 am
by stratus_ss
Can you give some sample file names?

I can hack something together based on a time stamp if it doesnt follow a naming convention