pBurn 4.3.19
- Nathan F
- Posts: 1764
- Joined: Wed 08 Jun 2005, 14:45
- Location: Wadsworth, OH (occasionally home)
- Contact:
Sigmud -
The icon_column attribute actually goes iside the input tag, like so:
Seems counterintuitive to me also but that's how it works.
I also noticed a mistake in my own code. I specified an icon which is not available in Puppy since I have the Tango theme installed. Each istance in my patch which specifies icon=\"folder\" should specify "gtk-directory" for the icon instead. And I plan to revise the code slightly so that the Desktop entry only shows up if there actually IS a Desktop folder in $HOME.
The gtk+ on my system is actually somewhat older than in Pup4. Not sure why the doubleclick works for me and not for you. I wonder if this is a problem accross the board, because I use a doubleclick in my wallpaper setter, also in a chooser widget, to apply an image to the desktop.
Nathan
The icon_column attribute actually goes iside the input tag, like so:
Code: Select all
<input icon_column=\"0\">some commad to build the tree</input>
I also noticed a mistake in my own code. I specified an icon which is not available in Puppy since I have the Tango theme installed. Each istance in my patch which specifies icon=\"folder\" should specify "gtk-directory" for the icon instead. And I plan to revise the code slightly so that the Desktop entry only shows up if there actually IS a Desktop folder in $HOME.
The gtk+ on my system is actually somewhat older than in Pup4. Not sure why the doubleclick works for me and not for you. I wonder if this is a problem accross the board, because I use a doubleclick in my wallpaper setter, also in a chooser widget, to apply an image to the desktop.
Of course my friend. Thanks for Pburn, Pfilesearch, Pfind, Pstopwatch, etc. And for all the tips I've garnered out of your code the last couple months.Thanks a lot for your contributions.
Nathan
Bring on the locusts ...
Nathan
Yes, I got the icons now. Thanks!!! Browsing becomes a bit slower, so I'll see if I keep the icons for Pburn 2. I looks absolutely better.
Yes, I got the icons now. Thanks!!! Browsing becomes a bit slower, so I'll see if I keep the icons for Pburn 2. I looks absolutely better.
I have only one thing to say: Watch out for more!Thanks for Pburn, Pfilesearch, Pfind, Pstopwatch, etc.
- Attachments
-
- pmusic.png
- (28.36 KiB) Downloaded 577 times
- Nathan F
- Posts: 1764
- Joined: Wed 08 Jun 2005, 14:45
- Location: Wadsworth, OH (occasionally home)
- Contact:
You beat me to it, but that's OK. Another thought, if it does slow down the browser then it could be made configurable in the preferences dialog. Slightly more complicated code, better looking and more intuitive for users with fast eough processors. No change for those who don't want the icons.Yes, I got the icons now. Thanks!!! Browsing becomes a bit slower, so I'll see if I keep the icons for Pburn 2. I looks absolutely better.
That music player looks really interesting. Are you actually developing a music player using gtkdialog? That's more than I ever thought to attempt
Nathan
Bring on the locusts ...
I am curious as to why you see the need for a gtkdialog music player? Do you think it might be able to replace Gxine? Or is it for fun?
Do you know a good gtkdialog program? Please post a link here
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
If Gxine fills your need, you don't need Pmusic. But if you
- think that Gxine handles playlists badly
- want to index your music for faster and more flexible song-handling
- want a more Puppy-integrated music manager
- want to enable multiple playlists
- think wxMusik or other are just too big or that they only accept english chars
Pmusic is only 30kb and have NO other dependencies that already are in Puppy 4.
And yes, it is a fun project.....Let's see how far we can push gtkdialog.
Sigmund
- think that Gxine handles playlists badly
- want to index your music for faster and more flexible song-handling
- want a more Puppy-integrated music manager
- want to enable multiple playlists
- think wxMusik or other are just too big or that they only accept english chars
Pmusic is only 30kb and have NO other dependencies that already are in Puppy 4.
And yes, it is a fun project.....Let's see how far we can push gtkdialog.
Sigmund
OK, two issues (using Puppy 4.0):
1. The first bug I reported here is present still/again.
2. Also I see lots of
I'm not sure if this is normal or not. Are we supposed to just have two icons, one for a folder, and the other for any type of file? If so, I don't think there is a problem, because everything has one of the two icons.
1. The first bug I reported here is present still/again.
2. Also I see lots of
Code: Select all
(gtkdialog3:21856): Gtk-WARNING **: could not load image: Icon '' not present in theme
Do you know a good gtkdialog program? Please post a link here
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
dicsiple
1. Let's try one more time
2. This is not a bug, as long as icons show up in Pburns browser and burnlist (in data mode). I don't know how to redirect gtkdialog output to /dev/null, to prevent all this errors coming to terminal. The icons are fetched from the gtk-icon-theme, and cannot be freely set. So it is rather limited amount of icons. At last it is also a speed issue.
Thanks for feedback
Sigmund
1. Let's try one more time
2. This is not a bug, as long as icons show up in Pburns browser and burnlist (in data mode). I don't know how to redirect gtkdialog output to /dev/null, to prevent all this errors coming to terminal. The icons are fetched from the gtk-icon-theme, and cannot be freely set. So it is rather limited amount of icons. At last it is also a speed issue.
Thanks for feedback
Sigmund
copy/shrink still buggy
Hi matey, looking good, but still an error with the dvd copy/shrink option. Haven't tried it starting from a read-only device yet, but when it copies from the burner device, it messes up the video name. See the output below from the start and ending of the process.
Code: Select all
[Hint] You use -i. Normally this is not necessary, vobcopy finds the input dir by itself. This option is only there if vobcopy makes trouble.
[Hint] If vobcopy makes trouble, please mail me so that I can fix this (robos@muon.de). Thanks
[Error] Please don't use -i /dev/something in this version, only the next version will support this again.
[Hint] Please use the mount point instead (/cdrom, /dvd, /mnt/dvd or something)
Vobcopy 1.1.0 - GPL Copyright (c) 2001 - 2007 robos@muon.de
[Hint] All lines starting with "libdvdread:" are not from vobcopy but from the libdvdread-library
[Info] Path to dvd: /dev/hdc
[Info] There are 6 titles on this DVD.
[Info] There are 32 chapters on the dvd.
[Info] Most chapters has title 1 with 24 chapters.
[Info] There are 6 angles on this dvd.
[Info] Used the linux statfs
[Info] In freespace_getter:for /mnt/hdb1/ : 10039808000 free
[Info] In freespace_getter:bavail 2451125 * bsize 4096 = above
[Info] Using Title: 1
[Info] Title has 24 chapters and 1 angles
[Info] Using Chapter: 1
[Info] Using Angle: 1
libdvdread: Error cracking CSS key for /VIDEO_TS/VIDEO_TS.VOB (0x00000130)
[Info] Vob_size was 0
[Info] DVD-name: NO_RESERVATIONS
[Info] Your-name for the dvd: NO_RESERVATIONS
[Info] Used the linux statfs
[Info] In freespace_getter:for /mnt/hdb1/ : 10039808000 free
[Info] In freespace_getter:bavail 2451125 * bsize 4096 = above
[Info] Outputting to /mnt/hdb1/the_video_you_wanted1.vob
0MB of 2862MB written (0 %)
0MB of 2862MB written (0 %)
Code: Select all
2861MB of 2862MB written (100 %)
2862MB of 2862MB written (100 %)
2862MB of 2862MB written (100 %)
2862MB of 2862MB written ( 100.0 %)
[Info] max_filesize_in_blocks 4901226
[Info] offset at the end 1465297
[Info] file_size_in_blocks 1465297
[Info] Single file size (of copied file /mnt/hdb1/the_video_you_wanted1.vob ) 3000928256
[Info] Cumulated size 3000928256
[Info] Successfully copied file /mnt/hdb1/the_video_you_wanted1.vob
[Info] # of separate files: 1
[Info] Copying finished! Let's see if the sizes match (roughly)
[Info] Combined size of title-vobs: 3000928256 (2862 MB)
[Info] Copied size (size on disk): 3000928256 (2862 MB)
[Info] Everything seems to be fine, the sizes match pretty good ;-)
[Hint] Have a lot of fun!
du: cannot access `/mnt/hdb1/NO_RESERVATIONS1.vob': No such file or directory
(standard_in) 1: syntax error
mv: cannot rename '/mnt/hdb1/NO_RESERVATIONS1.vob': No such file or directory
DVDAuthor::dvdauthor, version 0.6.14.
Build options: gnugetopt iconv freetype fribidi
Send bugs to <dvdauthor-users@lists.sourceforge.net>
INFO: dvdauthor creating VTS
STAT: Picking VTS 01
STAT: Processing /mnt/hdb1/NO_RESERVATIONS1-shrank.vob...
ERR: Error opening /mnt/hdb1/NO_RESERVATIONS1-shrank.vob: No such file or directory
DVDAuthor::dvdauthor, version 0.6.14.
Build options: gnugetopt iconv freetype fribidi
Send bugs to <dvdauthor-users@lists.sourceforge.net>
INFO: dvdauthor creating table of contents
ERR: No .IFO files to process
Hi Dinky
Good to see you here
from the vobcopy output, there is a line:
libdvdread: Error cracking CSS key for /VIDEO_TS/VIDEO_TS.VOB (0x00000130)
It seems that vobcopy calls libdvdread, and gets errors in return. I guess this is the reason for the change of filename. From /mnt/hdb1/NO_RESERVATIONS1.vob to /mnt/hdb1/the_video_you_wanted1.vob. The-video-you-wanted is not set by Pmusic, so this must be a vobcopy issue.
Maybe you could contact the vobcopy developer(s).
Sigmund
Good to see you here
from the vobcopy output, there is a line:
libdvdread: Error cracking CSS key for /VIDEO_TS/VIDEO_TS.VOB (0x00000130)
It seems that vobcopy calls libdvdread, and gets errors in return. I guess this is the reason for the change of filename. From /mnt/hdb1/NO_RESERVATIONS1.vob to /mnt/hdb1/the_video_you_wanted1.vob. The-video-you-wanted is not set by Pmusic, so this must be a vobcopy issue.
Maybe you could contact the vobcopy developer(s).
Sigmund
Sorry about Pmusic, - I'm just wrong focused. (rather common to me )
If you could run ONLY vobcopy, and libdvdread doesn't decrypt the movie, gxine will not view the movie properly. If this is what happens to you, it would be good to know in why libdvdread fails. But this is not vobcopy errors, so maybe google 'libdvdread: Error cracking CSS key'
Ok, - google, google ... 1390 hits ... you are not alone
Good luck
Sigmund
If you could run ONLY vobcopy, and libdvdread doesn't decrypt the movie, gxine will not view the movie properly. If this is what happens to you, it would be good to know in why libdvdread fails. But this is not vobcopy errors, so maybe google 'libdvdread: Error cracking CSS key'
Ok, - google, google ... 1390 hits ... you are not alone
Good luck
Sigmund
Hi Sigmund... I'm still confused. Firstly, Xine-ui, based on the xine engine, the same as Gxine, can read "the_video_you_wanted1.vob" with no trouble whatsoever. So it would seem that decryption is working. Also, to my limited knowledge this would appear a naming error... what programs are working to create both the 'real' name of the dvd, and the other one? We can deal with the libdvdread error later, for the moment it appears to be working... what concerns me is the showstopping naming error... while I don't mind googling or contacting developers, I really don't understand where to start... what programs are you running to give this error?
~dinky
~dinky
All the [INFO] is output of vobcopy. And yes, I think this is somewhat strange to suddenly change name. Look at this (taken from your output):
__________________________________________________
[Info] Your-name for the dvd: NO_RESERVATIONS
[Info] Used the linux statfs
[Info] In freespace_getter:for /mnt/hdb1/ : 10039808000 free
[Info] In freespace_getter:bavail 2451125 * bsize 4096 = above
[Info] Outputting to /mnt/hdb1/the_video_you_wanted1.vob[/color]
___________________________________________________
It is great that the decryption works. This means we possible could make a workaround. When you try to copy the NO_RESERVATIONS, go to the 'advanced' tab and the field to manipulate command. I have made a new script for you. This one uses the_video_you_wanted instead of the TITLE. If you succeed with this approach, I put it into Pburn. We could simply make a test whether TITLE (NO_RESERVATIONS) exist. - If not, use the_video_you_wanted. You can easily compare the 2 to see what I've done.
Good luck
Sigmund
__________________________________________________
[Info] Your-name for the dvd: NO_RESERVATIONS
[Info] Used the linux statfs
[Info] In freespace_getter:for /mnt/hdb1/ : 10039808000 free
[Info] In freespace_getter:bavail 2451125 * bsize 4096 = above
[Info] Outputting to /mnt/hdb1/the_video_you_wanted1.vob[/color]
___________________________________________________
It is great that the decryption works. This means we possible could make a workaround. When you try to copy the NO_RESERVATIONS, go to the 'advanced' tab and the field to manipulate command. I have made a new script for you. This one uses the_video_you_wanted instead of the TITLE. If you succeed with this approach, I put it into Pburn. We could simply make a test whether TITLE (NO_RESERVATIONS) exist. - If not, use the_video_you_wanted. You can easily compare the 2 to see what I've done.
Code: Select all
vobcopy -i /dev/hdc -n 1 -t PRIME -o "/mnt/hdb1" -v -l -f
if [ -f "$SHRINK_FACTOR" | cut -f 1 -d '.'`" = "1" ]; then
VIDEO_SIZE=`du "/mnt/hdb1/the_video_you_wanted1.vob" | cut -f 1`
SHRINK_FACTOR=`echo "(( $VIDEO_SIZE / 4400000 ))" | bc -l`
if [ "`echo "$SHRINK_FACTOR" | cut -f 1 -d '.'`" = "1" ]; then
echo -e "\n\nvamps -e $SHRINK_FACTOR -a 1 < "/mnt/hdb1/the_video_you_wanted1.vob " > "/mnt/hdb1/the_video_you_wanted1-shrank.vob""
echo -e "Now shrinking...Time will pass.\n"
vamps -e $SHRINK_FACTOR -a 1 < "/mnt/hdb1/the_video_you_wanted1.vob " > "/mnt/hdb1/the_video_you_wanted1-shrank.vob"
else
mv -f "/mnt/hdb1/the_video_you_wanted1.vob " "/mnt/hdb1/the_video_you_wanted1-shrank.vob"
fi
dvdauthor -o "/mnt/sda6/tmp/pburn-DVD" -t "/mnt/hdb1/the_video_you_wanted1-shrank.vob"
dvdauthor -o "/mnt/sda6/tmp/pburn-DVD" -T
growisofs -use-the-force-luke=tty -Z /dev/cdrom -J -r -dvd-compat -pad -graft-points "/"="/mnt/sda6/tmp/pburn-DVD/"
Sigmund
Hi Sigmund, finally got a chance to test your fix... unfortunately nothing happened. Ran it in the terminal, and am posting the output below.
~dinky
Code: Select all
sh-3.00# pburn
(gtkdialog3:11968): Gtk-WARNING **: could not load image: Icon '' not present in theme
(gtkdialog3:11968): Gtk-WARNING **: could not load image: Icon '' not present in theme
umount: cannot umount /root/.pburn/mnt/: Invalid argument
rm: cannot remove `/root/insert_name_here1.vob.partial': No such file or directory
/usr/local/pburn/func: eval: line 1147: syntax error near unexpected token `('
/usr/local/pburn/func: eval: line 1147: `SHRINK_FACTOR=`echo "(( $VIDEO_SIZE / 4400000 ))" | bc -l` '
Hi dinky
You're a great tester!!! Thanks for your effort!!!
I wonder about your output:
rm: cannot remove `/root/insert_name_here1.vob.partial': No such file or directory
Have you ever written 'insert_name_here' somewhere, or have vobcopy generated this too. I am confused. For me, vobcopy always use the TITLE in the dvd, but at your place ... vobcopy seems to evolve some kind of terrible bad artificial intelligence.
I really hope we could manage to solve this ever lasting bug/issue/or-whatever-it-is
Sigmund
You're a great tester!!! Thanks for your effort!!!
I wonder about your output:
rm: cannot remove `/root/insert_name_here1.vob.partial': No such file or directory
Have you ever written 'insert_name_here' somewhere, or have vobcopy generated this too. I am confused. For me, vobcopy always use the TITLE in the dvd, but at your place ... vobcopy seems to evolve some kind of terrible bad artificial intelligence.
I really hope we could manage to solve this ever lasting bug/issue/or-whatever-it-is
Sigmund