context menu/shell integration for single media file?

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
nickfromgib
New Cone
New Cone
Posts: 5
Joined: 02 Sep 2008 17:25

context menu/shell integration for single media file?

Postby nickfromgib » 02 Sep 2008 17:47

Hi!
Okay, I've managed to integrate VLC media player into Windows Shell, eg right click a folder > Play with VLC Media Player etc. I would like "Add to VLC media player's Playlist" to appear in the context menu when I right-click on single .mp3 file.
Image Image
I would like this done so as to be able to create playlists, so select an .mp3 file and add to playlist, making it easier to create temporary playlists.
I do know how to use regedit, but i dont know how to write scripts :(. If someone could write a script to enable "Add to VLC media player's Playlist" for single .mp3 files that would be great. I'm running Vista x64 by the way, if it makes a difference.
Much appreciated,
Nick

nickfromgib
New Cone
New Cone
Posts: 5
Joined: 02 Sep 2008 17:25

Re: context menu/shell integration for single media file?

Postby nickfromgib » 02 Sep 2008 22:17

guess what? i fixed my own problem! 20 mins of reading some tuts on the internet and another 30 mins putting it into practice and i fixed my own problem. for those who want to do the same as me heres the script:
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\SystemFileAssociations\audio\Shell]

[HKEY_CLASSES_ROOT\SystemFileAssociations\audio\Shell\AddToPlaylistVLC]
@="Add to VLC media player's Playlist"

[HKEY_CLASSES_ROOT\SystemFileAssociations\audio\Shell\AddToPlaylistVLC\command]
@="C:\\Program Files (x86)\\VideoLAN\\VLC\\vlc.exe --started-from-file --playlist-enqueue \"%1\""
Open notepad, copy paste the script, save as .reg, enter it into registry. i cannot be held responsible for any mishaps.
to prove it works for me:
Image
nick

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: context menu/shell integration for single media file?

Postby Jean-Baptiste Kempf » 03 Sep 2008 01:36

Can you clarify ?
It works now for folder but not for mp3?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

nickfromgib
New Cone
New Cone
Posts: 5
Joined: 02 Sep 2008 17:25

Re: context menu/shell integration for single media file?

Postby nickfromgib » 03 Sep 2008 13:49

i'm afraid you misunderstood, the problem was that VLC would appear in the context menu of a folder but not a single media file, in my case i wanted it to appear in a single audio file's context menu as well as a folder's context menu. i fixed this by adding that key to the registry.
nick


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: Google [Bot] and 49 guests