LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-19-2003, 08:25 PM   #16
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46

Quote:
Originally posted by Fascistchicken
its not gui vs. cli, its just you could do it better yourself...
i know that a lot of gui programs support drag and drop and also execute scripts on command, like nautilus, so you could write a script, then use it with your gui program of choice, rather than use a lot of separate programs that are redundant, and that inhibit functionality. so spend a little time now, and save a lot more later...
i don't think it would take more than a few minutes to write a script and thats shorter than the time it would take to find download and install a separate program.
besides, the scripts probably already been written...
so look for that
yes, you could. i've done this. i have a script that does all of this where you can multiselect a bunch of files in konq and open the files in the script. but newbs don't want to do this. it's still much easier to download a proggie that will do all this stuff for you.

Last edited by megaspaz; 10-19-2003 at 08:30 PM.
 
Old 10-19-2003, 08:46 PM   #17
J.I.L.
LQ Newbie
 
Registered: Oct 2003
Posts: 5

Rep: Reputation: 0
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.
 
Old 10-19-2003, 09:55 PM   #18
Fascistchicken
Member
 
Registered: Jul 2003
Location: hellifniknow
Distribution: slackware for chickens
Posts: 182

Rep: Reputation: 30
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/
 
Old 10-19-2003, 09:57 PM   #19
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
* friggin' double post *

Last edited by megaspaz; 10-19-2003 at 09:59 PM.
 
Old 10-19-2003, 09:59 PM   #20
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
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.
 
Old 10-19-2003, 10:08 PM   #21
Fascistchicken
Member
 
Registered: Jul 2003
Location: hellifniknow
Distribution: slackware for chickens
Posts: 182

Rep: Reputation: 30
well, i dont know about oggs but mp3's have the timestamp in them
extract , grep and add i suppose
 
Old 10-20-2003, 12:01 AM   #22
CanadianPenguin
Member
 
Registered: Oct 2003
Distribution: Ubuntu "Hoary" - The best distro around by a long shot.
Posts: 116

Rep: Reputation: 15
Or put them all in XMMS, highlight them and it will tell you the cumulative time at the bottom.
 
Old 10-20-2003, 12:27 AM   #23
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
yes. but then you've brought in another seperate program into the equation.
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.

Last edited by megaspaz; 10-20-2003 at 12:29 AM.
 
Old 10-20-2003, 12:31 AM   #24
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,200

Rep: Reputation: 397Reputation: 397Reputation: 397Reputation: 397
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)
 
Old 10-20-2003, 02:04 AM   #25
Fascistchicken
Member
 
Registered: Jul 2003
Location: hellifniknow
Distribution: slackware for chickens
Posts: 182

Rep: Reputation: 30
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

Last edited by Fascistchicken; 10-20-2003 at 02:05 AM.
 
Old 10-21-2003, 09:48 AM   #26
Ciccio
Member
 
Registered: Nov 2002
Location: Paraguay
Distribution: Mandrake 10
Posts: 573

Rep: Reputation: 30
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Good Burning Application DmD Linux - Newbie 8 09-06-2006 05:30 AM
Could anybody recommend a good CD/DVD burning GPL software? keyboard Linux - Software 11 01-12-2005 03:46 AM
Good cd burning software ReefShark Linux - Software 5 08-10-2004 02:36 AM
Need a good data cd burning software Viper168 Linux - Software 1 10-27-2003 05:10 PM
anyone know good cd burning software to burn cdi files Devboy Linux - Software 7 08-29-2003 12:59 PM


All times are GMT -5. The time now is 06:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration