[vlc-commits] macosx: Info.plist: Move vlc extension to UTI

David Fuhrmann git at videolan.org
Sun Apr 2 11:54:30 CEST 2017


vlc | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Sun Apr  2 11:50:48 2017 +0200| [752052a392286cfd4b8d08520702097f0845e10a] | committer: David Fuhrmann

macosx: Info.plist: Move vlc extension to UTI

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

 share/Info.plist.in | 35 ++++++++++++++++++++++++++++-------
 1 file changed, 28 insertions(+), 7 deletions(-)

diff --git a/share/Info.plist.in b/share/Info.plist.in
index 1a1418e..95b097f 100644
--- a/share/Info.plist.in
+++ b/share/Info.plist.in
@@ -129,17 +129,12 @@
 			</array>
 		</dict>
 		<dict>
-			<key>CFBundleTypeExtensions</key>
+			<key>LSItemContentTypes</key>
 			<array>
-				<string>vlc</string>
+				<string>org.videolan.vlc</string>
 			</array>
 			<key>CFBundleTypeIconFile</key>
 			<string>playlist.icns</string>
-			<key>CFBundleTypeMIMETypes</key>
-			<array>
-				<string>application/x-videolan-vlc</string>
-				<string>application/videolan-vlc</string>
-			</array>
 			<key>CFBundleTypeName</key>
 			<string>VLC file</string>
 			<key>CFBundleTypeRole</key>
@@ -1524,6 +1519,32 @@
 	<string>http://update.videolan.org/vlc/sparkle/vlc-intel64.xml</string>
 	<key>SUPublicDSAKeyFile</key>
 	<string>dsa_pub.pem</string>
+	<key>UTExportedTypeDeclarations</key>
+	<array>
+		<dict>
+			<key>UTTypeDescription</key>
+			<string>VLC playlist file</string>
+			<key>UTTypeConformsTo</key>
+			<array>
+				<string>public.text</string>
+				<string>public.playlist</string>
+			</array>
+			<key>UTTypeIdentifier</key>
+			<string>org.videolan.vlc</string>
+			<key>UTTypeTagSpecification</key>
+			<dict>
+				<key>public.mime-type</key>
+				<array>
+					<string>application/x-videolan-vlc</string>
+					<string>application/videolan-vlc</string>
+				</array>
+				<key>public.filename-extension</key>
+				<array>
+					<string>vlc</string>
+				</array>
+			</dict>
+		</dict>
+	</array>
 	<key>UTImportedTypeDeclarations</key>
 	<array>
 		<dict>



More information about the vlc-commits mailing list