Grafburn cd burner - new version 0.10.1

Stuff that has yet to be sorted into a category.
Message
Author
User avatar
Nathan F
Posts: 1764
Joined: Wed 08 Jun 2005, 14:45
Location: Wadsworth, OH (occasionally home)
Contact:

#106 Post by Nathan F »

Yes, Barry requested just a little bit higher up that he would like to be able to burn a different directory onto disk, and I thought that would be a good idea. I've already enabled several options from the command line and I suppose what you are talking about would not be a bad idea as well. How about if I make it capable of just accepting a list of files, which it would then link into your temp directory and burn? That makes the changes somewhat small.

BTW - the symlink capability is now in my development version and working like a charm. I don't know why I didn't do this in the first place, as it has been really quite easy to implement.

Nathan
Bring on the locusts ...

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#107 Post by zigbert »

Pfind has 2 different outputs. Either symlinks or a textfile with the filenames. But it's only the textfile that (today) contains the actual names of the files, so importing a list would sure be the easiest.

Thanks for the work you are doing!

User avatar
Nathan F
Posts: 1764
Joined: Wed 08 Jun 2005, 14:45
Location: Wadsworth, OH (occasionally home)
Contact:

#108 Post by Nathan F »

Yes I see how it works now, that should be pretty easy to deal with. I'll just create a new function that links all the files on the list into your tempdir, and a way to call tha function from the command line.

I also noticed the "view in filameneger" option creates absolute links, so they could be moved or copied. So that way would work too. I see about three ways to implement it actually, but I'll just stick with the list for now.

Nathan
Bring on the locusts ...

User avatar
Nathan F
Posts: 1764
Joined: Wed 08 Jun 2005, 14:45
Location: Wadsworth, OH (occasionally home)
Contact:

#109 Post by Nathan F »

OK here's a snapshot of what I've been doing to it. The changes are the addition of cue and toc file support when creating audio cd's, the ability to create an iso by symlinking files into the temp directory, and just for Zigbert a new function to dump a file list into Grafburn like this:

Code: Select all

grafburn -f <file>
I intend to do some work on the preferences dialog before I release it generally, and the new functions should be tested a bit first as well. Any testers please let me know how it goes for you.

Nathan
Attachments
Grafburn-0.9.2.pet
(34.11 KiB) Downloaded 398 times
Bring on the locusts ...

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#110 Post by zigbert »

Here's the result of the -f test:

The list:

Code: Select all

/mnt/hda5/mp3/Mayhem - A wise birthgiver.mp3
/mnt/hda5/mp3/Mayhem - Anti.mp3
The rxvt output:

Code: Select all

sh-3.00# grafburn -f /tmp/pfind-view
BusyBox v1.01 (2006.08.20-09:28+0000) multi-call binary

Usage: basename FILE [SUFFIX]

Strips directory path and suffixes from FILE.
If specified, also removes any trailing SUFFIX.

ln: creating symbolic link `' to `/mnt/hda5/mp3/Mayhem - A wise birthgiver.mp3': No such file or directory
BusyBox v1.01 (2006.08.20-09:28+0000) multi-call binary

Usage: basename FILE [SUFFIX]

Strips directory path and suffixes from FILE.
If specified, also removes any trailing SUFFIX.

ln: creating symbolic link `' to `/mnt/hda5/mp3/Mayhem - Anti.mp3': No such file or directory
Then dialog shows up:

Code: Select all

You can now optionally set the iso file name and the Volume ID of the disk.
Grafburn made the directory /tmp/files/, but with no files.

User avatar
Nathan F
Posts: 1764
Joined: Wed 08 Jun 2005, 14:45
Location: Wadsworth, OH (occasionally home)
Contact:

#111 Post by Nathan F »

Got to be the spaces in the filename. I thought I'd taken that into account, but apparently it got lost in the shuffle. I'll get on it.

Nathan
Bring on the locusts ...

User avatar
Nathan F
Posts: 1764
Joined: Wed 08 Jun 2005, 14:45
Location: Wadsworth, OH (occasionally home)
Contact:

#112 Post by Nathan F »

Try this Zigbert. Open up /usr/local/apps/Media/Grafburn/burn_file_list in an editor and change line 41 si it reads like this.

Code: Select all

BASENAME="`basename "$FILENAME"`"
That might be the offending line. If there are spaces in the filename it would have to be quoted there. I can't test because I'm running on an important errand right away, so I'll check in later today.

Nathan
Bring on the locusts ...

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#113 Post by zigbert »

:D working :D

I'm very pleased, but wants to give constuctive feedback. After running 'grafburn -f list' there are 4 dialogs before actually burning. As an end-user, I wonder, is really all 4 needed. What about a dialog - Burning options, with entry for optional iso-name, checkbox for mulisession burning and buttons for CD- or DVD-burn. The new gtkdialog also gives possibilities to bold text, so 'insert media' would be easy to notice.

I will update Pfind to use Grafburn as default burner.

Thanks
Sigmund

User avatar
Nathan F
Posts: 1764
Joined: Wed 08 Jun 2005, 14:45
Location: Wadsworth, OH (occasionally home)
Contact:

#114 Post by Nathan F »

Quite a few of the dialogs in Grafburn are written in Xdialog, which is very limited. I do have plans to port much of it over to gtkdialog, which should make the resulting application less "wizard" like and eliminate a lot of the extra windows. They drive me nuts also. I can't say when I'll get it all done though.

Nathan
Bring on the locusts ...

User avatar
Nathan F
Posts: 1764
Joined: Wed 08 Jun 2005, 14:45
Location: Wadsworth, OH (occasionally home)
Contact:

#115 Post by Nathan F »

How's this for a mockup?

Nathan
Attachments
burn_dialog.png
(22.43 KiB) Downloaded 700 times
Bring on the locusts ...

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#116 Post by zigbert »

Now we're talking :wink:

Both simpler and nicer.

User avatar
Nathan F
Posts: 1764
Joined: Wed 08 Jun 2005, 14:45
Location: Wadsworth, OH (occasionally home)
Contact:

#117 Post by Nathan F »

I'm uploading the work in progress again. The two changes here are a simplifacation of both the burning and blanking dialogs, rewritten using gtkdialog3. I plan to do the same with the cd copy and audio cd dialogs, then attack the preferences dialog.

I'm also thiking we need a way to add sessions to a multisession disk in Grafburn, but I don't know when I'll get around to doing it or how I want to work it into the interface. I might add a toolbar menu perhaps, to put in some of the less used tasks.

Nathan
Attachments
Grafburn-0.9.4.pet
(25.07 KiB) Downloaded 362 times
Bring on the locusts ...

User avatar
Nathan F
Posts: 1764
Joined: Wed 08 Jun 2005, 14:45
Location: Wadsworth, OH (occasionally home)
Contact:

#118 Post by Nathan F »

OK, I just uploaded another new and improved version to the previous post. This one adds a menubar to the main interface, removing several of the visible buttons and making things a bit less cluttered. I'm going to add support for appending data to a multisession disk but it's not written yet, and I'm doing a bit of simplification on the copy cd dialog as well, which is also unfinished so it's not included yet. So the only changes in this version are cosmetic, and it should function same as before. I like the fact that it takes up a lot less screen real estate now, which makes a big difference if you're stuck at 800x600 like I am on a couple computers.

Nathan
Attachments
grafburn-0.9.4.png
(25.53 KiB) Downloaded 705 times
Bring on the locusts ...

User avatar
Nathan F
Posts: 1764
Joined: Wed 08 Jun 2005, 14:45
Location: Wadsworth, OH (occasionally home)
Contact:

#119 Post by Nathan F »

I'm in the process of rewriting the preferences dialog a bit. I'm going to have it set a couple other variables like the cd and dvd reader drives, so that the copy dialog can be simplified a bit. Actually I think this could just as easily make use of the cd burner wizard and take it's default drives from the output of that script.

As to the rest I think I can do a rewrite in gtkdialog and once again cut down the size of the window, probably by putting the various sections into separate tabs.

Nathan
Bring on the locusts ...

User avatar
Nathan F
Posts: 1764
Joined: Wed 08 Jun 2005, 14:45
Location: Wadsworth, OH (occasionally home)
Contact:

#120 Post by Nathan F »

OK here is the next stage in development with a totally new preferences dialog. The preferences dialog has been 100% rewritten using gtkdialog3 and is now a single window with tabs. The devices are set according to the system defaults, which are set by the cdburner-wizard. This is a major upgrade in usability, but is not yet a stable release because I have quite a few more things I want to implement. Namely -

* burning on the fly rather than creating an iso file first
* simplify the copy cd process and add support for copying an audio cd with only one drive, by creating a toc file and .wav
* implement appending data to multisession disks

Note that most of the icons are now taken from stock, so they will follow whatever icon theme you happen to be using (Puppy isn't using one, Grafpup uses Tango). This cuts the size of the application about in half.

IMPORTANT! You must delete you preferences file in order to update to this version. The file is $HOME/.config/grafburnrc ($HOME is your home directory, or /root, and .config is a hidden folder. Click on the eye icon in ROX-Filer to view hidden files).

Nathan
Last edited by Nathan F on Sun 06 May 2007, 18:12, edited 1 time in total.
Bring on the locusts ...

User avatar
Nathan F
Posts: 1764
Joined: Wed 08 Jun 2005, 14:45
Location: Wadsworth, OH (occasionally home)
Contact:

#121 Post by Nathan F »

I have written a basic function to append data to a multisession disk, at least for cd media right now, and after testing it all seems to work quite reliably. I appended four sessions in a row to the same disk anyway, without any problems. Adding this support for dvd should actually be easier using growisofs than it is using cdrecord.

Next will be supporting burning on the fly, by piping directly from mkisofs into cdrecord. I think I can make it so the only time the temp directory needs a lot of space is when burning audio cd's. where the tracks must be encoded first.

Nathan
Bring on the locusts ...

User avatar
Nathan F
Posts: 1764
Joined: Wed 08 Jun 2005, 14:45
Location: Wadsworth, OH (occasionally home)
Contact:

#122 Post by Nathan F »

Another new version here, which contains a bit of a rewrite of the audio cd creation stage. Mainly it slims down the interface and eliminates some extra dialog boxes, but it also fixes a couple of bugs that had crept in.

This version also contains the code which can append tracks to a multisession disk. I have tested this with cd media but not yet with dvd, so I can't gaurantee perfect function yet.

At this point most of the interface has been rewritten in gtkdialog, leaving only a handful of dialog boxes in Xdialog and gxmessage and eliminating a ton of extra steps.

Once again you must delete the preferences file before installing this version. It is located at /root/.config/grafburnrc. I plan to write a bit of code to scan the preferences file and add in the newer variables if they are not defined yet, but haven't decided how best to do it yet. Once that is done I think it will essentially be ready for the next "stable" release.

Nathan
Bring on the locusts ...

User avatar
Nathan F
Posts: 1764
Joined: Wed 08 Jun 2005, 14:45
Location: Wadsworth, OH (occasionally home)
Contact:

#123 Post by Nathan F »

I just uploaded version 0.10 to the top of the thread. This is intended to be the next "stable" release of Grafburn and I do encourage anyone who uses the program to update to this version. The main things which have changed since 0.9.6 are a new splash screen, integrating version numbers into several scripts, and an automatic forced updating of the preferences when installing a new version. If you have installed any previous "snapshot" please uninstall it before installing this package. Other than that installation should be seamless and automatic.

Since this is such a radical departure from how everything used to look I also updated the screenshot at the top of the thread.

Nathan
Bring on the locusts ...

pdrito
Posts: 50
Joined: Thu 18 Jan 2007, 14:13

new version 0.10

#124 Post by pdrito »

Nathan F,
First of all, many thanks for your dedication and efforts.

I try your last version, 0.10, of Grafburn.

On DVD disc I have problem with the multisession / no-multisession, issue:
All the process went OK till it reach the moment to burn the iso file.
The messages when I try to burn are:
1.- If multisession is ON, then burniso2cd give me the message "growisofs: previous "session" device is not specified, do use -M or _Z option"
and the program stopped and nothing is burn on dvd disc.

2.- If multisession is OFF, then burniso2cd give the message "no mkisofs options specified, aborting..."
again , program stopped and no burn on dvd disc.

Sorry for this bad news. I really cannot deal with those messages and I am lost without help here.

Thanks again for your pacience.

User avatar
Nathan F
Posts: 1764
Joined: Wed 08 Jun 2005, 14:45
Location: Wadsworth, OH (occasionally home)
Contact:

#125 Post by Nathan F »

OK I looked at the code and saw an error with a wrong variable being used during dvd burning. I just uploaded a minor fixed version to the first post in this thread. Thanks for pointing it out, I've not had near enough feedback in the last couple weeks since I started back to work on this.

Let me know if it now works for you, and if there is anything else you would like to see implemented or changed.

Nathan
Bring on the locusts ...

Post Reply