Media Player Classic enqueue shell extension
My favorite media player is the absolutely awesome Media Player Classic by Gabest. Sadly Gabest isn’t developing it anymore (but some other cool dudes on doom9.org are making some new versions of it using the latest source), but it’s still very usable today.
Sometimes when I watch videos with MPC I find that I want to add some more videos to the playlist so that’ll they run after the video I’m watching. This can be done from the program, but you’ll have to muck about with opening the playlist and browsing through the programs little “Browse…” feature. It’d be very convenient to be able to add videos, songs, etc, to the playlist by just right clicking on them in Explorer (Like you’re able to with Winamp).
Well, this is possible thanks to the command line switches MPC has.
In Explorer goto Tools -> Folder Options and select the File Types tab. Select the file type you want to enable this for (for example .avi) and press Advanced. Press New. As Action type in:
Enqueue in MPC
and as Application type in:
"C:\WINDOWS\mplayerc.exe" /play /add "%1"
That is, if that’s where your Media Player Classic installation is located. If you installed to another directory, you need to adjust the above line to fit your installation. When done editing, press OK three times to get out of the menus.
That’s it! Now you should be able to right-click on any .avi file and select “Enqueue in MPC” and the video should be added to MPC’s playlist. I suggest you also add this Action to the following file types: .avi .mp4 .mpg .m2v, since those are all fairly common for video files.






Reader Comments
this feature is already available by default with MPC 6.4.9.1 (rev 85) that comes with the K-lite codec pack, but i still dont get it: if i rightclick and choose “add to MPC playlist” the player pops up without video and all buttons greyed out.
why cant this thing just play all the selected video files in succession, like WMP does???
your DT extension is great btw, thx for that
Hm. Perhaps that’s the “Home Cinema” version? I use the latest patched version available on http://sourceforge.net/projects/guliverkli2/ (2008-10-05), it says it’s rev. 82 in the program and I can’t find that feature in there…
If you want the video to start playing automatically, you should add /play to the Application-field. Come to think of it, most people probably want that, so I’ll edit the post. Thanks for the suggestion!
The last thing… is kinda annoying, I think it’s a bug in the actual software. You should theoretically be able to do /add %1 /add %2 /add %3, etc, to be able to add more files, but MPC doesn’t seem to be able to handle the information. So at this time, it doesn’t seem like this will be possible.
I’d be surprised if I still got on answer to this but - where are these options in Windows 7?
I can’t answer that question since I’m still using Windows XP.
Hey thanks to your post I could find a way to do that on Windows 7:
On regedit, go to the key
HKEY_CURRENT_USER\Software\Classes\Applications\mplayerc.exe\shell
and create, if don’t exist, the following keys
HKEY_CURRENT_USER\Software\Classes\Applications\mplayerc.exe\shell\enqueue
with default value “Add to MPC playlist”
and inside the enqueue, create the key
HKEY_CURRENT_USER\Software\Classes\Applications\mplayerc.exe\shell\enqueue\command
with default value “C:\Program Files (x86)\QuickTime Alternative\Media Player Classic\mplayerc.exe” /add “%1″
and that’s it! =) all file configured to play on mpc will show an “Add to MPC playlist” on right click menu.
ps.: you can also edit the key
HKEY_CURRENT_USER\Software\Classes\Applications\mplayerc.exe\shell\open
and set the defaul value to “Play with MPC” or something
hope I could help someone! tks! bye!
version: 1.5.0.2827
Player > formats > Explorer context menu: Check directory and files.
Make sure your mediafiles extensions are associated with mpc. Restart mpc. Should be able to rightclick now and add to mpc-hc.