[vlc-commits] Info.plist: add support for dvdmedia packages, which are essentially Video_TS dumps for Apple's DVD Player.app

Felix Paul Kühne git at videolan.org
Tue Feb 26 23:14:36 CET 2013


vlc/vlc-2.0 | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Tue Feb 26 23:09:24 2013 +0100| [37182a2adc7a6f9bfd9626cd9580a382b8ff6ac9] | committer: Felix Paul Kühne

Info.plist: add support for dvdmedia packages, which are essentially Video_TS dumps for Apple's DVD Player.app
(cherry picked from commit 6a4cd277610ed2e2186a582ad8a6522db1da3f0f)

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=37182a2adc7a6f9bfd9626cd9580a382b8ff6ac9
---

 NEWS                                |    3 ++-
 extras/package/macosx/Info.plist.in |   14 ++++++++++++++
 2 files changed, 16 insertions(+), 1 deletion(-)

diff --git a/NEWS b/NEWS
index 1ac4b6e..9c9bc6d 100644
--- a/NEWS
+++ b/NEWS
@@ -24,7 +24,8 @@ Mac OS X:
  * Fix crash within the video output code
  * Fix BDMV folder selection issue on OS X Mountain Lion, which treats such
    folders as a AVCHD file as soon as they include an item named INDEX.BDM
- * Fix bug which caused a hidden fullscreen panel 
+ * Fix bug which caused a hidden fullscreen panel
+ * Allow VLC to be associated with .dvdmedia packages
 
 Qt:
  * Fix clearing of Media Info panel on dialog exit
diff --git a/extras/package/macosx/Info.plist.in b/extras/package/macosx/Info.plist.in
index 7408ebb..441b220 100644
--- a/extras/package/macosx/Info.plist.in
+++ b/extras/package/macosx/Info.plist.in
@@ -42,6 +42,20 @@
 			<string>Viewer</string>
 		</dict>
 		<dict>
+            <key>CFBundleTypeExtensions</key>
+            <array>
+                <string>dvdmedia</string>
+            </array>
+            <key>CFBundleTypeIconFile</key>
+            <string>movie.icns</string>
+            <key>CFBundleTypeName</key>
+            <string>DVD Media Document</string>
+            <key>CFBundleTypeRole</key>
+            <string>Editor</string>
+            <key>LSTypeIsPackage</key>
+            <true/>
+        </dict>
+		<dict>
 			<key>CFBundleTypeExtensions</key>
 			<array>
 				<string>xspf</string>



More information about the vlc-commits mailing list