Jump to content

"Add to WMP playlist" as defaut when opening an MP3 ?


Ben_j

Recommended Posts


Right click an mp3 and see your options. There should be 2 WMP options. I think one of them is what you want.

I don't install WMP and related garbage anymore so I can't be sure.

Not what he is looking for, (i don't install WMP and related garbage either), but for what he wants to do, I would open up regedit and start tracking down the command line inside the HKCR.

First I did a quick search for "Add to Windows Media Player list" which turned up this apartment

HKEY_CLASSES_ROOT\CLSID\{45597c98-80f6-4549-84ff-752cf55e2d29}

"%ProgramFiles(x86)%\Windows Media Player\wmplayer.exe" /Enqueue

Then I found the play command here. I think all you need to do is edit this location to say enqueue instead of play.

HKEY_CLASSES_ROOT\CLSID\{ed1d0fdf-4414-470a-a56d-cfb68623fc58}\LocalServer32

"%ProgramFiles(x86)%\Windows Media Player\wmplayer.exe" /Play

"%ProgramFiles(x86)%\Windows Media Player\wmplayer.exe" /Enqueue

Report back, totally untested, I only spent about 5 minutes on the idea.. As always, back up your registry before attempting, this might not even work. But at least you have an idea of where to start. HKEY_CLASSES_ROOT

EDIT: Your registry might be a little different if you are not on 7x64

Edited by MrJinje
Link to comment
Share on other sites

Since I see both apartments are referenced directly as the commands in this key, maybe the better move is to change it here. This looks like it should work on either x86 or x64.

HKEY_CLASSES_ROOT\SystemFileAssociations\audio\shell

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\SystemFileAssociations\audio\shell\Play\command]

"DelegateExecute"="{ed1d0fdf-4414-470a-a56d-cfb68623fc58}"

change it to

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\SystemFileAssociations\audio\shell\Play\command]

"DelegateExecute"="{45597c98-80f6-4549-84ff-752cf55e2d29}"

Link to comment
Share on other sites

XP has both the Enqueue and Play right click options by default, so I assumed Win7 would as well.
It does, but I think the OP meant to be able to double click a file and not have to right click it every time.
Link to comment
Share on other sites

I get it now. From my experience with trying to remove those WMP context menu options in both XP and Win7, it's nearly impossible as WMP will constantly put them back whenever it's run. I would think this would hold true for editing them as well.

This is part of the reason I took the shotgun approach and removed the offending app entirely.

Link to comment
Share on other sites

thanks for the help. I tried this, it didn't work. But I'm gonna keep searching in the registry :)

Here are a few more quick places to check.

HKEY_CLASSES_ROOT\WMP11.AssocFile.MP3

HKEY_CLASSES_ROOT\.mp3\OpenWithList

This is part of the reason I took the shotgun approach and removed the offending app entirely.
I tried to remove it but I kept getting an error and couldn't compile my image. Edited by MrJinje
Link to comment
Share on other sites

thanks for the help. I tried this, it didn't work. But I'm gonna keep searching in the registry :)

Here are a few more quick places to check.

HKEY_CLASSES_ROOT\WMP11.AssocFile.MP3

HKEY_CLASSES_ROOT\.mp3\OpenWithList

nailed it :) I changed "Play" to "Enqueue" on WMP11.AssocFile.MP3.

Link to comment
Share on other sites

This is part of the reason I took the shotgun approach and removed the offending app entirely.
I tried to remove it but I kept getting an error and couldn't compile my image.

I didn't remove WMP stuff from the .wim file. I simply prevented them from installing via AutoUnattend.xml

Link to comment
Share on other sites

nailed it :) I changed "Play" to "Enqueue" on WMP11.AssocFile.MP3.
I guess, christmas came early this year.
I didn't remove WMP stuff from the .wim file. I simply prevented them from installing via AutoUnattend.xml
LOL, that's is what I did.

<WindowsFeatures>

<ShowWindowsMediaPlayer>false</ShowWindowsMediaPlayer>

</WindowsFeatures>

<ClientApplications>

<Media>mplayerc.exe</Media>

</ClientApplications>

Link to comment
Share on other sites

Looks like you did it wrong then if yours didn't work. Here's how it's done in mine.

<?xml version="1.0" encoding="utf-8"?>

<unattend xmlns="urn:schemas-microsoft-com:unattend">

<servicing>

<package action="configure">

<assemblyIdentity name="Microsoft-Windows-Foundation-Package" version="6.1.7600.16385" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="" />

<selection name="Chess" state="false" />

<selection name="FreeCell" state="false" />

<selection name="Hearts" state="false" />

<selection name="Internet Games" state="false" />

<selection name="Minesweeper" state="false" />

<selection name="More Games" state="false" />

<selection name="PurblePlace" state="false" />

<selection name="Internet-Explorer-Optional-amd64" state="false" />

<selection name="MediaPlayback" state="false" />

<selection name="Printing-XPSServices-Features" state="false" />

<selection name="TabletPCOC" state="false" />

<selection name="Xps-Foundation-Xps-Viewer" state="false" />

</package>

</servicing>

The bold part prevents WMP, Media Center and DVD Maker from installing. If you want I can upload my AutoUnattend.xml somewhere and you can load it in WSIM to see exactly how I did it.

Edited by SyntaxError
Link to comment
Share on other sites

In the \Program Files\Windows Media Player folder, there is one folder called Network Sharing, but it's empty and there's nothing else in the WMP folder. However, mplayer2.exe is in \Program Files (x86)\Windows Media Player, but that's all.

There is no \Windows\eHome folder.

Check your pm for download link of my AutoUnattend.xml

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...