[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:26:00 CET 2016


vlc/vlc-2.2 | branch: master | Steve Lhomme <robUx4 at videolabs.io> | Fri Feb 12 09:49:52 2016 +0100| [65da9d81af75d5ea4b4cdecf907a2dd887a265ec] | 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>
(cherry picked from commit d99f1ab6eb6f567133e35691b6648ff6eedae92d)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 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 583d8be..e69a40c 100644
--- a/extras/package/win32/NSIS/helpers/extensions.nsh
+++ b/extras/package/win32/NSIS/helpers/extensions.nsh
@@ -244,9 +244,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