pCD 1.5 - CD-audio player

Audio editors, music players, video players, burning software, etc.
Post Reply
Message
Author
Sylvander
Posts: 4416
Joined: Mon 15 Dec 2008, 11:06
Location: West Lothian, Scotland, UK

#101 Post by Sylvander »

I'm a Puppy newbie.

Ecomoney is presenting a GIFT of some good ideas [POSITIVITY].
And all he gets is...
RESISTANCE to change.
RESISTANCE to ideas.

I think pCD is really nice.
But the whole system is not yet perfected.

e.g. With BoxPup running...
When I put an audio CD in the drawer of my player, and close the drawer....
The CD AUTO-PLAYS.
But unfortunately it's Xfmedia player that runs, not pCD.
To leave this as-is is not good enough.

As a newbie user I would like to see something like Ecomoney has proposed be brought about, and instead he gets...
NEGATIVITY AS A RESPONSE.

If this kind of reaction was universal throughout the world, there would be no progress.

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

#102 Post by trapster »

Sylvander wrote:
If this kind of reaction was universal throughout the world, there would be no progress.
That might not be a bad thing.
trapster
Maine, USA

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

seeker
Posts: 89
Joined: Thu 27 Nov 2008, 00:43
Location: Indiana, USA

#103 Post by seeker »

01micko wrote: Does Puppy really need the overhead of automatic CD detection? I think our efforts would be better spent on other issues. A simple addition to the help files should help any newby play a CD.
This may be a little off topic but hasn't CD/DVD auto detection auto play already been addressed? Menu->Desktop->Desktop drive icons manager, click the Icon Handler tab, 'Tick box for auto launch handler when media plugged in' ? This is in 4.1.2. A quick search through the help file doesn't say anything about it though.

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

#104 Post by Sylvander »

Anyone know how to make pCD autoplay rather than Xfmedia player? :)

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

#105 Post by disciple »

Ecomoney is presenting a GIFT of some good ideas [POSITIVITY].
And all he gets is...
RESISTANCE to change.
RESISTANCE to ideas.
No. Ecomoney hasn't got a volunteer to tidy up the event manager thing, but neither has he got resistance to change. He has got:
1. A suggestion that this should be a feature of the event manager, not pCD.
2. A discussion about whether or not the feature is a good idea.
3. A discussion about the logic behind his feature request.
None of these things are resistance. Personally I will welcome his patches to the event manager, even though I would disable this functionality myself. I do think if we're going to have an event manager we might as well have a proper one :)
Does Puppy really need the overhead of automatic CD detection?
No, but he already has it, as has already been pointed out :)
Anyone know how to make pCD autoplay rather than Xfmedia player?
Does boxpup use the standard puppy event management system?
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

#106 Post by Sylvander »

1. "Does boxpup use the standard puppy event management system?"
As a newbie, this is all unknown to me, but I did manage to find "Menu->System->Puppy event manager".
Don't see any way in there to make configuration changes so that pCD would autoplay rather than Xfmedia player.

aragon
Posts: 1698
Joined: Mon 15 Oct 2007, 12:18
Location: Germany

#107 Post by aragon »

please look at the picture below. that's the event-manager (version in 4.10).

activate both items might do the trick.

aragon
Attachments
eventm.png
(37.71 KiB) Downloaded 837 times

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

#108 Post by Sylvander »

Both of those boxes are already ticked. :(

seeker
Posts: 89
Joined: Thu 27 Nov 2008, 00:43
Location: Indiana, USA

#109 Post by seeker »

my guess would be to edit /usr/local/bin/defaultmediaplayer like this

Code: Select all

 #!/bin/sh
#exec gxineshell "$@"
exec pCD "$@"
Don't really know till you try.

aragon
Posts: 1698
Joined: Mon 15 Oct 2007, 12:18
Location: Germany

#110 Post by aragon »

yes but 4.2 has also defaultmusicplayer (maybe defaultaudioplayer) which is set to pmusic i think.

aragon

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

#111 Post by Sylvander »

1 Searched for files with default in their name.

2. No file found named defaultaudioplayer, or anything similar.

3. Only /usr/local/bin/defaultmediaplayer found.
Made the suggested changes, but all that did was result in NO autoplay of ANY audio/media player.

4. Put things back as they had been and Xfmedia player now autoplays as previously.

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

#112 Post by disciple »

Maybe we should have defaultcdplayer, defaultcdripper, defaultcdburner and defaultdvdplayer as well.
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

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

#113 Post by ecomoney »

Sylvander, thank you for your support. About 70% of people I introduce Puppy Linux to return to Windows OS. I ask them why. Once of the constant replies I get is "I just want the damn thing to play a cd when I put one in, is that too much to ask?"....amongst several others.
01micko wrote:I think our efforts would be better spent on other issues
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. They see "Plays CD's without needing to read a manual" as a "feature". :)

I think our efforts as Linux Developers are best spent making a Linux Starter Distro as immediately easy to use as Windows....and leave manual-reading to those who have an interest in knowing how Linux works (and they eventually will) to read the manual.

The thing is....I dont personally care a jot whether it plays CD automatically or not...I just Ive seen a lot of new Linux users that do. Any "Product", free or commercial, is doomed to failure if it does not listen to its "target market".
Puppy Linux's [url=http://www.murga-linux.com/puppy/viewtopic.php?p=296352#296352]Mission[/url]

Sorry, my server is down atm!

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

#114 Post by disciple »

We could really do without the hyperbole.
"Menu->Multimedia->pCD CD-audio player" involves reading a menu, not a manual.
You're not asking for Puppy to be made easier, you're either asking for him to be made more automatic, or more like Windows, either of which is OK.
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

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

#115 Post by disciple »

Okay, so I:
1. Changed the event manager settings to automatically run the handler when a disk is inserted, as described above.
2. Opened /usr/local/bin/drive_all and changed line 137 (I'm in Puppy 4.1.1, but my event manager is probably not stock) to start pcd

Code: Select all

...
  1) #audio
   ln -snf /dev/${ONEDRVNAME} /dev/cdrom
   exec pcd
   ;;
3. Inserted an audio CD. It didn't work.
4. Restarted my computer in case it made my (probably non stock) event manager actually respect the automatically run handler setting.
5. Inserted an audio CD, and pCD opened.

So it should be very straightforward - you just need to write a new handler dialogue to give you the choice of what to do instead.
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

#116 Post by Sylvander »

a. Not sure I follow instructions in step 1, but the correct boxes are ticked in the "Event Manager".

b. Carried out steps 2 through 5, but all that happens is that there is now NO autoplay of ANY audio/media player.

c. Now restoring copy of previous /usr/local/bin/drive_all file.

d. Restarted xwin ["Ctrl+Alt+backstep" then xwin], and Xfmedia now autoplays as originally.

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

#117 Post by disciple »

I presume in step 2 you found the place in the file that looked the same as the fragment I posted except it didn't run pcd?
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

#118 Post by Sylvander »

Almost [but not quite] perfect success! :D

1. Found the following 3 lines [129 to 131] in the old copy of /usr/local/bin/drive_all file.

Code: Select all

1) #audio
   ln -snf /dev/${ONEDRVNAME} /dev/cdrom
   exec defaultmediaplayer cdda://
2. Replaced those 3 lines with:

Code: Select all

1) #audio
   ln -snf /dev/${ONEDRVNAME} /dev/cdrom
   exec pcd
3. Now when I close the drawer with an audio CD in...
pCD opens, but doesn't play.
It's necessary to click on the play button, and then the 1st track plays.
Would be better if it autoplayed the 1st track, followed by all the others.

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

#119 Post by zigbert »

Sylvander wrote:pCD opens, but doesn't play.
It's necessary to click on the play button, and then the 1st track plays.
Would be better if it autoplayed the 1st track, followed by all the others.
I'll put it to the todo-list


Sigmund

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

#120 Post by 01micko »

I am of the opinion, if playing an audio cd is to be the default action when a cd is inserted, that it should be an option. I don't always want to play my cd. I may want to rip it with pcdripper or ripoff or copy it with Pburn.

Rob, maybe I should have said that earlier :) . I feel many people would would echo my opinion. This is why I said that it wouldn't be worth pursuing.

Just my 2 cents.
Puppy Linux Blog - contact me for access

Post Reply