Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 22 Nov 2014, 10:43
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Grafburn cd burner - new version 0.10.1
Moderators: deshlab, Flash, GuestToo, Ian, JohnMurga, Lobster
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 11 [151 Posts]   Goto page: Previous 1, 2, 3, 4, ..., 9, 10, 11 Next
Author Message
Nathan F


Joined: 08 Jun 2005
Posts: 1760
Location: Wadsworth, OH (occasionally home)

PostPosted: Tue 16 Jan 2007, 18:58    Post subject:  

Hmm, where to start?

Quote:
I don't know how advanced GrafBurn is intended to be.

Dead simple, actually. This is not intended to be a replacement for a ful size burner program. It might be possible to cobble something together regarding audio encoding but I have a feeling it might be kind of clunky anyhow. Let me see how much interest there is over the near future. Right now there's more than I expected, so who knows.

klhrevolutionist - Both are good suggestions. I will change that wording for the next tarball, and I think it might be enough to just pop up the md5sum with one of the dialog windows, along with a warning to double check it. I'm loath to add another step, though, as it would run against my purpose for the scripts.

Quote:
I did not understand what the tmp directory was for until I created one and ran the program.
OK, that's definately a weak point. What would be ideal would be a file selector widget that can build a list of files and directories, but no such utility exists in Puppy to my knowledge. I know of one good implementation of this type of widget but it requires PyGTK. At the very least I will try to make the preferences dialog more verbose so you know what you're doing when you start.

I think that the use of a temp directory will probably always be a part of this little utility. I got the basic idea from BashBurn. There's an interesting fork of BashBurn actually that uses the dialog program rather than typing responses at the prompt, which I considered adapting to Xdialog usage (dialog and Xdialog are fairly command line compatible), but unfortunately it won't run for me anyway. Anyway if you look at BashBurn a bit you can see a little of my inspiration for starting this. It's nothing fancy, but it works reliably and it stays simple enough that it doesn't ask too many confusing questions.

The confusing questions and settings are what I want to avoid here, hence my desire to keep the number of options to a minimum. For a more full featured program I'd recommend Xcdroast for Puppy, or k3b if you can swing a KDE installation. I have KDE installed on my desktop machine just so I can use k3b, because it's really the best burning program that's ever been written for *nix.

Nathan

_________________
Bring on the locusts ...
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Tue 16 Jan 2007, 20:38    Post subject:  

Here's a cdrdialog script I found. I changed all of the dialog to Xdialog in the script. Just figured I'd put it up here incase there's any worthwhile code in there for you. It's a pretty small simple script though. I haven't tried to burn anything with it either.
cdrdialog.tar.gz
Description 
gz

 Download 
Filename  cdrdialog.tar.gz 
Filesize  1.57 KB 
Downloaded  606 Time(s) 
Back to top
View user's profile Send private message 
MU


Joined: 24 Aug 2005
Posts: 13644
Location: Karlsruhe, Germany

PostPosted: Tue 16 Jan 2007, 21:38    Post subject:  

Muppy is based on Puppy 2.12.
Maybe I added a different Gtkdialog.
However with my fix it works fine, it helped me building some Test-isos of Muppy007, that is uploading now.

Mark
Back to top
View user's profile Send private message Visit poster's website 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Tue 16 Jan 2007, 23:31    Post subject:  

I also just got that MyBashBurn program to run using Xdialog after a bunch of tweaking. I'm still working on it though. I'll package up a dotpup for testing after a little more work.
Back to top
View user's profile Send private message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 11153
Location: Arizona USA

PostPosted: Tue 16 Jan 2007, 23:43    Post subject:  

Nathan F wrote:
...
Flash - The program should already support multi-session dvd. When you just burn an iso all it does is call the burniso2cd script. If you create an iso from scratch the burning stage is based on the same code, with all the same functions. I just cleaned it a bit, removed the unnecessary parts, and made it better looking....

Sorry, I didn't make my meaning clear, Nathan. Burniso2cd is only good for making a bootable multisession DVD from an .iso file. I meant to use a DVD as an archive, saving whatever I want to it in session after session until it is full.

I do this with CD audio books that I convert to mp3. After I convert a book, I save it to the DVD as a session. It works wonderfully well. Whether the disk is mounted in Linux or Windows, the books all show up even though each is saved in a separate session. Then I transfer the books from the DVD to a hard drive so all the books in my library are conveniently in one folder. The original DVDs are then in effect incremental backups before the fact. Cool

Quote:
A little window showing the burning commands might not be a bad idea,

Especially if the commands in the window can be edited before clicking "run" in the GUI. It looks like they can with plinej's PBcdripper, though I haven't tried it yet. (I'm researching cdparanoia in the hope of finding a command line option that will speed up the ripping process.)
Back to top
View user's profile Send private message 
Nathan F


Joined: 08 Jun 2005
Posts: 1760
Location: Wadsworth, OH (occasionally home)

PostPosted: Tue 16 Jan 2007, 23:53    Post subject:  

Mark - I went in and added one of the fixes you mentioned, the check to make sure the iso file exists, but I did it on top of the error check. Seems good to me to have both, I'd rather know if mkisofs exited with errors even if the file exists.

Also, regarding the trailing slashes, the best way to proceed would be to find out what the file selector widget returns for you. Mine returns the path with the trailing slash already there, as I think it's supposed to. Not sure if having an extra one in there would cause problems or not, I'll have to try it.

I have a new version partway done, with a much improved preferences dialog. I'll probably upload sometime late tonight or maybe tomorrow depending on how busy I get. The new dialog explains what the temp and output directories are for and has an entry to set the default speed, although the use of that data isn't integrated into the burning stage yet.

I'm thinking about how best to add a function that encodes and burns an audio cd. Not about how to do it technically, but where it might fit best into the gui. There are two options, either an extra button on the main window, or an extra choice in the creation dialog. I like the first option, but to keep it from getting cluttered I would probably rearrange the rest of the window a bit. I'm thinking maybe move the preferences and exit buttons to a horizontal position along the bottom along with a help button. They would probably be made smaller in the process. Of course, this is assuming I want to put that much work into the project. That depends a little bit on how much everybody wants that particular function.

Nathan

_________________
Bring on the locusts ...
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger 
klhrevolutionist


Joined: 08 Jun 2005
Posts: 1124

PostPosted: Wed 17 Jan 2007, 00:09    Post subject:  

Nathan, if I could click a button and choose a directory of mp3 to burn to cd I say why not add that. That is the great thing about most pup projects people try and make everyday task that much easier. Of course I understand you wanting to keep clutter out of the way so maybe just created another wrapper if your up to it !

Don't burn yourself out !

_________________
Heaven is on the way, until then let's get the truth out!
Back to top
View user's profile Send private message 
john biles


Joined: 17 Sep 2006
Posts: 1408
Location: Australia

PostPosted: Wed 17 Jan 2007, 00:22    Post subject:  

Hello Nathan F,
I installed your CD burner and now plinej's PBcdripper won't open when I click on the Icon.
I unzipped your tar.gz file and copied the files in to their respective folders eg: usr etc.
Is this the correct procedure for installing your program as the file wasn't a Dotpup?

I'm Running Puppy 2.10 and I did the install of your package while running live to test it before installing your package to the Puppy that is installed on my HD.

Has anyone else had the same problem?

_________________
Legacy OS 2.1 LTS Released! Install me on a new! EXT2 Partition with 500Mb of swap and I'll be happy. Razz
Legacy OS 4 Released! Install to newer legacy hardware / early EeePC's Very Happy
Back to top
View user's profile Send private message Visit poster's website 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Wed 17 Jan 2007, 00:58    Post subject:  

You can install as an alien package with petget, but manually dragging files to their locations still shouldn't affect PBcdripper. What version of PBcdripper are you using? What happens when you type 'PBcdripper' (without the quotes) on the command line?
Back to top
View user's profile Send private message 
john biles


Joined: 17 Sep 2006
Posts: 1408
Location: Australia

PostPosted: Wed 17 Jan 2007, 01:59    Post subject:  

Hello plinej,
I'm at work but believe it's version 1.5 as you seem to update you burner ever couple of days it hard to keep track.
I will try the command line when I get home.

_________________
Legacy OS 2.1 LTS Released! Install me on a new! EXT2 Partition with 500Mb of swap and I'll be happy. Razz
Legacy OS 4 Released! Install to newer legacy hardware / early EeePC's Very Happy
Back to top
View user's profile Send private message Visit poster's website 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Wed 17 Jan 2007, 02:11    Post subject:  

1.9 is my newest version, give that one a try.

http://www.murga-linux.com/puppy/viewtopic.php?t=12088
Back to top
View user's profile Send private message 
Nathan F


Joined: 08 Jun 2005
Posts: 1760
Location: Wadsworth, OH (occasionally home)

PostPosted: Wed 17 Jan 2007, 02:15    Post subject:  

I created a mockup of the window as it would appear with the audio cd option. See screenshot. Doesn't look too bad. I'm not going to write that code right away, but I'm thinking I'll probably go ahead and do it after all. There are a few considerations. I know I'd like to be able to encode to wav from mp3 and ogg, but are there any other formats that are going to be vital here? Bearing in mind simplicity.

john - I can't see personally how it might be related. Grafburn doesn't install any system libraries and pretty much stays confined to it's own AppDirectory. If there really is a bug I will fix it for sure, but I think it's probably coincidence.

I'll upload version 0.4 in the morning sometime.

Nathan

_________________
Bring on the locusts ...
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger 
WhoDo


Joined: 11 Jul 2006
Posts: 4441
Location: Lake Macquarie NSW Australia

PostPosted: Wed 17 Jan 2007, 03:15    Post subject: Wav, Mp3 and Ogg sounds about right for starters
Subject description: amazing Soxgui-0.2
 

Quote:
As to other formats, I hope I'm not teaching my Grandma any egg-sucking, or exposing my own ignorance, but at a minimum I'd like it to be able to encode from mp3 to CDDA and perhaps flac, too.


That may be quite a lot. Wav, Mp3 and Ogg sounds about right for starters. Plinej is working on adding sound recording to an app he is working on - that may be worked co-operatively?

the amazing Soxgui-0.2 which converts between audio formats
is in Puppy Star (2.13)
http://www.murga-linux.com/puppy/viewtopic.php?p=85761

However for future features who knows what might well be possible (ultimately it is up to Nathans good judgement)
Back to top
View user's profile Send private message 
Nathan F


Joined: 08 Jun 2005
Posts: 1760
Location: Wadsworth, OH (occasionally home)

PostPosted: Wed 17 Jan 2007, 03:55    Post subject:  

Yes, I don't know why I forgot about flac, and I guess cdda is pretty popular also. This is new ground for me though, currently I just use ogg (and mp3 when circumstances force me to).

I'm thinking I could have an Xdialog combobox for selecting the format to encode to, and just use the file extension to figure out what format we're coming from. Give me some time to think about this, I hadn't planned originally on even adding any kind of encoding.

Nathan

_________________
Bring on the locusts ...
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger 
amish

Joined: 24 Sep 2006
Posts: 616

PostPosted: Wed 17 Jan 2007, 04:11    Post subject:  

that's a beeeeautiful app, nathan. does it use cdrecord? if it doesn't, it will already be set to avoid a cdrecord bug with the 2.6 kernel. but, i have puppy 1.07 and grafpup 104 Smile Smile and i can use this with one of those. thank you yet again.
_________________
sadly, it is not possible to separate politics from free software. free software - politics = unfree software.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 2 of 11 [151 Posts]   Goto page: Previous 1, 2, 3, 4, ..., 9, 10, 11 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0978s ][ Queries: 13 (0.0077s) ][ GZIP on ]