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 Sun 26 Oct 2014, 02:23
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
pCD 1.5 - CD-audio player
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 8 of 13 Posts_count   Goto page: Previous 1, 2, 3, ..., 6, 7, 8, 9, 10, 11, 12, 13 Next
Author Message
Sylvander

Joined: 15 Dec 2008
Posts: 3463
Location: West Lothian, Scotland, UK

PostPosted: Fri 26 Jun 2009, 09:18    Post_subject:  

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.
Back to top
View user's profile Send_private_message 
aragon

Joined: 15 Oct 2007
Posts: 1698
Location: Germany

PostPosted: Fri 26 Jun 2009, 09:47    Post_subject:  

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

activate both items might do the trick.

aragon
eventm.png
 Description   
 Filesize   37.71 KB
 Viewed   809 Time(s)

eventm.png


_________________
PUPPY SEARCH: http://wellminded.com/puppy/pupsearch.html
Back to top
View user's profile Send_private_message 
Sylvander

Joined: 15 Dec 2008
Posts: 3463
Location: West Lothian, Scotland, UK

PostPosted: Fri 26 Jun 2009, 12:11    Post_subject:  

Both of those boxes are already ticked. Sad
Back to top
View user's profile Send_private_message 
seeker

Joined: 26 Nov 2008
Posts: 89
Location: Indiana, USA

PostPosted: Fri 26 Jun 2009, 13:45    Post_subject:  

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

Code:
 #!/bin/sh
#exec gxineshell "$@"
exec pCD "$@"


Don't really know till you try.
Back to top
View user's profile Send_private_message 
aragon

Joined: 15 Oct 2007
Posts: 1698
Location: Germany

PostPosted: Fri 26 Jun 2009, 15:32    Post_subject:  

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

aragon

_________________
PUPPY SEARCH: http://wellminded.com/puppy/pupsearch.html
Back to top
View user's profile Send_private_message 
Sylvander

Joined: 15 Dec 2008
Posts: 3463
Location: West Lothian, Scotland, UK

PostPosted: Fri 26 Jun 2009, 15:58    Post_subject:  

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.
Back to top
View user's profile Send_private_message 
disciple

Joined: 20 May 2006
Posts: 6449
Location: Auckland, New Zealand

PostPosted: Fri 26 Jun 2009, 17:46    Post_subject:  

Maybe we should have defaultcdplayer, defaultcdripper, defaultcdburner and defaultdvdplayer as well.
_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send_private_message 
ecomoney


Joined: 25 Nov 2005
Posts: 2183
Location: Lincolnshire, England

PostPosted: Fri 26 Jun 2009, 18:50    Post_subject:  

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". Smile

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 Mission

Sorry, my server is down atm!
Back to top
View user's profile Send_private_message Visit_website MSNM 
disciple

Joined: 20 May 2006
Posts: 6449
Location: Auckland, New Zealand

PostPosted: Fri 26 Jun 2009, 23:13    Post_subject:  

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.

_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send_private_message 
disciple

Joined: 20 May 2006
Posts: 6449
Location: Auckland, New Zealand

PostPosted: Sat 27 Jun 2009, 02:01    Post_subject:  

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:
...
  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.

_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send_private_message 
Sylvander

Joined: 15 Dec 2008
Posts: 3463
Location: West Lothian, Scotland, UK

PostPosted: Sat 27 Jun 2009, 03:58    Post_subject:  

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.
Back to top
View user's profile Send_private_message 
disciple

Joined: 20 May 2006
Posts: 6449
Location: Auckland, New Zealand

PostPosted: Sat 27 Jun 2009, 04:06    Post_subject:  

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?
_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send_private_message 
Sylvander

Joined: 15 Dec 2008
Posts: 3463
Location: West Lothian, Scotland, UK

PostPosted: Sat 27 Jun 2009, 08:51    Post_subject:  

Almost [but not quite] perfect success! Very Happy

1. Found the following 3 lines [129 to 131] in the old copy of /usr/local/bin/drive_all file.
Code:
1) #audio
   ln -snf /dev/${ONEDRVNAME} /dev/cdrom
   exec defaultmediaplayer cdda://


2. Replaced those 3 lines with:
Code:
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.
Back to top
View user's profile Send_private_message 
zigbert


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

PostPosted: Sat 27 Jun 2009, 14:06    Post_subject:  

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

_________________
Stardust resources
Back to top
View user's profile Send_private_message Visit_website 
01micko


Joined: 11 Oct 2008
Posts: 7836
Location: qld

PostPosted: Sat 27 Jun 2009, 17:06    Post_subject:  

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 Smile . 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.

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send_private_message Visit_website 
Display_posts:   Sort by:   
Page 8 of 13 Posts_count   Goto page: Previous 1, 2, 3, ..., 6, 7, 8, 9, 10, 11, 12, 13 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:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0845s ][ Queries: 12 (0.0067s) ][ GZIP on ]