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

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


vlc | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Wed Feb 21 00:26:18 2018 +0100| [171c085bcbc7907ad8c6c46d0fea1b8f72856dcf] | 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

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

 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 43abf1c942..c3f033ab4e 100644
--- a/share/Info.plist.in
+++ b/share/Info.plist.in
@@ -1044,16 +1044,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