Commit a741787c authored by Marvin Scholz's avatar Marvin Scholz

Add DSF and DFF formats

parent 8b1217f8
......@@ -148,6 +148,8 @@ FunctionEnd
!insertmacro ${_action} Audio ".caf"
!insertmacro ${_action} Audio ".cda"
!insertmacro ${_action} Audio ".dts"
!insertmacro ${_action} Audio ".dsf"
!insertmacro ${_action} Audio ".dff"
!insertmacro ${_action} Audio ".flac"
!insertmacro ${_action} Audio ".it"
!insertmacro ${_action} Audio ".m4a"
......
......@@ -139,6 +139,22 @@
<Verb Id='enqueue' Command='Enqueue in VLC media player' TargetFile="vlc.exe" Argument="--started-from-file --playlist-enqueue &quot;%1&quot;" />
</Extension>
</ProgId>
<RegistryValue Root="HKLM" Key="Software\Clients\Media\VLC\Capabilities\FileAssociations" Name=".dsf" Value="VLC.dsf.Document" Type="string" />
<RegistryValue Root="HKCR" Key="Applications\vlc.exe\SupportedTypes" Name=".dsf" Value="" Type="string" />
<ProgId Id='VLC.dsf.Document' Description='Video File' Icon='vlc.ico' Advertise='no'>
<Extension Id='dsf'>
<Verb Id='open' Command='Play with VLC media player' TargetFile="vlc.exe" Argument="--started-from-file --no-playlist-enqueue &quot;%1&quot;" />
<Verb Id='enqueue' Command='Enqueue in VLC media player' TargetFile="vlc.exe" Argument="--started-from-file --playlist-enqueue &quot;%1&quot;" />
</Extension>
</ProgId>
<RegistryValue Root="HKLM" Key="Software\Clients\Media\VLC\Capabilities\FileAssociations" Name=".dff" Value="VLC.dff.Document" Type="string" />
<RegistryValue Root="HKCR" Key="Applications\vlc.exe\SupportedTypes" Name=".dff" Value="" Type="string" />
<ProgId Id='VLC.dff.Document' Description='Video File' Icon='vlc.ico' Advertise='no'>
<Extension Id='dff'>
<Verb Id='open' Command='Play with VLC media player' TargetFile="vlc.exe" Argument="--started-from-file --no-playlist-enqueue &quot;%1&quot;" />
<Verb Id='enqueue' Command='Enqueue in VLC media player' TargetFile="vlc.exe" Argument="--started-from-file --playlist-enqueue &quot;%1&quot;" />
</Extension>
</ProgId>
<RegistryValue Root="HKLM" Key="Software\Clients\Media\VLC\Capabilities\FileAssociations" Name=".flac" Value="VLC.flac.Document" Type="string" />
<RegistryValue Root="HKCR" Key="Applications\vlc.exe\SupportedTypes" Name=".flac" Value="" Type="string" />
<ProgId Id='VLC.flac.Document' Description='Video File' Icon='vlc.ico' Advertise='no'>
......
......@@ -151,7 +151,7 @@ typedef enum vlc_intf_dialog {
#define INTF_ABOUT_MSG LICENSE_MSG
#define EXTENSIONS_AUDIO_CSV "3ga", "669", "a52", "aac", "ac3", "adt", "adts", "aif", "aifc", "aiff", \
"amb", "amr", "aob", "ape", "au", "awb", "caf", "dts", "flac", "it", "kar", \
"amb", "amr", "aob", "ape", "au", "awb", "caf", "dts", "dsf", "dff", "flac", "it", "kar", \
"m4a", "m4b", "m4p", "m5p", "mka", "mlp", "mod", "mpa", "mp1", "mp2", "mp3", "mpc", "mpga", "mus", \
"oga", "ogg", "oma", "opus", "qcp", "ra", "rmi", "s3m", "sid", "spx", "tak", "thd", "tta", \
"voc", "vqf", "w64", "wav", "wma", "wv", "xa", "xm"
......@@ -184,6 +184,8 @@ typedef enum vlc_intf_dialog {
"*.awb;" \
"*.caf;" \
"*.dts;" \
"*.dsf;" \
"*.dff;" \
"*.flac;"\
"*.it;" \
"*.kar;" \
......
......@@ -354,6 +354,30 @@
<key>CFBundleTypeRole</key>
<string>Viewer</string>
</dict>
<dict>
<key>CFBundleTypeIconFile</key>
<string>audio.icns</string>
<key>CFBundleTypeName</key>
<string>DSD Stream File</string>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
<key>LSItemContentTypes</key>
<array>
<string>com.sony.dsf</string>
</array>
</dict>
<dict>
<key>CFBundleTypeIconFile</key>
<string>audio.icns</string>
<key>CFBundleTypeName</key>
<string>DSD Interchange File</string>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
<key>LSItemContentTypes</key>
<array>
<string>com.philips.dsdiff</string>
</array>
</dict>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
......@@ -2373,6 +2397,48 @@
</array>
</dict>
</dict>
<dict>
<key>UTTypeConformsTo</key>
<array>
<string>public.audio</string>
</array>
<key>UTTypeDescription</key>
<string>DSD Interchange File</string>
<key>UTTypeIdentifier</key>
<string>com.philips.dsdiff</string>
<key>UTTypeTagSpecification</key>
<dict>
<key>public.filename-extension</key>
<array>
<string>dff</string>
</array>
<key>public.mime-type</key>
<array>
<string>audio/x-dff</string>
</array>
</dict>
</dict>
<dict>
<key>UTTypeConformsTo</key>
<array>
<string>public.audio</string>
</array>
<key>UTTypeDescription</key>
<string>DSD Stream File</string>
<key>UTTypeIdentifier</key>
<string>com.sony.dsf</string>
<key>UTTypeTagSpecification</key>
<dict>
<key>public.filename-extension</key>
<array>
<string>dsf</string>
</array>
<key>public.mime-type</key>
<array>
<string>audio/x-dsf</string>
</array>
</dict>
</dict>
</array>
</dict>
</plist>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment