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

Posted on 2008-09-29
Medium Priority
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?
Question by:CatpainKirkNCC1701
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 6
LVL 62

Expert Comment

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)


Author Comment

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.
LVL 62

Expert Comment

ID: 22613630
I understand what you are trying to achieve.
Look into autoplay handler added by VLC from videolan.org and create smth similar.
Get real performance insights from real users

Key features:
- Total Pages Views and Load times
- Top Pages Viewed and Load Times
- Real Time Site Page Build Performance
- Users’ Browser and Platform Performance
- Geographic User Breakdown
- And more


Author Comment

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"?
LVL 62

Expert Comment

ID: 22621738
What is your windows version to do?

Author Comment

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.
LVL 62

Expert Comment

ID: 22631466
At least works on vista. I do not have XP, just Vista Basic
Create file named whatever.reg containing this:
"Action"="Play with Foobar2000"
"DefaultIcon"="\"C:\\Program Files\\foobar2000\\foobar2000.exe\",0"
"Provider"="foobar2000 playr"

Author Comment

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!
LVL 62

Accepted Solution

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

Author Closing Comment

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.
LVL 62

Expert Comment

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

Author Comment

ID: 22646939
That would be nice.

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

You may or may not be familiar with Kodi (http://www.kodi.tv) the open source software media player and entertainment hub that can be installed on Linux, OSX, Windows, iOS, and Android.  Kodi which started off as X-Box Media Center (XBMC) many years…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Users will learn how to set proper sequence settings, scale images, paste attributes, add transitions, fades, and music. Open up Final Cut Pro 7 and Create a new Project: Set the Sequence Settings. a) Click File > Easy Setup > Format > Apple ProRe…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses
Course of the Month12 days, 11 hours left to enroll

777 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