[vlc-commits] macosx: Workaround mkv file association problem

David Fuhrmann git at videolan.org
Wed Feb 21 00:31:51 CET 2018


vlc/vlc-3.0 | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Wed Feb 21 00:26:18 2018 +0100| [c518c14547ca014109bd4ee65149aeb98a7c5251] | committer: David Fuhrmann

macosx: Workaround mkv file association problem

This workarounds a problem very likely within MplayerX. The current
version of that application declares both an exported, as well as
an imported UTI for the mkv file extension, which messes up macOS.
They should delete the exported UTI to fix the problem correctly.

As a workaround, fall back the the old way of declaring mkv file
association, which seems to work as well.

fixes #19758

(cherry picked from commit 171c085bcbc7907ad8c6c46d0fea1b8f72856dcf)
Signed-off-by: David Fuhrmann <dfuhrmann at videolan.org>

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

 share/Info.plist.in | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/share/Info.plist.in b/share/Info.plist.in
index faae134ce1..8266be5e43 100644
--- a/share/Info.plist.in
+++ b/share/Info.plist.in
@@ -1042,16 +1042,16 @@
 			</array>
 		</dict>
 		<dict>
+			<key>CFBundleTypeExtensions</key>
+			<array>
+				<string>mkv</string>
+			</array>
 			<key>CFBundleTypeIconFile</key>
 			<string>mkv.icns</string>
 			<key>CFBundleTypeName</key>
 			<string>Matroska Video File</string>
 			<key>CFBundleTypeRole</key>
 			<string>Viewer</string>
-			<key>LSItemContentTypes</key>
-			<array>
-				<string>org.matroska.mkv</string>
-			</array>
 		</dict>
 		<dict>
 			<key>CFBundleTypeExtensions</key>



More information about the vlc-commits mailing list