A little help with BASH scripting

Forum rules
Before you post please read this

A little help with BASH scripting

Postby itlarson on 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.
itlarson
Level 2
Level 2
 
Posts: 57
Joined: Sat Jan 09, 2010 5:44 pm

Linux Mint is funded by ads and donations.
 

Re: A little help with BASH scripting

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

Moving the topic here as it is about scripting.
User avatar
xenopeek
Level 21
Level 21
 
Posts: 14735
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: A little help with BASH scripting

Postby stratus_ss on 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
stratus_ss
Level 4
Level 4
 
Posts: 270
Joined: Fri May 25, 2012 5:22 pm


Return to Scripts & Bash

Who is online

Users browsing this forum: xenopeek and 1 guest