pCD 1.5 - CD-audio player

Audio editors, music players, video players, burning software, etc.
Post Reply
Message
Author
alex12
Posts: 82
Joined: Fri 30 Jan 2009, 03:33

#121 Post by alex12 »

Wow! There has been a lot of progress since .2.

User avatar
ecomoney
Posts: 2178
Joined: Fri 25 Nov 2005, 07:00
Location: Lincolnshire, England
Contact:

#122 Post by ecomoney »

Well Done Sylvander/Zigbert! :) A significant contribution to "just works", and another reason for people not to throw away an old P.C. It can now be used as a simple CD player, by those with *no previous linux knowledge*. :D

Im actually on a clients machine now with only puppy 2.15ce (without hotplug), so I cannot test. 01Micko, yes I see that there is a case for people that wish to customize their system or use particular apps for playing/ripping. pCD has a "rip" function included now, so this covers the two main functions that are possible/desired by users when they insert a CD. For someone new to linux, with no previous knowledge, finding out how to do that would involve many hours of research (especially if it involves editing BASH scripts).

Overall I believe having pcd open and play the cd (with the rip button visible) would at least do the most commonly desired option (to play the cd) and the audio from it would act at least as a confirmation to the user that the correct disk was entered before they pressed the "rip" button if so desired.

Doing nothing is not an option :wink:
Puppy Linux's [url=http://www.murga-linux.com/puppy/viewtopic.php?p=296352#296352]Mission[/url]

Sorry, my server is down atm!

User avatar
trapster
Posts: 2117
Joined: Mon 28 Nov 2005, 23:14
Location: Maine, USA
Contact:

#123 Post by trapster »

ecomoney wrote:
If our aim is to be "friendly to Linux Newbies", then we should not expect them to embark on learning curves for them to be able to be able to do the things Windows did for them automatically.
Yes, let's leave learning and thinking out of it.

...
trapster
Maine, USA

Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog

Sylvander
Posts: 4416
Joined: Mon 15 Dec 2008, 11:06
Location: West Lothian, Scotland, UK

#124 Post by Sylvander »

1. "let's leave learning and thinking out of it"
Ever since I 1st got a PC at Xmas 2006. I've been thinking and learning on that topic EVERY SINGLE DAY.
But that's a necessity as dictated by NEED, NOT the object of the exercise.
And my wife and 3 "kids" [born 1975, 1979, 1984] refuse to expend the effort that I do in learning about PC's.
They are ordinary PC users; I'm an "enthusiast".
I'm struggling to get them to take an interest in Puppy Linux, making backups, etc, so I need additional difficulties on things that aught to be simple, like I need a hole in the head.

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#125 Post by disciple »

Can somebody please explain to me what on earth learning and thinking have to do with it?
For someone new to linux, with no previous knowledge, finding out how to do that would involve many hours of research
?
Or 30 seconds of reading the menu?
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

Sylvander
Posts: 4416
Joined: Mon 15 Dec 2008, 11:06
Location: West Lothian, Scotland, UK

#126 Post by Sylvander »

I asked my wife if she knew how to rip and burn an audio CD.

She said: "What's rip and burn?"

Would you mind thinking about it, and learning how to do it?

She said: "No thanks!", and got on with more important things. :D

By-the-way, she's an ex-policewoman, who now helps people who have Multiple Sclerosis.

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

#127 Post by zigbert »

Version 0.9
See main post

changelog
- read disc without rerendering gui
- gui cleanup
- autoplay 1. track after reading disc. (thanks to Sylvander)
- Buttons 'read disc' and 'eject' are now always reachable.
- Bugfix: improved compatibility with manually added cd-text info in Pburn.
- Bugfix: Faster disc-read without internet.
Attachments
pcd-0.9.pet
(3.76 KiB) Downloaded 528 times

User avatar
ecomoney
Posts: 2178
Joined: Fri 25 Nov 2005, 07:00
Location: Lincolnshire, England
Contact:

#128 Post by ecomoney »

When I run from the command line in 4.2.1 I get this, repeating on a roughly one second interval... (this is from a legal CDR of some of my friends music he gave me). Although it picks up the track listing I it does not autoplay, plus the "play" button does not start the track, with no notification

Code: Select all

/dev/cdrom:
setting cdrom speed to 2
setting dvd streaming speed to 2
 dvd speed setting failed: Input/output error
aplay: main:564: audio open error: Device or resource busy
Type: ROM, Vendor 'SONY    ' Model 'CD-ROM CDU311   ' Revision '3.0i' MMC+CDDA
569344 bytes buffer memory requested, 4 buffers, 55 sectors
#icedax version 1.1.6, real time sched., soundcard, libparanoia support
AUDIOtrack pre-emphasis  copy-permitted tracktype channels
      1- 5           no             yes     audio    2
Table o
/dev/cdrom:
setting cdrom speed to 2
setting dvd streaming speed to 2
 dvd speed setting failed: Input/output error
aplay: main:564: audio open error: Device or resource busy
Type: ROM, Vendor 'SONY    ' Model 'CD-ROM CDU311   ' Revision '3.0i' MMC+CDDA
569344 bytes buffer memory requested, 4 buffers, 55 sectors
#icedax version 1.1.6, real time sched., soundcard, libparanoia support
AUDIOtrack pre-emphasis  copy-permitted tracktype channels
      1- 5           no             yes     audio    2
Table of Contents: total tracks:5, (total time 25:06.07)
  1.( 6:48.37),  2.( 3:33.28),  3.( 5:25.35),  4.( 4:34.00),  5.( 4:44.57),

Table of Contents: starting sectors
  1.(       0),  2.(   30637),  3.(   46640),  4.(   71050),  5.(   91600),
 lead-out(  112957)
CDINDEX discid: 9P7.UzsQIEw7i7.C3HzDU9fSu5E-
CDDB discid: 0x3005e205
CD-Text: not detected
CD-Extra: not detected
Incorrect start track setting: 14
Please use -help or consult the man page for help.
f Contents: total tracks:5, (total time 25:06.07)
  1.( 6:48.37),  2.( 3:33.28),  3.( 5:25.35),  4.( 4:34.00),  5.( 4:44.57),

Table of Contents: starting sectors
  1.(       0),  2.(   30637),  3.(   46640),  4.(   71050),  5.(   91600),
 lead-out(  112957)
CDINDEX discid: 9P7.UzsQIEw7i7.C3HzDU9fSu5E-
CDDB discid: 0x3005e205
CD-Text: not detected
CD-Extra: not detected
Incorrect start track setting: 14
Please use -help or consult the man page for help.
I have tested the cd and it plays fine on a stock dedicated CD player.

Using a legal factory burnt cd (not a CDR) I get

Code: Select all

aplay: main:564: audio open error: Device or resource busy
Type: ROM, Vendor 'SONY    ' Model 'CD-ROM CDU311   ' Revision '3.0i' MMC+CDDA
569344 bytes buffer memory requested, 4 buffers, 55 sectors
#icedax version 1.1.6, real time sched., soundcard, libparanoia support
AUDIOtrack pre-emphasis  copy-permitted tracktype channels
      1-16           no              no     audio    2
Table of Contents: total tracks:16, (total time 77:29.63)
  1.( 7:31.04),  2.( 5:11.58),  3.( 3:29.66),  4.( 4:11.64),  5.( 5:05.11),
  6.( 4:25.53),  7.( 3:57.57),  8.( 4:43.02),  9.( 5:38.49), 10.( 4:59.74),
 11.( 4:38.61), 12.( 4:52.45), 13.( 3:22.67), 14.( 4:15.70), 15.( 5:46.13),
 16.( 5:18.44)

Table of Contents: starting sectors
  1.(       0),  2.(   33829),  3.(   57212),  4.(   72953),  5.(   91842),
  6.(  114728),  7.(  134656),  8.(  152488),  9.(  173715), 10.(  199114),
 11.(  221613), 12.(  242524), 13.(  264469), 14.(  279686), 15.(  298881),
 16.(  324844), lead-out(  348738)
CDINDEX discid: 0dfqq.yaBIBrAW.aIgjY1KOv0hU-
CDDB discid: 0xf6122910
CD-Text: not detected
CD-Extra: not detected
Incorrect start track setting: 89
Please use -help or consult the man page for help.
The CD is "The very best of tried and tested Euphoria Mixed by Judge Jules" Which I would expect to be in the ccdb (this machine is internet connected). I would like to point out this CD is definetly not mine (I prefer music with real instruments in it!).

With regard output from puppy 2.15ce. there is not command line output with 0.9. Just the "PCD Audio Player .... Reading Disk" splash screen appears and does not disappear. There is no activity on the drive according to the indicator light on the CD. I dont know how to check the GTK version in 2.15CE sorry.

Update:-

Have taken a quick look into the code on 2.15ce. I see that the /usr/local/pcd/pcd script calls /usr/local/pcd/func with the "-probe" parameter on line 22. So I tried just typing "./func -probe" while in the same directory and got...

Code: Select all

./func: line 23:  /box_splash: No such file or directory
./func: line 25: /func: No such file or directory



Many thanks for your continued work zigbert.

@ Sylvander, Ive seen exactly the same thing. People use a computer because of the time it saves them. If they have to take a productivity drop and go on a lurning curve when switching to linux then thats something that will keep them using Windows. I donated a few computers to the local Multiple Sclerosis group...your wifes is correct, her time is better spent using the computer to help these people than to learn computer terminology.

Someone I know who tried puppy recently (who is a computer enthusiast) and went back to windows said...puppy is great in that its fast and its free, its just you have to tell it to do every single little thing and that gets annoying, and its time consuming to learn too....the "Just works" mission objective is still obviously a "work in progress" :lol:

Of course the computer enthusiasts hold different personal preferences on how their computer should work, and they should be available as a customisation (this is Linux not Windows!), but the default setup should "just work" for the lowest common denominator (that would be the people in my town lol).[/code]
Puppy Linux's [url=http://www.murga-linux.com/puppy/viewtopic.php?p=296352#296352]Mission[/url]

Sorry, my server is down atm!

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

#129 Post by zigbert »

Ecomoney
Are your problems only in version 0.9?
I need to know if I have bugged something......


Sigmund

User avatar
ecomoney
Posts: 2178
Joined: Fri 25 Nov 2005, 07:00
Location: Lincolnshire, England
Contact:

#130 Post by ecomoney »

Yes, tested pCD version 0.9, on puppy 4.2.1 and 2.15ce.
Puppy Linux's [url=http://www.murga-linux.com/puppy/viewtopic.php?p=296352#296352]Mission[/url]

Sorry, my server is down atm!

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

#131 Post by zigbert »

ecomoney
It could be my terrible english, but you didn't answer my question.

Are your problems only in version 0.9, or did they also occur in older versions?
I need to know if I have bugged something......


Sigmund

User avatar
ecomoney
Posts: 2178
Joined: Fri 25 Nov 2005, 07:00
Location: Lincolnshire, England
Contact:

#132 Post by ecomoney »

I dont believe so, but I would like to double check. Where can your previous versions be downloaded (we have to do something about that mirror!).
Puppy Linux's [url=http://www.murga-linux.com/puppy/viewtopic.php?p=296352#296352]Mission[/url]

Sorry, my server is down atm!

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#133 Post by 01micko »

Ok

First time I tried pCD (0.9) on my laptop... IBM R31 Thinkpad, celeron 1066, 512ram... works fine as in I can hear the CD but no info... it has a LG cdrom drive... curious that... remember when I had problems on my Dino? ... LG CDrom drive... as soon as I installed a burner there were no problems...

It seems in 2 cases of LG cdrom drives (not burners) I have problems. Yes, weird.

Works fine on the Dino with a different drive, I will try a different drive on the laptop.

Oh, btw, works ok in Barry's 415... latest alpha :wink: on my P3 600... NOT an LG drive! (BTC BCC 1610IM)??? (whatever that is!) CD recorder. :roll:

Rob.. I do not get your errors. Strange. However, I do agree with one thing.
I prefer music with real instruments in it!
Cheers
Puppy Linux Blog - contact me for access

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

#134 Post by zigbert »

Here's 0.8
Attachments
pcd-0.8.pet
(3.74 KiB) Downloaded 475 times

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#135 Post by disciple »

If you ever write a "help" for pCD it would be worth mentioning that it can't play mixed-mode CDs (or whatever they are - the ones that are an audio CD and a CD ROM) if they are mounted. cdda2wav seems to want exclusive access to the device.
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

Sylvander
Posts: 4416
Joined: Mon 15 Dec 2008, 11:06
Location: West Lothian, Scotland, UK

#136 Post by Sylvander »

Finally got around to installing version 0.9 in BoxPup 4.1.3, and it seems to be working perfectly.
It auto-plays.
The 1st track plays, then onto the 2nd track etc. :D

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#137 Post by 01micko »

Hello Sigmund :)

Ok, this may surprise many of you, but I can run pCD on a 80486dx 50MHz with 32MB of ram. Almost perfectly in Barry's 218 (full install, with 128MB swap) revamp of the Puppy 2 series.

When I say "almost", there is some stutter, but it is minimal... if it were playing in front of a bunch of partygoers, no one would notice. 8)

I tested 2 cds so far... that 'Misdirection' one (I'll mail that one to you if you want Sigmund... it's not quite heavy metal but is definitely hard rock, Australian flavoured, :twisted: ) which has text on the cd and it works fine... tested 'skip' and highlighting a track... slow... but! 486? :lol: . Now, here is another interesting part, I quit the "Misdirection, Cast No Shadows" cd and pressed 'eject'... fine..ok... loaded "Nirvana, Nevermind" and clicked 'read cd', without closing.... (thought... 'doomed to fail'...) and it worked perfectly! Up came the track list. Played automagically. With even less stutter!

Originally, I thought I'd be amazed to even see a track list. But now I am just happy! My 486 is not a useless pile of proverbial!

This pales in comparison to my tests on the 'Dino'... :lol:

Thanks!
Puppy Linux Blog - contact me for access

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#138 Post by 01micko »

For what it's worth I loaded a third CD, 'Judas Priest, RockaRola' ...(Gull remaster version)... on the old piece of junk and pCD continued on and played the disc, but the gui stopped after the third track. When it did stop (the gui) the CD played to the end with no stutter at all. However the gui did seem hung at track 3.

I dunno if this is any help, but it can't be too much harm :)
Puppy Linux Blog - contact me for access

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

#139 Post by zigbert »

Mick
I think it's great that it (partly) worked on your dino. If the gui hangs on your main system too, I would continue the bug-search.....


Thanks for reporting
Sigmund

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#140 Post by 01micko »

Sigmund

I've done some hacking of pCD to use for my pre-dino... the 486.

I cut the gui right down to just the buttons, no splash screens, and just a refresh button for when a new cd is inserted, does the same thing as "read cd".

There are no tracks listed or anything, it just plays the cd, this is just something I did for myself for really low spec gear... erm, puppy shouldn't even run on a 486 with 32meg of ram! It does seem to work better on the "ol' hunk of junk"... perhaps a lower gtk overhead. 8)

All your code in the 'func' file is largely unchanged... I'm just experimenting with what I can take out safely. :)

With your permission I would like to post it as a .pet, some people may find it useful.

I call it "pcdlite"

Mick
Attachments
pcdlite.jpg
(13.33 KiB) Downloaded 1094 times
Puppy Linux Blog - contact me for access

Post Reply