Solved

Add Foobar2000 to the list of possible programs to play a music CD.

Posted on 2008-09-29
12
939 Views
Last Modified: 2013-12-21
Where and what do I have to type into the registry to add my CD player of choice Foobar 2000 to the window (Audio CD (D:) that opens when I insert a CD?
0
Comment
Question by:CatpainKirkNCC1701
  • 6
  • 6
12 Comments
 
LVL 61

Expert Comment

by:gheist
ID: 22610319
Given foobar is so compact I dubt it has such feature but it does not hurt to ask developers.
VLC gained this facility recently.

Maybe you find something comparable around these: http://en.wikipedia.org/wiki/Category:Windows_CD_ripping_software

(X-Windows area is irreleavant to your question - yes this is possible to autorun windows program on linux when you insert CD, though I gueess you are not interested in detail)

0
 

Author Comment

by:CatpainKirkNCC1701
ID: 22611162
Thank you gheist.
Regardless of Foobar's compactness, I should be able to add it (or any program to the list).
I opened HKEY_CURRENT_USER - Software - Microsoft - Windows - Autoplay Handlers - Event Handlers Default Section.  There I typed in PlayCDAudioOnArrival  REG_SZ  FoobarAutoPlayAudioCD.
Thus adding the name Foobar to the list of the other programs there.  It DOESN'T post with the other programs in the Audio CD (D:) window that asks "What Do You Want Windows To Do?"
The first option is Copy With Windows Media Player 2nd, Play with Windows Media Player and I have never installed Windows Media Player nor do I want anything to do with WMP.
Regardless, I should have the ability to add any program to the list (somehow) even if it doesn't work.
What I do is click Play with Nero Show Time Essentials (now defunct because it came as a 30 day trial with Nero 7 bundled with my DVD burner.  Because Nero can't work another window opens up.  That window is "Open With".  I can then drill down to Foobar click it and it plays.  Eject the CD and it's the same rigamaroll all over again.  Instead of clicking Nero I would like to see Foobar in that wascally window.
As you can see, I am interested in detail.
0
 
LVL 61

Expert Comment

by:gheist
ID: 22613630
I understand what you are trying to achieve.
Look into autoplay handler added by VLC from videolan.org and create smth similar.
0
 

Author Comment

by:CatpainKirkNCC1701
ID: 22620885
I went to VLC and didn't see Foobar on the site.
Let me approach this from a backward angle.  When I go into autoplay handler I don't see Windows Media Player (and it's not installed - or wanted)! but it's the first 2 options shown.  #1. Copy with Windows Media Player, and #2. Play with Windows Media Player.  
So, I'm wondering, where is the source of both of these 2 Window Media Player entries listed?

If I could find and open that folder, I could enter Foobar or any name I choose and it should come up on the list as an option for "What Do You Want Windows To Do"?
0
 
LVL 61

Expert Comment

by:gheist
ID: 22621738
What is your windows version to do?
0
 

Author Comment

by:CatpainKirkNCC1701
ID: 22631010
In the Audio CD (D:) Window, It first asks
"What Do You Want Windows To Do"?
Copy With Windows Media Player?      Not installed, (or wanted) but offers to install and become default.
Play With Windows Media Player?          "        "                  "            "       "       "     "        "         "           "
Copy With Nero Show Time Essentials?  Past 30 day trial - brings up "Open With" Window
Play With Nero Show Time Essentials?       "     "    "       "         "        "         "       "        "
Play Audio CD using Power DVD?           Does play (perfectly - nice video to watch)
Open folder to view files?                       I don't know why Microsoft included this!
Take No Action?                                      A real Microsoft conundrum.  Insert CD to do nothing!
(A check box)(Always use this player for these files).
My Windows version (XP Professional) gives me these choices.
I would like to give this window another choice (and also remove Windows Media Player & Nero's long dead player.  (Note: I purchaced the player from Nero - it didn't take).(Ripoff).
There must be a way to edit this window and add or remove items to it.  I wish to add Foobar 2000.
0
New My Cloud Pro Series - organize everything!

With space to keep virtually everything, the My Cloud Pro Series offers your team the network storage to edit, save and share production files from anywhere with an internet connection. Compatible with both Mac and PC, you're able to protect your content regardless of OS.

 
LVL 61

Expert Comment

by:gheist
ID: 22631466
At least works on vista. I do not have XP, just Vista Basic
Create file named whatever.reg containing this:
REGEDIT4
[HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\explorer\AutoplayHandlers\Handlers\FoobarPlayCDAudioOnArrival]
"Action"="Play with Foobar2000"
"DefaultIcon"="\"C:\\Program Files\\foobar2000\\foobar2000.exe\",0"
"InvokeProgID"="foobar2000.CDA
"InvokeVerb"="play"
"Provider"="foobar2000 playr"
0
 

Author Comment

by:CatpainKirkNCC1701
ID: 22642279
Now we're getting somewhere.  THAT'S the kind of response I'm looking for.
I tried, didn't work.  I looked at other entries including Windows Media Player.  I put (  before and ) after their Actions, Defaulticons, Provider, etc, and C:\Program Files, play, wmploc.dll,6503.
We've definately in the right place because now when the "What Do You Want Windows To Do" window comes up Windows Media Player is no longer there.  At the bottom of the list before "Open folder to view files" What comes up are a series of lines in a box and underneeth the box of lines is "Using < Needed Provider >.  I've managed to "Mutate" WMP.  Unfortunately Foobar2000 doesn't post.
There may be another something we're overlooking?  I hope!
0
 
LVL 61

Accepted Solution

by:
gheist earned 500 total points
ID: 22643952
Install VLC and look for its entries in registry...
I do not have XP, but that worked on my Vista
0
 

Author Closing Comment

by:CatpainKirkNCC1701
ID: 31501420
I attempted something similar, to displace Windows Media Player with Foobar's information.  It arrived in the window.  One problem with my solution, it didn't do anything.  I feel like I'm beating a dead horse.  I feel your ideas have been close to the bone and I accept your solution.
0
 
LVL 61

Expert Comment

by:gheist
ID: 22646053
There will be more use if you tell developers to enhance their CDA module with autoplay capability...
0
 

Author Comment

by:CatpainKirkNCC1701
ID: 22646939
That would be nice.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I have a Synology DS212+ NAS.  These are not only great for backup and normal NAS stuff, but also for delivering media throughout your home or LAN via DLNA.  I copied my whole audio collection from iTunes over to the box, but couldn't figure out how…
Technology opened people to different means of presenting information, but PowerPoint remains to be above competition. Know why PPT still works today.
Viewers will learn how to create a new project within Adobe Encore and the basic layout of the software.
Viewers will learn how to use Macros for greater control over Rack parameters in Ableton Live. Group devices into a Rack by selecting them and pressing Command-G (Ctrl-G on PC): Control-click (Right Click on PC) a parameter to access pop-up menu, …

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now