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 Thu 31 Jul 2014, 13:48
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
pBurn 4.3.6
Post new topic   Reply to topic View previous topic :: View next topic
Page 15 of 143 [2132 Posts]   Goto page: Previous 1, 2, 3, ..., 13, 14, 15, 16, 17, ..., 141, 142, 143 Next
Author Message
zigbert


Joined: 29 Mar 2006
Posts: 5650
Location: Valåmoen, Norway

PostPosted: Sun 06 Apr 2008, 01:47    Post subject:  

disciple
I have cleaned up the output to terminal. I have to agree that it is useful to get rid of unnecessary output to give a more accurate troubleshooting.

The follow symlink is an advanced option, but users tend to have an idea of what this means, and I feel (for now) it's more logical to keep it in the filesystem section.

Quote:
...it didn't override my theme when I tried it on Puppy 1
Be aware, that I don't run Puppy 1, and I do not know how gtk-themes are arranged there. I have NOT checked it in Puppy 2 either, but in Puppy 4 it all worked properly atfer fixing the bug you reported.

Quote:
Look what happens if you open pburn when it is already running - that doesn't seem very good.
I know... But since you only can burn 1 disc at a time anyway, I haven't given it priority. The first logical thought is to check if Pburn is running before starting a new instance. But when gtkdialog doesn't kill pid if using window manager for closing program (x-button in upper right corner), we can't use 'ps' to check it. I don't know how else we could give it a check. The other way is like Pfind/Picker, - give all temporary files a tail with pid. Like this every instance differs from each other. But there is no point of allowing several instances of Pburn, since burning can't be parallel.

Quote:
Also, we could probably improve the message we get if you click rename, then click OK without changing anything.
Do you mean that 'ok' without changes is the same as 'cancel' or......?

Thanks for input
Sigmund

_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
zigbert


Joined: 29 Mar 2006
Posts: 5650
Location: Valåmoen, Norway

PostPosted: Sun 06 Apr 2008, 02:46    Post subject:  

Version 1.4.1 is uploaded. See main post.
_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
disciple

Joined: 20 May 2006
Posts: 6427
Location: Auckland, New Zealand

PostPosted: Sun 06 Apr 2008, 04:41    Post subject:  

That is all cool Cool
Quote:
The follow symlink is an advanced option, but users tend to have an idea of what this means, and I feel (for now) it's more logical to keep it in the filesystem section.
A lot of new puppy users don't understand symlinks, so if we can provide an explanation it would be good. But it isn't important.
It is worth at least putting the warning about size calculation anyway - but you may have already - I'll have to go see Smile

Quote:
I don't know how else we could give it a check.

Maybe it could check if /tmp/pburn exists (or has stuff in it), and say something like "There is stuff in /tmp/pburn. This might mean you already have Pburn open. Opening Pburn again will delete the stuff and confuse any previous instances of Pburn. Press OK if you are sure you want to do this, otherwise click cancel."

There is a point in allowing several instances - I have been known to work on three or four discs at a time, when I'm deciding what to put on which disc (i.e. what combinations of things will fit). But I agree that it isn't at all important - I was bringing it up more in case we could prevent it from opening again - I think having only one instance of pburn would be tidier than using separate PIDs.

Quote:
Do you mean that 'ok' without changes is the same as 'cancel' or......?
Either do the same as cancel, or at least have a message that says what was wrong "Error: You did not change the name". That message just wasn't user-friendly. I think it would be best not to have an error message though.
_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!

Last edited by disciple on Sun 06 Apr 2008, 05:51; edited 1 time in total
Back to top
View user's profile Send private message 
disciple

Joined: 20 May 2006
Posts: 6427
Location: Auckland, New Zealand

PostPosted: Sun 06 Apr 2008, 05:05    Post subject:  

If I type or past an address without a trailing / in the "browse" bar, and press enter or click "go", then it goes to the location, but I can't add any files, because it doesn't know there should be a / on the end of the address.
Code:
cp: cannot stat `/mnt/hdb6/01 Only Love Is Spoken Here10 How Firm A Foundation.mp3': No such file or directory
du: cannot access `/mnt/hdb6/01 Only Love Is Spoken Here10 How Firm A Foundation.mp3': No such file or directory
Should be Here/10
_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!

Last edited by disciple on Sun 06 Apr 2008, 05:28; edited 1 time in total
Back to top
View user's profile Send private message 
disciple

Joined: 20 May 2006
Posts: 6427
Location: Auckland, New Zealand

PostPosted: Sun 06 Apr 2008, 05:26    Post subject:  

I still see all sorts of things that look wrong when I remove things from the burn list, but maybe they are right. Removing something:
Code:
/usr/local/pburn/func: line 570: [: 1484: unary operator expected

Removing something from inside a folder:
Code:
/usr/local/pburn/func: command substitution: line 539: unexpected EOF while looking for matching `"'
/usr/local/pburn/func: command substitution: line 540: syntax error: unexpected end of file
/usr/local/pburn/func: line 570: [: 12: unary operator expected


If these messages are good, then ignore me Smile

Quote:
I have cleaned up the output to terminal. I have to agree that it is useful to get rid of unnecessary output to give a more accurate troubleshooting.
Actually, I think the more output the better for troubleshooting, because then at least you can see where a script got to... Smile
_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
disciple

Joined: 20 May 2006
Posts: 6427
Location: Auckland, New Zealand

PostPosted: Sun 06 Apr 2008, 05:50    Post subject:  

Quote:
in Puppy 4 it all worked properly atfer fixing the bug you reported.

It seems my original understanding of what it does with GTK themes is correct, and it SHOULD obey the GTK font setting.
It still doesn't work in Dingo. Did this fix make it into the 1.4 or 1.4.1? My Dingo must somehow be broken if it did...

_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
zigbert


Joined: 29 Mar 2006
Posts: 5650
Location: Valåmoen, Norway

PostPosted: Sun 06 Apr 2008, 08:19    Post subject:  

disciple
Quote:
It seems my original understanding of what it does with GTK themes is correct, and it SHOULD obey the GTK font setting.
It still doesn't work in Dingo. Did this fix make it into the 1.4 or 1.4.1? My Dingo must somehow be broken if it did...
The only thing that should happen to gtk-settings is that text of radiobuttons should be bold and red. And this should only happen in the main window, - not in preferences. I am now in a fresh Puppy 4 beta1. I downloaded Pburn 1.4.1 and checked. - Everything normal here.

Quote:
I still see all sorts of things that look wrong when I remove things from the burn list, but maybe they are right.
I continue to remove these messages, though most of them do no harm. But when we get rid of those harmless, the bad ones are left. And those are important to fix. So, I'm glad you fuss about this. While writing this am trying to clean the output you mention, and I see a bug here. If user first renames a directory, and then removes it, the 'minimun disc size' are not updated.

Quote:
If I type or past an address without a trailing / in the "browse" bar, and press enter or click "go", then it goes to the location, but I can't add any files, because it doesn't know there should be a / on the end of the address.
I'll fix that.
_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
Nathan F


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

PostPosted: Tue 08 Apr 2008, 11:22    Post subject:  

Hello Zigbert! It's been a long time but I'm back among the living and very interested in what you're doing here with Pburn. I can tell this is miles beyond where I had gotten with Grafburn so rather than resurrecting that nightmarish code I was thinking maybe I could fiddle a bit with yours from time to time if you don't mind.

I like the overall design of the program but I do have a few issues. Don't know if they've already been brought up and I'm too lazy to read through 15 pages of posts right now, so I'm going to dig in. I'm not thrilled with the file selector because navigation is in the clunky gtk1 type vein, and it shows all the hidden files and directories. I'm curious what is being used here. I also think the window is just too large considering there are still a number of older displays in use out there, and I know this wouldn't fit on say 800x600. It already runs off partway on my 1200x800 lcd.

I also think there needs to be some feedback during the conversion of ogg/mp3/wma files to wav for audio cd creation. This process takes a long time and the program just kind of sits there doing nothing. A progress bar or log viewer would be nice here.

I'd like to get familiar with the code a bit, although I do recognize some things already as Grafburn in origin. Any insight you can give me would be appreciated.

Nathan

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


Joined: 29 Mar 2006
Posts: 5650
Location: Valåmoen, Norway

PostPosted: Tue 08 Apr 2008, 15:16    Post subject:  

Nathan F
Great that you will 'look inside'. I have began to write some developer docs. The link is in the main post, but at this point it is rather limited.
Pburn was started with a lot of code taken from Grafburn. As time has gone parts have been enhanced (in my opinion), so today the only main parts that are left from Grafburn are encoding of audio-files and using cue/toc files for burning. Pburn is not built as standalone functions as in Grafburn. This means you can't start the copy-function without starting the main window. If this sometime are wanted, it is possible to give it a startup parameter.

Quote:
so rather than resurrecting that nightmarish code I was thinking maybe I could fiddle a bit with yours
Don't expect it to be much better. I have looked at your code, and it seems that we are both guys who dive before we can swim. Wink

Quote:
I'm not thrilled with the file selector because navigation is in the clunky gtk1 type vein, and it shows all the hidden files and directories. I'm curious what is being used here.
This is truly homemade crap. But still I'm rather proud of it. - It doesn't look good, it renders slowly, but it does what it is meant to do. But yeah, it would be wonderful if we could manage to make it more gtk2ish. Maybe a checkbox to show/hide hidden files.

Quote:
I also think the window is just too large considering there are still a number of older displays in use out there, and I know this wouldn't fit on say 800x600. It already runs off partway on my 1200x800 lcd.
It is meant to fit in 800x600, because the window size should scale with your screen up until something around 900 dpi height. If it doesn't fit your screen, it must be considered as a bug as long as you use jwm or similar. If I remember correct, height is set to screen height minus 28 pixels. Maybe this should be tweaked so it would fit in a window manager that uses a taller tray.
Quote:

I also think there needs to be some feedback during the conversion of ogg/mp3/wma files to wav for audio cd creation.
It seems that you should have tried the latest 1.4.1.

I will soon start working on 1.5.0 which will have focus on audio production. Plans are CD-text support and option to normalize audio-level before burning. Remember that today Pburn burn/copy audio-CDs without using cdrdao. This will continue, but if user choose to use CD-text support, it seems that we got to use cdrdao. I have been googling, but couldn't find anyone who has made cdrtools to work with CD-text, even if it is saying so in the documentation. I intend to have as few dependences as possible.

You talked nicely about cdrkit and wodim, but this is not working with Pburn, as it gave trouble to detect a valid multisession disk. If you're keen about this, I could explain more later, but it would need some investigation because of the remember-factor of my human brain.


Sigmund

_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
mikeb


Joined: 23 Nov 2006
Posts: 8041

PostPosted: Tue 08 Apr 2008, 16:06    Post subject:  

Hi zigbert and all

well I thought I would pop out of my trench after the great symlink war (I had to look up graft points so not really the best person to ask plus I back up puppy by remastering)

I must admit i've modded pburn to exclude hidden files and also the preceeding '/' on directory names..I find this more readable...a toggle would be good like with pprocess 'show all' function.

At the time of your major rewrite for symlink handling (you were obviously busy plus subtantial changes were happening) I had modified tao audio burning to burn direct from the audiofile(s) ... piping the file player output to cdrecord...each track was a separate unfixed track write with a final -fix only track which I have been using for a while to make quite happy audio cds....this eliminates the move and convert delay .

For -dao It basically requires the building of a series of blah.inf files with the block size etc information for cdrecord to then correctly build the final cd. If Cd text is broken then obviously this poses a problem...hmmmm

Oh on a minor point does 'nice' work in puppy 3 as there is only 'renice' in older puppies?


regards

mike
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 8041

PostPosted: Tue 08 Apr 2008, 17:36    Post subject:  

Quote:
This is truly homemade crap


hey this is not crap

this is a dedicated attempt to make a decent burner application for puppy...at last even though it's a work in progess I no longer have to keep resorting to nero for my burning needs Smile ...now thats a breakthrough.

mike

edit...the sweeter version of this post Very Happy

Last edited by mikeb on Wed 09 Apr 2008, 08:37; edited 1 time in total
Back to top
View user's profile Send private message 
disciple

Joined: 20 May 2006
Posts: 6427
Location: Auckland, New Zealand

PostPosted: Tue 08 Apr 2008, 20:30    Post subject:  

Quote:
this is a dedicated attempt to make a decent burner application for puppy

It's pretty darn good too.

Bug: I get a gtkdialog error if there are files in the burn list and I try to open the preferences dialogue from the menu.

It would be nice if we could more freely resize the windows of your programs zigbert - particularly picker and pburn. It can be quite annoying not really being able to shrink windows.

_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
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 08 Apr 2008, 21:35    Post subject:  

Hey Zigbert, thanks for the speedy reply. I'm in kernel compile mode tonight but wouldn't mind at all taking a look at the code for the file selection sometime. I imagine it shouldn't be too hard to implement a checkbox for show/hide hidden files. A mechanism for entering a path might be nice too.

The version I tried was what is included in Dingo beta, so I will update if need be. I do seem to recall Barry is sometimes slightly behind getting things current, not that I don't have a lot of empathy for the job he does.

As for CD-text I have no idea where to start with cdrecord. But my gut says implement it using cdrdao first, and just disable the function if the user doesn't have the program. Even if you ever get it working with cdrecord I imagine cdrdao would prove more reliable anyway, in which case Pburn could pick which one to use based on what is available. My 2c anyway.

I hadn't realized the part about the auto scaling, sorry. That should work nicely.

And you're 100% correct about diving before we can swim Very Happy

Nathan

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


Joined: 23 Nov 2006
Posts: 8041

PostPosted: Wed 09 Apr 2008, 08:39    Post subject:  

Quote:
cdrdao would prove more reliable anyway


I did wonder a while ago if cdrdao could replace cdrecord entirely...or am I being too simplistic?

also in terms of disk space are these binaries from cdrtools actually used in puppy..I deleted them and everything still seems to work and thet represents a 1Mb uncompressed saving...plenty of room for cdrdao.
Or could some of them be useful to pburn?

readcd A program to read CD/DVD/BD media with CD-clone features
isodebug A program to print mkisofs debug information from media
isodump A program to dump ISO-9660 media
isoinfo A program to analyse/verify ISO/9660/Joliet/Rock-Ridge Filesystems
isovfy A program to verify the ISO-9660 structures
rscsi A Remote SCSI enabling daemon

mike
Back to top
View user's profile Send private message 
zigbert


Joined: 29 Mar 2006
Posts: 5650
Location: Valåmoen, Norway

PostPosted: Wed 09 Apr 2008, 15:52    Post subject:  

Here was a lot of input. It seems that we agree on a option to show hidden files. Do not show these files by default. I have always wanted a clean gui, so I'm thinking of putting a checkbox - 'show hidden files' in the preferences dialog. I know that this is far from the browser, but I haven't got any better idea at this moment. Please give feedback of your thoughts.

mikeb
Good to see you back here. I was afraid you had found better places to waste your time. Now that the great symlink war is over, lets go on.

Quote:
At the time of your major rewrite for symlink handling (you were obviously busy plus subtantial changes were happening) I had modified tao audio burning to burn direct from the audiofile(s) ... piping the file player output to cdrecord...each track was a separate unfixed track write with a final -fix only track which I have been using for a while to make quite happy audio cds....this eliminates the move and convert delay.
For now, I think we have to stick with the original solution. Encoding first, and then use either cdrecord or cdrdao (for CD-text). I'm not sure how your piping would work on a low powered system. Have you tested it ?

Quote:
Oh on a minor point does 'nice' work in puppy 3 as there is only 'renice' in older puppies?
If renice does the job, we could change. What about Puppy 4. I'll make a notice in mo todo-list.

Quote:
I did wonder a while ago if cdrdao could replace cdrecord entirely...or am I being too simplistic?
The reason we use cdrtools is that many apps in Puppy use it. As long as it is Puppy builtin, Pburn should try to use this.

Quote:
also in terms of disk space are these binaries from cdrtools actually used in puppy..I deleted them and everything still seems to work and thet represents a 1Mb uncompressed saving...plenty of room for cdrdao.
Or could some of them be useful to pburn?
I see isoinfo / isovfy. The word verify comes up, and I ask myself. Isn't this man the Pburn-verify-boss. Hello, Don't ask me Very Happy

disciple
Quote:
Bug: I get a gtkdialog error if there are files in the burn list and I try to open the preferences dialogue from the menu.
What does it say?

Quote:
It would be nice if we could more freely resize the windows of your programs zigbert - particularly picker and pburn. It can be quite annoying not really being able to shrink windows.
I agree, it would be nice. I have just made the best solution I could manage. Pprocess and Pfind is built with a single <tree> on one side of the window. Like this you don't need to specify any alignment for the tree, and it will scale nice. Maybe there is a solution I don't know about. If so, please let me know. It's a challenge. Smile

Nathan F
Quote:
A mechanism for entering a path might be nice too.
What do you mean by this. You can manually enter a path in the <entry> on top of the browser and press the 'Go' button.

Thanks for input
Sigmund

_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 15 of 143 [2132 Posts]   Goto page: Previous 1, 2, 3, ..., 13, 14, 15, 16, 17, ..., 141, 142, 143 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
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.1445s ][ Queries: 13 (0.0230s) ][ GZIP on ]