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

Steve Lhomme git at videolan.org
Fri Feb 12 11:18:00 CET 2016


vlc | branch: master | Steve Lhomme <robUx4 at videolabs.io> | Fri Feb 12 09:49:52 2016 +0100| [d99f1ab6eb6f567133e35691b6648ff6eedae92d] | committer: Jean-Baptiste Kempf

package:win32: allow Play With/Add to Playlist on more than 15 elements

see https://msdn.microsoft.com/en-us/library/windows/desktop/cc144171%28v=vs.85%29.aspx?f=255&MSPPError=-2147217396

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d99f1ab6eb6f567133e35691b6648ff6eedae92d
---

 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
 



More information about the vlc-commits mailing list