[vlc-devel] [PATCH] package:win32: allow Play With/Add to Playlist on more than 15 elements

Steve Lhomme robux4 at videolabs.io
Fri Feb 12 09:49:52 CET 2016


see https://msdn.microsoft.com/en-us/library/windows/desktop/cc144171%28v=vs.85%29.aspx?f=255&MSPPError=-2147217396
--
found on https://forum.videolan.org/viewtopic.php?f=14&t=129884&p=437349#p437337
---
 extras/package/win32/NSIS/helpers/extensions.nsh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/extras/package/win32/NSIS/helpers/extensions.nsh b/extras/package/win32/NSIS/helpers/extensions.nsh
index 076acfc..58f8e4f 100644
--- a/extras/package/win32/NSIS/helpers/extensions.nsh
+++ b/extras/package/win32/NSIS/helpers/extensions.nsh
@@ -245,9 +245,11 @@ FunctionEnd
 ; Generic function for adding the context menu for one ext.
 !macro AddContextMenuExt EXT
   WriteRegStr HKCR ${EXT}\shell\PlayWithVLC "" $ContextMenuEntry_PlayWith
+  WriteRegStr HKCR ${EXT}\shell\PlayWithVLC "MultiSelectModel" "Player"
   WriteRegStr HKCR ${EXT}\shell\PlayWithVLC\command "" '"$INSTDIR\vlc.exe" --started-from-file --no-playlist-enqueue "%1"'
 
   WriteRegStr HKCR ${EXT}\shell\AddToPlaylistVLC "" $ContextMenuEntry_AddToPlaylist
+  WriteRegStr HKCR ${EXT}\shell\AddToPlaylistVLC "MultiSelectModel" "Player"
   WriteRegStr HKCR ${EXT}\shell\AddToPlaylistVLC\command "" '"$INSTDIR\vlc.exe" --started-from-file --playlist-enqueue "%1"'
 !macroend
 
-- 
2.7.0



More information about the vlc-devel mailing list