A little help with BASH scripting

Forum rules
Before you post please read how to get help
Level 2
Level 2
Posts: 56
Joined: Sat Jan 09, 2010 5:44 pm

A little help with BASH scripting

Postby itlarson » Sat Jun 30, 2012 4:48 pm

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.

User avatar
Level 24
Level 24
Posts: 21288
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: A little help with BASH scripting

Postby xenopeek » Sat Jun 30, 2012 5:17 pm

Moving the topic here as it is about scripting.

Level 4
Level 4
Posts: 270
Joined: Fri May 25, 2012 5:22 pm

Re: A little help with BASH scripting

Postby stratus_ss » Fri Jul 06, 2012 11:03 am

Can you give some sample file names?

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

Return to “Scripts & Bash”

Who is online

Users browsing this forum: No registered users and 1 guest