Created
February 16, 2021 21:58
-
-
Save aykxt/1aff15ba794061b8b4dc47e5aa1175e6 to your computer and use it in GitHub Desktop.
VLC URL protocol handler for "vlc://" links on Windows
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Windows Registry Editor Version 5.00 | |
| [HKEY_CLASSES_ROOT\vlc] | |
| @="URL:VLC Protocol" | |
| "URL Protocol"="" | |
| [HKEY_CLASSES_ROOT\vlc\DefaultIcon] | |
| @="C:\\Program Files\\VideoLAN\\VLC\\vlc.exe,0" | |
| [HKEY_CLASSES_ROOT\vlc\shell] | |
| [HKEY_CLASSES_ROOT\vlc\shell\open] | |
| [HKEY_CLASSES_ROOT\vlc\shell\open\command] | |
| @="cmd /V:ON /c set url=%1 && call set url=%%url:~6%% && start \"\" \"C:\\Program Files\\VideoLAN\\VLC\\vlc.exe\" --open !url!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Didn't like the powershell mangling, so made a little stub exe to drop into the same directory as vlc, made it install the registry stuff if just double clicked.
https://github.com/Morgyn/VLCProtocol-Handler