You are not logged in.

#76 2008-07-25 13:25:47

icrave
Member
Registered: 2006-04-11
Posts: 193

Re: Recorder (1.4) - A simple GTK+ disc burner

Hi,

I have been working on this VCD/SVCD feature today. It works correctly with one file or multiples files on each disc.
I developed a small piece of code that enables you to run a list of commands orderly and automatic, showing the output on every moment. (Nothing extraordinary, old code with a pair of bucles). It makes my program more simple and easy to add future features.

Until now I had several functions and callbacks and It was a mess. So, I'm porting all the code to use this new method. When I finished this, I will release it.

And now, two screenshots showing the process to create and burn a VideoCD. (Everybody loves screenshots)
- First, the terminal output showing how recorder manage the processes (this, will not be showed in your computers, only on mine to help me to debug the app):
terminal226.png.xs.jpg

- Second, recorder showing the process (the warning with "Unit not ready... balblal" is because I don't inserted a disc, but there is no reason to fail if gentoo-wiki is correct):
recorderpw4.th.png

I hope the release will be before 6th Aug.

Offline

#77 2008-07-26 03:40:56

Daenyth
Forum Fellow
From: Boston, MA
Registered: 2008-02-24
Posts: 1,244

Re: Recorder (1.4) - A simple GTK+ disc burner

Awesome work, and fast! Can't wait to give it a try.

Offline

#78 2008-07-31 10:20:59

icrave
Member
Registered: 2006-04-11
Posts: 193

Re: Recorder (1.4) - A simple GTK+ disc burner

News from recorder planet...
- I'm testing different modes (dvd-data, cd-audio and video-cd to be exactly) to check all goes ok.
- I notice on dvd-data sometimes when "closing disc", the disc doesn't eject but the burn finishes correctly.
- VCD/SVCD works correctly. I just burned a disc with a couple episodes of Seinfeld big_smile.
- At this moment, CD Audio supports mp3 and ogg (off course, wav too). I think those are the most popular formats.

Now I will burn a CD Audio, so... if nothing goes wrong, in a pair of hours recorder 1.4 will be in the ciberstreets.

Last edited by icrave (2008-07-31 10:30:43)

Offline

#79 2008-07-31 10:35:30

Daenyth
Forum Fellow
From: Boston, MA
Registered: 2008-02-24
Posts: 1,244

Re: Recorder (1.4) - A simple GTK+ disc burner

Awesome! I'll give the VCD mode some testing too tongue

Offline

#80 2008-07-31 10:59:14

icrave
Member
Registered: 2006-04-11
Posts: 193

Re: Recorder (1.4) - A simple GTK+ disc burner

Yeah, VCD mode is kind a cool. I never tried to burn it because I think it will be hard and complicate.

After test the vcd on mi dvd player and the cd audio on mi hifi.... recorder 1.4 is out. Comments about the release:
- The new dependencies (vcdimager/cdrdao/mpg123/oggdec) are not obligatory. Only install if you needs them.

Work done :d.

Edit: Maybe It's time to put recorder on gnomefiles or something...Do you think it is stable enough to publish it?

Last edited by icrave (2008-07-31 11:05:48)

Offline

#81 2008-07-31 15:22:19

Daenyth
Forum Fellow
From: Boston, MA
Registered: 2008-02-24
Posts: 1,244

Re: Recorder (1.4) - A simple GTK+ disc burner

Release early, release often! Also, I haven't checked the PKGBUILD, but make sure you use the optdepends= array for those optional ones tongue

EDIT: Just checked the PKGBUILD,
Add

optdepends=('vcdimager:     VCD/SVCD Support'
            'cdrdao:       VCD/SVCD Support'
            'mpg123:       Support for mp3 in CD Audio mode'
            'vorbis-tools: Support for ogg vorbis in CD Audio mode')

Also, This is not needed and should be removed from the install file.

op=$1
shift
$op $*

Last edited by Daenyth (2008-07-31 15:39:30)

Offline

#82 2008-08-02 01:40:54

icrave
Member
Registered: 2006-04-11
Posts: 193

Re: Recorder (1.4) - A simple GTK+ disc burner

I released a new version with a small bugfix. It happens when the user tried to burn one file (with spaces on the name) to a cd/dvd data.


Edit: Cooooool. I didn't know about the "optdepends" option. In the next version I will fix it, too lazy now.

Last edited by icrave (2008-08-02 01:42:29)

Offline

#83 2008-08-02 17:06:03

DonVla
Member
From: Bonn, Germany
Registered: 2007-06-07
Posts: 997

Re: Recorder (1.4) - A simple GTK+ disc burner

hey icrave! really great application.
some feature requests:
1. set burning speed
2. perhaps autodetect drives (or at least choose from more available drives)
3. notification when burning is finished (for now it just stops)

thanks
vlad

Offline

#84 2008-08-02 19:00:45

icrave
Member
Registered: 2006-04-11
Posts: 193

Re: Recorder (1.4) - A simple GTK+ disc burner

Hi,
1. Easy feature, I wrote it down for the next release.
2. Before add support to cdrtools, Autodetect drives was activated. Cdrtools give me some troubles with it. I will look for a solution. It's a very important feature for me. (How i said before, It was one of the first options of recorder).
3. Easy, too. Just a message when all finishes.

smile.

Offline

#85 2008-08-02 20:08:54

DonVla
Member
From: Bonn, Germany
Registered: 2007-06-07
Posts: 997

Re: Recorder (1.4) - A simple GTK+ disc burner

thank you!
autodetect is not mandatory. but an option to choose which drive to use when burning would be very useful. i know you can edit this in the options, but a simple choose dialog is more convenient...
actually this small program is more mature than gnomebaker or similar.

Last edited by DonVla (2008-08-02 20:09:42)

Offline

#86 2008-08-02 22:00:17

DonVla
Member
From: Bonn, Germany
Registered: 2007-06-07
Posts: 997

Re: Recorder (1.4) - A simple GTK+ disc burner

hello!
it´s me again smile
one last feature request:
systray support.
thanks
vlad

Offline

#87 2008-08-02 22:18:37

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Recorder (1.4) - A simple GTK+ disc burner

DonVla wrote:

hello!
it´s me again smile
one last feature request:
systray support.
thanks
vlad

Please make it optional if you do. Programs that the users don't have a choice are a major hassle for some.

Offline

#88 2008-08-02 22:46:32

KyKo
Member
Registered: 2007-06-15
Posts: 26

Re: Recorder (1.4) - A simple GTK+ disc burner

DonVia is so demanding!

Offline

#89 2008-10-29 04:53:30

jackrat
Member
Registered: 2008-02-13
Posts: 33

Re: Recorder (1.4) - A simple GTK+ disc burner

icrave I'm having trouble with the makepkg -s command .....

 makepkg -s
==> Making package: recorder 1.4.1-1 i686 (Tue Oct 28 22:37:06 MDT 2008)
==> Checking Runtime Dependencies...
==> Installing missing dependencies...

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

    #1) Respect the privacy of others.
    #2) Think before you type.
    #3) With great power comes great responsibility.

Password: 
resolving dependencies...
looking for inter-conflicts...

Targets (2): cdrkit-1.1.8-1  dvd+rw-tools-7.1-1  

Total Download Size:    1.10 MB
Total Installed Size:   2.49 MB

Proceed with installation? [Y/n] y
:: Retrieving packages from extra...
error: failed retrieving file 'cdrkit-1.1.8-1-i686.pkg.tar.gz' from mirrors.easynews.com : Connection timed out
 cdrkit-1.1.8-1-i686     1026.2K   28.4K/s 00:00:36 [#####################] 100%
 dvd+rw-tools-7.1-1-i686  103.9K   21.7K/s 00:00:05 [#####################] 100%
checking package integrity...
(2/2) checking for file conflicts                   [#####################] 100%
(1/2) installing cdrkit                             [#####################] 100%
(2/2) installing dvd+rw-tools                       [#####################] 100%
==> Checking Buildtime Dependencies...
mkdir: cannot create directory `/builds/recorder/src': Permission denied

==> ERROR: An unknown error has occured. Exiting...

Any suggestions ?

Last edited by jackrat (2008-10-29 04:54:22)

Offline

#90 2008-10-29 05:27:28

BinkyTheClown
Member
From: The Circus
Registered: 2008-06-11
Posts: 85
Website

Re: Recorder (1.4) - A simple GTK+ disc burner

jackrat wrote:

icrave I'm having trouble with the makepkg -s command .....

 makepkg -s
==> Making package: recorder 1.4.1-1 i686 (Tue Oct 28 22:37:06 MDT 2008)
==> Checking Runtime Dependencies...
==> Installing missing dependencies...

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

    #1) Respect the privacy of others.
    #2) Think before you type.
    #3) With great power comes great responsibility.

Password: 
resolving dependencies...
looking for inter-conflicts...

Targets (2): cdrkit-1.1.8-1  dvd+rw-tools-7.1-1  

Total Download Size:    1.10 MB
Total Installed Size:   2.49 MB

Proceed with installation? [Y/n] y
:: Retrieving packages from extra...
error: failed retrieving file 'cdrkit-1.1.8-1-i686.pkg.tar.gz' from mirrors.easynews.com : Connection timed out
 cdrkit-1.1.8-1-i686     1026.2K   28.4K/s 00:00:36 [#####################] 100%
 dvd+rw-tools-7.1-1-i686  103.9K   21.7K/s 00:00:05 [#####################] 100%
checking package integrity...
(2/2) checking for file conflicts                   [#####################] 100%
(1/2) installing cdrkit                             [#####################] 100%
(2/2) installing dvd+rw-tools                       [#####################] 100%
==> Checking Buildtime Dependencies...
mkdir: cannot create directory `/builds/recorder/src': Permission denied

==> ERROR: An unknown error has occured. Exiting...

Any suggestions ?

Where are you building the package? Do you have write permissions to that directory?

Last edited by BinkyTheClown (2008-10-29 05:30:57)


Heeeeeey cat!!!

Offline

#91 2008-10-29 06:07:07

wirenik
Member
Registered: 2008-08-22
Posts: 134

Re: Recorder (1.4) - A simple GTK+ disc burner

Brilliant app! Deliciously simple, very well-done. Voted up in AUR smile


moljac024: No one really knows what happens inside /dev/null... it could be a gateway to another universe....
dunc: If it is, the people who live there must be getting pretty annoyed by now with all the junk we send them.

Offline

#92 2008-10-29 19:40:08

icrave
Member
Registered: 2006-04-11
Posts: 193

Re: Recorder (1.4) - A simple GTK+ disc burner

Hi,
I think BinkyTheClown is correct, check permissions on your build directory.

Thanks wirenik. I hope some maintainer will include it in community someday tongue.

Offline

#93 2008-10-29 20:34:49

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Recorder (1.4) - A simple GTK+ disc burner

icrave wrote:

Thanks wirenik. I hope some maintainer will include it in community someday tongue.

+1

Offline

#94 2008-10-29 20:45:09

jackrat
Member
Registered: 2008-02-13
Posts: 33

Re: Recorder (1.4) - A simple GTK+ disc burner

icrave wrote:

Hi,
I think BinkyTheClown is correct, check permissions on your build directory.

Thanks wirenik. I hope some maintainer will include it in community someday tongue.

I would think that I have permissions, since I had to create the directory, however, I'll check that and get back if that isn't the problem . Thanks BinkyTheClown and icrave. -  jackrat

Offline

#95 2008-10-29 23:07:30

jackrat
Member
Registered: 2008-02-13
Posts: 33

Re: Recorder (1.4) - A simple GTK+ disc burner

[jackrat@arch builds]$ ls -l
total 8
drwxrwxr-x 2 nobody nobody 4096 2008-08-01 19:37 recorder
-rw-r--r-- 1 jackrat     users   646 2008-10-29 16:49 recorder.tar.gz
[jackrat@arch builds]$ chown -v jackrat recorder.tar.gz
ownership of `recorder.tar.gz' retained as jackrat
[jackrat@arch builds]$ makepkg -s
==> ERROR: PKGBUILD does not exist.
[jackrat@arch builds]$ tar -xvfz recorder.tar.gz
tar: z: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
[jackrat@arch builds]$ tar -xvfz recorder.tar.gz
tar: z: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
[jackrat@arch builds]$ ls 
recorder  recorder.tar.gz

I'm following the tutorial here :http://wiki.archlinux.org/index.php/AUR … se_the_AUR
I've tried several times to change ownership of recorder and change permissions of recorder.tar.gz but I keep getting "permission denied" errors. Maybe I should remove everything and start over?

Last edited by jackrat (2008-10-29 23:12:58)

Offline

#96 2008-10-30 02:18:11

EnvoyRising
Member
Registered: 2008-08-08
Posts: 118

Re: Recorder (1.4) - A simple GTK+ disc burner

jackrat wrote:
[jackrat@arch builds]$ ls -l
total 8
drwxrwxr-x 2 nobody nobody 4096 2008-08-01 19:37 recorder
-rw-r--r-- 1 jackrat     users   646 2008-10-29 16:49 recorder.tar.gz
[jackrat@arch builds]$ chown -v jackrat recorder.tar.gz
ownership of `recorder.tar.gz' retained as jackrat
[jackrat@arch builds]$ makepkg -s
==> ERROR: PKGBUILD does not exist.
[jackrat@arch builds]$ tar -xvfz recorder.tar.gz
tar: z: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
[jackrat@arch builds]$ tar -xvfz recorder.tar.gz
tar: z: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
[jackrat@arch builds]$ ls 
recorder  recorder.tar.gz

I'm following the tutorial here :http://wiki.archlinux.org/index.php/AUR … se_the_AUR
I've tried several times to change ownership of recorder and change permissions of recorder.tar.gz but I keep getting "permission denied" errors. Maybe I should remove everything and start over?

For changing ownership, try:

sudo chown -v jackrat recorder.tar.gz

The reason being that you have to be root to change ownership of files or folders. If you didn't enable sudo, you'll have to use 'su -c' in place of sudo, IIRC.

As for tar, perhaps try:

 tar -xvfz ./recorder.tar.gz

the './' tells your console to search your current working directory instead of your root directory.

Last edited by EnvoyRising (2008-10-30 02:20:23)

Offline

#97 2008-10-30 04:15:28

jackrat
Member
Registered: 2008-02-13
Posts: 33

Re: Recorder (1.4) - A simple GTK+ disc burner

[jackrat@arch builds]$ sudo chown -v jackrat recorder.tar.gz
chown: cannot access `recorder.tar.gz': No such file or directory
failed to change ownership of `recorder.tar.gz' to jackrat
[jackrat@arch builds]$ sudo chown -v ./jackrat recorder.tar.gz
chown: cannot access `./recorder.tar.gz': No such file or directory
failed to change ownership of `recorder.tar.gz' to jackrat
[jackrat@arch builds]$  tar -xvfz ./recorder.tar.gz
tar: z: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
[jackrat@arch builds]$ ls -l
total 8
drwxrwxr-x 2 nobody nobody 4096 2008-08-01 19:37 recorder
-rw-r--r-- 1 jackrat     users   646 2008-10-29 16:49 recorder.tar.gz

I still get the same answers :? :?

BTW - it does the same exact thing when I am root!

Last edited by jackrat (2008-10-30 04:21:50)

Offline

#98 2008-11-01 07:55:19

EnvoyRising
Member
Registered: 2008-08-08
Posts: 118

Re: Recorder (1.4) - A simple GTK+ disc burner

jackrat wrote:
[jackrat@arch builds]$ sudo chown -v ./jackrat recorder.tar.gz
chown: cannot access `./recorder.tar.gz': No such file or directory
failed to change ownership of `recorder.tar.gz' to jackrat

You put the "./" in the wrong place. THe command should be:

sudo chown -v jackrat ./recorder.tar.gz

I personally would change the group as well:

sudo chown -v jackrat:wheel ./recorder.tar.gz

as for tar, try:

tar -xvzf ./recorder.tar.gz

-I don't think the option order should matter, but mabye it does. (you had -xvfz) Also, the way I have it written is the way it's written in the AUR User Guidelines page.
-It would seem that regardless of the error the archive did get extracted considering that the folder now exists, evidenced by your ls -l.

Offline

#99 2008-11-03 04:15:15

jackrat
Member
Registered: 2008-02-13
Posts: 33

Re: Recorder (1.4) - A simple GTK+ disc burner

Thanks EnvoyRising that took care of most of the current issues. I don't know how in the world I put that *./* in the wrong place :embarrassed:
Now, how to get the package to build ????

[jackrat@arch builds]$ sudo chown -v jackrat:wheel ./recorder.tar.gz
changed ownership of `./recorder.tar.gz' to jackrat:wheel
[jackrat@arch builds]$ sudo chown -v jackrat ./recorder.tar.gz
ownership of `./recorder.tar.gz' retained as jackrat
[jackrat@arch builds]$ tar -xvzf ./recorder.tar.gz
recorder
recorder/PKGBUILD
tar: recorder/PKGBUILD: Cannot open: File exists
recorder/recorder.install
tar: recorder/recorder.install: Cannot open: File exists
tar: recorder: Cannot utime: Operation not permitted
tar: Error exit delayed from previous errors
[jackrat@arch builds]$

Offline

#100 2008-11-03 10:49:42

EnvoyRising
Member
Registered: 2008-08-08
Posts: 118

Re: Recorder (1.4) - A simple GTK+ disc burner

jackrat wrote:

Thanks EnvoyRising that took care of most of the current issues. I don't know how in the world I put that *./* in the wrong place :embarrassed:
Now, how to get the package to build ????

[jackrat@arch builds]$ sudo chown -v jackrat:wheel ./recorder.tar.gz
changed ownership of `./recorder.tar.gz' to jackrat:wheel
[jackrat@arch builds]$ sudo chown -v jackrat ./recorder.tar.gz
ownership of `./recorder.tar.gz' retained as jackrat

I assume you were doing this just to verify that indeed ownership was changed? Otherwise it seems redundant to type the command twice.

jackrat wrote:
[jackrat@arch builds]$ tar -xvzf ./recorder.tar.gz
recorder
recorder/PKGBUILD
tar: recorder/PKGBUILD: Cannot open: File exists
recorder/recorder.install
tar: recorder/recorder.install: Cannot open: File exists
tar: recorder: Cannot utime: Operation not permitted
tar: Error exit delayed from previous errors
[jackrat@arch builds]$

Like i sade earlier, you did in fact tar correctly the first time, which is what those erorrs are saying. I'd remove the ./recorder directory and re-tar only because i'm not sure that when you did it the first time the untarred files retained the correct permisisons. As for the "cannot utime" error, does your 'arch builds' directory reside on a FAT16/32 filesystem?

After that, simply:

cd ./recorder 
makepkg -sci

-s: search for missing dependencies, -c: clean up files after building package, -i: install package with pacman after done building

BTW, it turns out for tar, the options can be listed in any order as long as the f option is last, because it associates with the filename.

-ER

PS: Sorry for highjacking this thread, but I wanted to help out jackrat.

Offline

Board footer

Powered by FluxBB