<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta name="generator" content="pandoc" />
<title></title>
<style type="text/css">code{white-space: pre;}</style>
</head>
<body>
<p>It is relevant, and worth mentioning, that this patch is a direct reply to the below linked ticket.</p>
<ul>
<li>https://trac.videolan.org/vlc/ticket/17472</li>
</ul>
<p>In the future you can include <em>“fixes #17472”</em> in the commit-message to signal that the changes are due to fixing an issue on <em>trac.videolan.org</em>.</p>
<p>On 2016-10-04 11:00, Dag Wieers wrote:</p>
<blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;color:#500050">
<pre><code> Various ISO file formats are natively supported by VideoLAN client.
So having a context-menu to play them directly is very useful and easier
than having to open them from VLC, or having to drag them to the GUI.
---
extras/package/win32/NSIS/helpers/extensions.nsh | 1 +
extras/package/win32/msi/extensions.wxs | 8 ++++++++
2 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/extras/package/win32/NSIS/helpers/extensions.nsh b/extras/package/win32/NSIS/helpers/extensions.nsh
index d86b194..f2c27c2 100644
--- a/extras/package/win32/NSIS/helpers/extensions.nsh
+++ b/extras/package/win32/NSIS/helpers/extensions.nsh
@@ -173,6 +173,7 @@ FunctionEnd
!insertmacro ${_action} Video ".flv"
!insertmacro ${_action} Video ".gvi"
!insertmacro ${_action} Video ".gxf"
+ !insertmacro ${_action} Video ".iso"
!insertmacro ${_action} Video ".m1v"
!insertmacro ${_action} Video ".m2t"
!insertmacro ${_action} Video ".m2v"
diff --git a/extras/package/win32/msi/extensions.wxs b/extras/package/win32/msi/extensions.wxs
index d535679..8c2ee0e 100644
--- a/extras/package/win32/msi/extensions.wxs
+++ b/extras/package/win32/msi/extensions.wxs
@@ -807,6 +807,14 @@
<Verb Id='enqueue' Command='Enqueue in VLC media player' TargetFile="vlc.exe" Argument="--started-from-file --playlist-enqueue "%1"" />
</Extension>
</ProgId>
+ <RegistryValue Root="HKLM" Key="Software\Clients\Media\VLC\Capabilities\FileAssociations" Name=".iso" Value="VLC.iso.Document" Type="string" />
+ <RegistryValue Root="HKCR" Key="Applications\vlc.exe\SupportedTypes" Name=".iso" Value="" Type="string" />
+ <ProgId Id='VLC.iso.Document' Description='Video File' Icon='vlc.ico' Advertise='no'>
+ <Extension Id='iso'>
+ <Verb Id='open' Command='Play with VLC media player' TargetFile="vlc.exe" Argument="--started-from-file --no-playlist-enqueue "%1"" />
+ <Verb Id='enqueue' Command='Enqueue in VLC media player' TargetFile="vlc.exe" Argument="--started-from-file --playlist-enqueue "%1"" />
+ </Extension>
+ </ProgId>
<RegistryValue Root="HKLM" Key="Software\Clients\Media\VLC\Capabilities\FileAssociations" Name=".m3u" Value="VLC.m3u.Document" Type="string" />
<RegistryValue Root="HKCR" Key="Applications\vlc.exe\SupportedTypes" Name=".m3u" Value="" Type="string" />
<ProgId Id='VLC.m3u.Document' Description='Video File' Icon='vlc.ico' Advertise='no'>
--
1.7.1
_______________________________________________
vlc-devel mailing list
To unsubscribe or modify your subscription options:
https://mailman.videolan.org/listinfo/vlc-devel</code></pre>
</blockquote>
</body>
</html>