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 Mon 21 Apr 2014, 08:42
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
pBurn 4.3.4
Post new topic   Reply to topic View previous topic :: View next topic
Page 119 of 141 [2110 Posts]   Goto page: Previous 1, 2, 3, ..., 117, 118, 119, 120, 121, ..., 139, 140, 141 Next
Author Message
zigbert


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

PostPosted: Thu 28 Jun 2012, 09:00    Post subject:  

01micko wrote:
Bigpup seems to have found a bug in Slacko testing. On first run of Pburn, opening the help from the menu fails.
Thank you.
It failed as long as Language was set to 'auto' (related to shinobars improvement). Now fixed.


Sigmund

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


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

PostPosted: Thu 28 Jun 2012, 09:06    Post subject:  

I have ordered some BD-RE for testing, but troubles to get DVD-RW around here. Do you have one laying somewhere on your table, please test if this command blanks/erases the disc properly. It works for DVD+RW, and if it works for -RW too we will get a much faster blanking of DVDs.
Code:
dd if=/dev/zero of=/dev/sr0 bs=32k count=32


I want this improvement for next release


Thank you
Sigmund

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


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

PostPosted: Thu 28 Jun 2012, 09:31    Post subject: Re: help file and locale  

shinobar wrote:
@zigbert
I don't like the LANGUAGE setting, which is saved in the pburnrc, is modified by the script.
pburn line 241- wrote:
#install helptext
TMP_LANG=$LANGUAGE
[ ! -s /usr/share/doc/pburn/$LANGUAGE.html ] && export LANGUAGE=en
$APPDIR/func -install #check help variables
if [ -s $HOME/.pburn/pburnhlp-$LANGUAGE ]; then
. $HOME/.pburn/pburnhlp-$LANGUAGE #read help text (preferable in installed language)
else
. $HOME/.pburn/pburnhlp-auto
fi
export LANGUAGE=$TMP_LANG
Smile The last line should take it back to the initial value, but fails because pburnrc is written during 'func -install'. Now fixed. Thank you!!!!


Sigmund

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


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

PostPosted: Thu 28 Jun 2012, 09:42    Post subject: Re: help file and locale, cont.  

shinobar wrote:
How about using pman to search the help file?
http://www.murga-linux.com/puppy/viewtopic.php?t=56887
Quote:
pman searches documents in the order of the following...
2. under /usr/share/doc/help/$lang, where $lang is determined from $LANG.
Pburn has become more than a Puppy-app, so I try to keep it less Puppy-specific.

I tried the latest Pman, but it didn't catch the Pburn help-file. I though I have found a proper place in /usr/share/doc/pburn/$LANG.html.
What would be the correct structure?


Sigmund

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


Joined: 28 May 2009
Posts: 2385
Location: Japan

PostPosted: Thu 28 Jun 2012, 09:52    Post subject: Re: help file and locale, cont.  

zigbert wrote:
I tried the latest Pman, but it didn't catch the Pburn help-file.

For your information,
pman searches files from /usr/share/doc/help/$LANG/pburn.html, /usr/share/doc/pburn_$LANG.html, /usr/share/doc/pburn.html, /usr/share/doc/pburn/pburn.html, /usr/share/doc/pburn/index.html ...

_________________
Google Chrome portable
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
Back to top
View user's profile Send private message Visit poster's website 
rerwin


Joined: 24 Aug 2005
Posts: 1468
Location: Maine, USA

PostPosted: Thu 28 Jun 2012, 20:25    Post subject:  

zigbert,
I am using 3.6.1 to burn an ISO file (fatdog64) to a CDRW in multisession mode. Verification always fails. I compared the logic in func_exec with similar logic in burniso2cd and found that the disc md5sum is incorrect. The difference in logic is that burniso2cd limits the data to be summed to the length of the iso file. Func_exec does not do that. When I insert the byte-calculation logic into the command generating the disk md5sum, the produced value is correct. Here is what I did:
Code:
sh-4.1# ISOFILE=/mnt/sdb1/Puppy_Archives/downloads/fatdog64/Fatdog64-600b2.iso
sh-4.1# echo "$( md5sum $ISOFILE | cut -f 1 -d " " )"
4b695686a0a3d8ab7c9c739431337427

sh-4.1# CDR=/dev/sr0
sh-4.1# echo "$(dd if=$CDR 2>> /tmp/burniso2cd.log | head -c `stat --format=%s $ISOFILE` | md5sum | cut -f 1 -d " " )"
4b695686a0a3d8ab7c9c739431337427

sh-4.1# BURNDEV=$CDR
sh-4.1# echo "$( dd if=$BURNDEV 2> /dev/null | md5sum | cut -f 1 -d " " )"
9924796f7e0a5fd3181ed78e2480a29e

sh-4.1# echo "$( dd if=$BURNDEV 2> /dev/null | head -c `stat --format=%s $ISOFILE` | md5sum | cut -f 1 -d " " )"
4b695686a0a3d8ab7c9c739431337427
Is there any reason why the
| head -c `stat --format=%s $ISOFILE`
string should not be added to pburn's command:
MD5_DISC="$( dd if=$BURNDEV 2> /dev/null | md5sum | cut -f 1 -d " " )"

Also, the dialog reporting the md5sum mismatch does not show the sum for the ISO file, only the incorrect sum for the disk. And, to make the message more self-explanatory, I think it should begin with a statement that the verification shows that the burn was unsuccessful. Saying that "the burn failed" might be a little harsh, but words to that effect would more direct and would introduce the displayed sums. It may be, though, that showing the sums is only of value for debugging.

I don't know whether a successful burn produces a "Burn successful" dialog window. But it took me a while to infer from the md5sum window that the burn was not to be trusted.
Richard

UPDATE: I assume the change would also apply to writing an ISO file to a DVD. I just have not found the place to mod.

Last edited by rerwin on Fri 29 Jun 2012, 15:21; edited 1 time in total
Back to top
View user's profile Send private message 
zigbert


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

PostPosted: Fri 29 Jun 2012, 09:19    Post subject: Re: help file and locale, cont.  

shinobar wrote:
zigbert wrote:
I tried the latest Pman, but it didn't catch the Pburn help-file.

For your information,
pman searches files from /usr/share/doc/help/$LANG/pburn.html, /usr/share/doc/pburn_$LANG.html, /usr/share/doc/pburn.html, /usr/share/doc/pburn/pburn.html, /usr/share/doc/pburn/index.html ...
I have moved the NLS-help-files to /usr/share/doc/help/$LANG/pburn.html, so that should be ok now. But where is the 'correct' place for the english (native) help-file. Will it be in:
/usr/share/doc/help/en/pburn.html (does not exist, so I guess NO Very Happy )
/usr/share/doc/help/C/pburn.html (and what does C means? - I see you have used it for grubconfig)
/usr/share/doc/pburn.html


Thanks for any explanation - I am blank, and wonder if there is some kind of standard out there.
Sigmund

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


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

PostPosted: Fri 29 Jun 2012, 09:31    Post subject:  

rerwin
I have no idea why and when I modified this, but since i left the original line, it seems clear that I was unsure ...

I can't see any reason why not filter the dd output through 'stat'.
I will switch back.


Thank you
Sigmund

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


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

PostPosted: Sun 01 Jul 2012, 06:23    Post subject:  

For the record
fast blanking with dd if=/dev/zero of=/dev/sr0 bs=32k count=32 works ok for me with DVD+RW and BD-RE. DVD-R fails and needs the growisofs-way.

That means I have to improve the disc-detection before building the blanking command....


Sigmund

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


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

PostPosted: Sun 01 Jul 2012, 17:51    Post subject:  

Furter testing gave me more issues using dd for fast blanking. I have made the code ready, but for now it will use the old alterantive...
Quote:
case "$(<$WORKDIR/MEDIATYPE_FULL)" in
'DVD-rom (DVD-RW)') echo "$PRIORITY""dvd+rw-format -force $BURNDEV" >> $WORKDIR/exec;;
#DVD+RW and BD-RE works with quick blanking using dd
#but -check_media) still reads the burnt size
#so, for now we keep it the conservative way...
*) echo "$PRIORITY""dvd+rw-format -force $BURNDEV" >> $WORKDIR/exec;;
#echo "$PRIORITY""dd if=/dev/zero of=$BURNDEV bs=32k count=256" >> $WORKDIR/exec;;
esac

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


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

PostPosted: Tue 03 Jul 2012, 17:28    Post subject:  

Much has been done for the next release.
- Support of BD-RE (rewritable blu-rays)
- Verify iso-images burnt to DVD/Blu-ray
- ...
Only one 'nut' remains to crack. I am not able to blank a BD-RE. It is not absolutely necessary, but Pburns infrastructure check in many occasions for blank discs. Both DVD and Blu-rays needs to be formatted at first burn. Next you use the -M switch for multisession and -Z for starting over again. Still dvd+rw-format re-blank the DVD+-RW after burnt sessions, but for BD-RE nothing happens. (And I can't redefine the used disc as blank.) That means Pburn needs to give the user a new option - Overwrite existing data instead of the 'blank' option. And what I don't like - is complex guis with more options. Do you know about a way to blank/erase/format my BD-RE after the first burnt session?


Thanks alot
Sigmund

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


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

PostPosted: Sun 15 Jul 2012, 04:59    Post subject:  

version 3.7.0
See main post

Changelog
- Multisession support for BD-RE.
- No need to blank/erase rewritable DVD and blu-ray.
- Correct detection of BD-RE.
- Verify burnt iso-image to multisession DVD/Blu-ray. (thanks to rerwin)
- Move translated help files to /usr/share/doc/help to be compatible with pman. (thanks to shinobar)
- Burn options: Keep 'Temporary storage' widgets to the left when scaling gui.
- Bugfix: Tab-label missing when exporting ISO. (thanks to don570)
- Bugfix: Find help-file when Language is set to 'auto'. (thanks to Bigpup)
- Bugfix: At first run, language was overwritten from 'auto' to $LANG. (thanks to shinobar)
- Bugfix: Verify multisession CD. (thanks to rerwin)
- Bugfix: BD-RE does always report free-space to be equal to total-space.
- Bugfix: Burn iso-image as mutlisession then disc is DVD/BD.
- Bugfix: DVD/BD always asked to blank disc if burning other mode than 'data'.
- NLS: Added: LOC244, 404
- NLS: Changed: LOC351

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

Joined: 29 Jul 2006
Posts: 824
Location: Oregon USA

PostPosted: Sun 15 Jul 2012, 09:01    Post subject:  

Thanks, Zigbert,
Link not updated in first post, is:
http://www.meownplanet.net/zigbert/pburn-3.7.0.pet
Back to top
View user's profile Send private message Visit poster's website 
zigbert


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

PostPosted: Sun 15 Jul 2012, 11:41    Post subject:  

Henry wrote:
Thanks, Zigbert,
Link not updated in first post, is:
http://www.meownplanet.net/zigbert/pburn-3.7.0.pet
Fixed.

Thank you Henry
Sigmund

_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
Flash
Official Dog Handler


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

PostPosted: Sun 15 Jul 2012, 14:36    Post subject:  

My LG Blu-Ray burner apparently crapped out right in the middle of burning a Blu-Ray disk full of mp3 files (with Pburn 3.5.2. I couldn't download Pburn 3.7.0 until just now). Now the drive can't see any kind of disk. Sad
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 119 of 141 [2110 Posts]   Goto page: Previous 1, 2, 3, ..., 117, 118, 119, 120, 121, ..., 139, 140, 141 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.1089s ][ Queries: 12 (0.0281s) ][ GZIP on ]