Quote:
|
K3B gets my vote it is easy supports drag and drop and converts mp3 to wave for cd burning it is not too far off from the roxio stuff like easy cd creator for windblows.
You will have to enable scsi emulation for your cdrw although. |
google search 0.31 seconds:
This is a script which can be used to create an audio cd from a bunch of mp3/oggs. It assumes your cd-recorder is set up properly. If not please refer to the many HOWTO's on the subject. echo "---Audio-cd making script---" echo "I hope you have no more than 74/80 min of tracks in this directory!" echo "" echo "########Recording the mp3's in this directory..########" for I in *.mp3 do mpg123 --cdr - "$I" | cdrecord speed=4 dev=0,0,0 -audio -pad -nofix - done echo "#########Recording the oggs...###########" for I in *.ogg do ogg123 -d au -f - "$I" | cdrecord speed=4 dev=0,0,0 -audio -pad -nofix - done cdrecord dev=0,0,0 -fix You might have to change the device parameter for cdrecord if your cd-writer is in a different location. Also, you'll need mpg123 and ogg123 installed. from http://users.aber.ac.uk/ddr1/howto/ |
* friggin' double post *
|
and how do you check if you have more than 74/80 minutes of music? mine was pretty much like that, but it didn't check to see if what i chose was going to go over the limit or not. i don't use that script anymore.
|
well, i dont know about oggs but mp3's have the timestamp in them
extract , grep and add i suppose |
Or put them all in XMMS, highlight them and it will tell you the cumulative time at the bottom.
|
yes. but then you've brought in another seperate program into the equation. :D
most of the cd burning proggies i've seen have their own file managers and you really don't need to drag and drop from the desktop as you can drag and drop files within the programs file managers to the burn list. and then a few will decode mp3s in that list into a form that can be burned into an audio cd. and they'll also have the size of the burn project listed so you can remove or add files. all in one program. so like what fascistchicken was talking about, it's all contained in one program. well not really since these programs call other libraries (programs maybe), but to the user it's looks like one program is doing this. even if you wanted to write a shell script to do this, it's not as trivial as what was made out here and i still don't see any time saving doing one way or the other except for the time spent trying to write a monolithic script that will call everything within itself. |
i used xcdroast which is a frontend to cdparanoia although i havn't had my cd burner going since the processor on that machine kinda died (no big deal since the machine was in the scrap heap anyways)
|
i assume by monolithic you mean unusually large or complicated
really i didnt have the time to seach the answer for the question of the playlength time but i doubt its that hard and if its never been written ,well its there to be written, so somebody here do it and contribute to the open source community, since thats what the great ga-noo is all about i saw some program on a google search called mp3info that gives the time not here on my computer though its just turtles all the way down anyways |
I don't knwo MP3 or OGG format standards, but I am sure there is a simple, or perhaps not so simple way to see the length of a file. Perhaps checking the bitrate against the actyual file size... that shouldn't be so hard... the bitrate is usually stored in the description of the file (along with the title and many other things).
On the other hand, instead of recording the tracks directly, you can create an ISO image and then check the size of the Image and burn it. Or even simpler: for I in *.mp3 do total= total + Ždu $IŽ (here you need to strip the filename part. I'm not on linux but I think that a simple grep should do it) if total < 700000000 mpg123 --cdr - "$I" | cdrecord speed=4 dev=0,0,0 -audio -pad -nofix - fi done It's my first script in over six months, so I'm not sure that would work. but the idea is still the same. |
All times are GMT -5. The time now is 05:11 PM. |