Changeset 1126


Ignore:
Timestamp:
08/25/09 12:47:44 (5 years ago)
Author:
astrange
Message:

Add a opener app so we have something to define public.movie UTI for new file types.

Refs #163.

Location:
trunk
Files:
5 added
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/CPFPerianPrefPaneController.h

    r1040 r1126  
    2929 
    3030#define ComponentInfoDictionaryKey      @"Components" 
     31#define AppsToRegisterDictionaryKey @"ApplicationsToRegister" 
    3132 
    3233#define BundleVersionKey @"CFBundleVersion" 
  • trunk/CPFPerianPrefPaneController.m

    r1097 r1126  
    652652} 
    653653 
     654- (void)lsRegisterApps 
     655{ 
     656        NSString *resourcePath = [[self bundle] resourcePath]; 
     657        NSDictionary *infoDict = [self myInfoDict]; 
     658        NSDictionary *apps = [infoDict objectForKey:AppsToRegisterDictionaryKey]; 
     659         
     660        NSEnumerator *appEnum = [apps objectEnumerator]; 
     661        NSString *app = nil; 
     662 
     663        while ((app = [appEnum nextObject])) 
     664        { 
     665                NSURL *url = [NSURL fileURLWithPath:[resourcePath stringByAppendingPathComponent:app]]; 
     666                 
     667                LSRegisterURL((CFURLRef)url, true); 
     668        } 
     669} 
     670 
    654671- (void)install:(id)sender 
    655672{ 
     
    696713                auth = nil; 
    697714        } 
     715         
     716        [self lsRegisterApps]; 
     717         
    698718        [self performSelectorOnMainThread:@selector(installComplete:) withObject:nil waitUntilDone:NO]; 
    699719        [pool release]; 
  • trunk/Perian.xcodeproj/project.pbxproj

    r1125 r1126  
    8282                }; 
    8383/* End PBXAggregateTarget section */ 
     84 
     85/* Begin PBXAppleScriptBuildPhase section */ 
     86                3DE8D6FA1044447E0007C7E7 /* AppleScript */ = { 
     87                        isa = PBXAppleScriptBuildPhase; 
     88                        buildActionMask = 2147483647; 
     89                        contextName = ""; 
     90                        files = ( 
     91                                3DE8D6F9104444690007C7E7 /* Application.applescript in AppleScript */, 
     92                        ); 
     93                        isSharedContext = 0; 
     94                        runOnlyForDeploymentPostprocessing = 0; 
     95                }; 
     96/* End PBXAppleScriptBuildPhase section */ 
    8497 
    8598/* Begin PBXBuildFile section */ 
     
    160173                3DD34C791019B16A006905AB /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 089C167EFE841241C02AAC07 /* InfoPlist.strings */; }; 
    161174                3DE8D6C31043BE350007C7E7 /* Perian_icon.icns in Resources */ = {isa = PBXBuildFile; fileRef = 83D1D6F40B4C85AB00E09EC9 /* Perian_icon.icns */; }; 
     175                3DE8D6F1104444420007C7E7 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 3DE8D6EF104444420007C7E7 /* main.m */; }; 
     176                3DE8D6F9104444690007C7E7 /* Application.applescript in AppleScript */ = {isa = PBXBuildFile; fileRef = 3DE8D6EE104444420007C7E7 /* Application.applescript */; settings = {ATTRIBUTES = (Debug, ); }; }; 
     177                3DE8D74F10444A6E0007C7E7 /* OpenerMainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 3DE8D74E10444A6E0007C7E7 /* OpenerMainMenu.xib */; }; 
     178                3DE8D78510444E500007C7E7 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 11629EEA0B51E4F1006591C8 /* Cocoa.framework */; }; 
     179                3DE8D9C910444E680007C7E7 /* AppleScriptKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DE8D9C810444E680007C7E7 /* AppleScriptKit.framework */; }; 
     180                3DE8D9D5104451A80007C7E7 /* Perian - Open in QT Player.app in Resources */ = {isa = PBXBuildFile; fileRef = 3DE8D6DE104440F60007C7E7 /* Perian - Open in QT Player.app */; }; 
    162181                6116E5510B43C27B0020F1CE /* ACBaseCodec.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 6116E5370B43C27B0020F1CE /* ACBaseCodec.cpp */; }; 
    163182                6116E5520B43C27B0020F1CE /* ACCodec.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 6116E5390B43C27B0020F1CE /* ACCodec.cpp */; }; 
     
    402421                        remoteInfo = universaldetector; 
    403422                }; 
     423                3DE8D9CD1044501E0007C7E7 /* PBXContainerItemProxy */ = { 
     424                        isa = PBXContainerItemProxy; 
     425                        containerPortal = 089C1669FE841209C02AAC07 /* Project object */; 
     426                        proxyType = 1; 
     427                        remoteGlobalIDString = 3DE8D6DD104440F60007C7E7; 
     428                        remoteInfo = "Perian Opener"; 
     429                }; 
    404430                61CB120F0ACE0FB1007994BD /* PBXContainerItemProxy */ = { 
    405431                        isa = PBXContainerItemProxy; 
     
    613639                3DB2BB270B6C92F000416863 /* SubATSUIRenderer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SubATSUIRenderer.h; path = Subtitles/SubATSUIRenderer.h; sourceTree = "<group>"; }; 
    614640                3DB2BB280B6C92F000416863 /* SubATSUIRenderer.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = SubATSUIRenderer.m; path = Subtitles/SubATSUIRenderer.m; sourceTree = "<group>"; }; 
     641                3DE8D6DE104440F60007C7E7 /* Perian - Open in QT Player.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Perian - Open in QT Player.app"; sourceTree = BUILT_PRODUCTS_DIR; }; 
     642                3DE8D6EE104444420007C7E7 /* Application.applescript */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.applescript; path = Application.applescript; sourceTree = "<group>"; }; 
     643                3DE8D6EF104444420007C7E7 /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; }; 
     644                3DE8D6F0104444420007C7E7 /* PerianOpener-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = "PerianOpener-Info.plist"; path = "Plists/PerianOpener-Info.plist"; sourceTree = "<group>"; }; 
     645                3DE8D74E10444A6E0007C7E7 /* OpenerMainMenu.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = OpenerMainMenu.xib; path = Opener/OpenerMainMenu.xib; sourceTree = "<group>"; }; 
     646                3DE8D9C810444E680007C7E7 /* AppleScriptKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppleScriptKit.framework; path = /System/Library/Frameworks/AppleScriptKit.framework; sourceTree = "<absolute>"; }; 
    615647                6116E5370B43C27B0020F1CE /* ACBaseCodec.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = ACBaseCodec.cpp; sourceTree = "<group>"; }; 
    616648                6116E5380B43C27B0020F1CE /* ACBaseCodec.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = ACBaseCodec.h; sourceTree = "<group>"; }; 
     
    773805                8F483B8B0A642886002CCA73 /* PerianAviImporter.r */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.rez; path = PerianAviImporter.r; sourceTree = "<group>"; }; 
    774806                8F483BBC0A642B3D002CCA73 /* ff_MovieImportDispatch.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ff_MovieImportDispatch.h; sourceTree = "<group>"; }; 
    775                 F50E79F41014F61B00D3E6FF /* codecResources.r.m4 */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = codecResources.r.m4; sourceTree = "<group>"; }; 
     807                F50E79F41014F61B00D3E6FF /* codecResources.r.m4 */ = {isa = PBXFileReference; explicitFileType = sourcecode.c; fileEncoding = 4; path = codecResources.r.m4; sourceTree = "<group>"; }; 
    776808                F50E79F51014F61B00D3E6FF /* codecID.c.m4 */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = codecID.c.m4; sourceTree = "<group>"; }; 
    777809                F52286240B50625E00F8CF7D /* bitstream_info.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = bitstream_info.h; sourceTree = "<group>"; }; 
     
    786818                F57755F40B51EB1800C7D833 /* CoreFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreFoundation.framework; path = /System/Library/Frameworks/CoreFoundation.framework; sourceTree = "<absolute>"; }; 
    787819                F59B2AB81007A0D000FAAAD8 /* PerianResources.r */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.rez; path = PerianResources.r; sourceTree = "<group>"; }; 
    788                 F5C89F8110220B2F0032D02A /* codecList.m4 */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = codecList.m4; sourceTree = "<group>"; }; 
    789                 F5C89FC410220C800032D02A /* defines.m4 */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = defines.m4; sourceTree = "<group>"; }; 
    790                 F5C89FC510220C800032D02A /* PerianResourceIDs.h.m4 */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = PerianResourceIDs.h.m4; sourceTree = "<group>"; }; 
     820                F5C89F8110220B2F0032D02A /* codecList.m4 */ = {isa = PBXFileReference; explicitFileType = sourcecode.c; fileEncoding = 4; path = codecList.m4; sourceTree = "<group>"; }; 
     821                F5C89FC410220C800032D02A /* defines.m4 */ = {isa = PBXFileReference; explicitFileType = sourcecode.c; fileEncoding = 4; path = defines.m4; sourceTree = "<group>"; }; 
     822                F5C89FC510220C800032D02A /* PerianResourceIDs.h.m4 */ = {isa = PBXFileReference; explicitFileType = sourcecode.c; fileEncoding = 4; path = PerianResourceIDs.h.m4; sourceTree = "<group>"; }; 
    791823                F5CFD1B40B50009000616865 /* PerianPanePListGenerator */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = PerianPanePListGenerator; sourceTree = BUILT_PRODUCTS_DIR; }; 
    792824                F5CFD1BD0B5000CE00616865 /* GBPerianPanePListGenerator.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GBPerianPanePListGenerator.m; sourceTree = "<group>"; }; 
     
    864896                        runOnlyForDeploymentPostprocessing = 0; 
    865897                }; 
     898                3DE8D6DC104440F60007C7E7 /* Frameworks */ = { 
     899                        isa = PBXFrameworksBuildPhase; 
     900                        buildActionMask = 2147483647; 
     901                        files = ( 
     902                                3DE8D78510444E500007C7E7 /* Cocoa.framework in Frameworks */, 
     903                                3DE8D9C910444E680007C7E7 /* AppleScriptKit.framework in Frameworks */, 
     904                        ); 
     905                        runOnlyForDeploymentPostprocessing = 0; 
     906                }; 
    866907                61CB10FD0ACDF350007994BD /* Frameworks */ = { 
    867908                        isa = PBXFrameworksBuildPhase; 
     
    917958                        isa = PBXGroup; 
    918959                        children = ( 
     960                                3DE8D9C810444E680007C7E7 /* AppleScriptKit.framework */, 
    919961                                3D802F8510336EE90034BF4A /* ApplicationServices.framework */, 
    920962                                3DAD0A110FBFB145001E156F /* libstdc++.6.dylib */, 
     
    945987                                11A709DA0A3CFCB6002058D4 /* Perian-Info.plist */, 
    946988                                83D1D6C90B4C794800E09EC9 /* PerianPane-Info.plist */, 
     989                                3DE8D6F0104444420007C7E7 /* PerianOpener-Info.plist */, 
    947990                                116C42540B5041BD00FB0738 /* PerianUpdateChecker-Info.plist */, 
    948991                                F5C89FC410220C800032D02A /* defines.m4 */, 
     
    952995                                11207C720C2F4A4E002A0FF0 /* ComponentInfo.plist */, 
    953996                                11BEFB2C0C18E23E00BC9324 /* Read Me.rtf */, 
     997                                3DE8D74E10444A6E0007C7E7 /* OpenerMainMenu.xib */, 
    954998                                3DAD0AC00FC1365E001E156F /* UpdateCheckerMainMenu.nib */, 
    955999                                83D1D6F40B4C85AB00E09EC9 /* Perian_icon.icns */, 
     
    9701014                        children = ( 
    9711015                                116C425C0B50420D00FB0738 /* Update Checker Sources */, 
     1016                                3DE8D6ED104444420007C7E7 /* Opener */, 
    9721017                                83D1D6DF0B4C81E000E09EC9 /* PrefPane */, 
    9731018                                F53AD5E20B2A4EC000D93AC9 /* FFMPEG */, 
     
    10371082                                3DAD09A80FBFAB08001E156F /* detect-encoding */, 
    10381083                                3D802EBB1032B8B00034BF4A /* ssa2pdf */, 
     1084                                3DE8D6DE104440F60007C7E7 /* Perian - Open in QT Player.app */, 
    10391085                        ); 
    10401086                        name = Products; 
     
    10491095                        ); 
    10501096                        name = Products; 
     1097                        sourceTree = "<group>"; 
     1098                }; 
     1099                3DE8D6ED104444420007C7E7 /* Opener */ = { 
     1100                        isa = PBXGroup; 
     1101                        children = ( 
     1102                                3DE8D6EE104444420007C7E7 /* Application.applescript */, 
     1103                                3DE8D6EF104444420007C7E7 /* main.m */, 
     1104                        ); 
     1105                        path = Opener; 
    10511106                        sourceTree = "<group>"; 
    10521107                }; 
     
    15181573                        productType = "com.apple.product-type.tool"; 
    15191574                }; 
     1575                3DE8D6DD104440F60007C7E7 /* PerianOpener */ = { 
     1576                        isa = PBXNativeTarget; 
     1577                        buildConfigurationList = 3DE8D6E4104440F70007C7E7 /* Build configuration list for PBXNativeTarget "PerianOpener" */; 
     1578                        buildPhases = ( 
     1579                                3DE8D6FA1044447E0007C7E7 /* AppleScript */, 
     1580                                3DE8D6DA104440F60007C7E7 /* Resources */, 
     1581                                3DE8D6DB104440F60007C7E7 /* Sources */, 
     1582                                3DE8D6DC104440F60007C7E7 /* Frameworks */, 
     1583                        ); 
     1584                        buildRules = ( 
     1585                        ); 
     1586                        dependencies = ( 
     1587                        ); 
     1588                        name = PerianOpener; 
     1589                        productName = "Perian Opener"; 
     1590                        productReference = 3DE8D6DE104440F60007C7E7 /* Perian - Open in QT Player.app */; 
     1591                        productType = "com.apple.product-type.application"; 
     1592                }; 
    15201593                61CB10FE0ACDF350007994BD /* ebml */ = { 
    15211594                        isa = PBXNativeTarget; 
     
    15681641                                F5CFD25E0B500B9400616865 /* PBXTargetDependency */, 
    15691642                                F5EB82360BA72208001064E5 /* PBXTargetDependency */, 
     1643                                3DE8D9CE1044501E0007C7E7 /* PBXTargetDependency */, 
    15701644                        ); 
    15711645                        name = PerianPane; 
     
    16341708                                3DAD09A70FBFAB08001E156F /* detect-encoding */, 
    16351709                                3D802EA61032B8B00034BF4A /* ssa2pdf */, 
     1710                                3DE8D6DD104440F60007C7E7 /* PerianOpener */, 
    16361711                        ); 
    16371712                }; 
     
    17031778                        runOnlyForDeploymentPostprocessing = 0; 
    17041779                }; 
     1780                3DE8D6DA104440F60007C7E7 /* Resources */ = { 
     1781                        isa = PBXResourcesBuildPhase; 
     1782                        buildActionMask = 2147483647; 
     1783                        files = ( 
     1784                                3DE8D74F10444A6E0007C7E7 /* OpenerMainMenu.xib in Resources */, 
     1785                        ); 
     1786                        runOnlyForDeploymentPostprocessing = 0; 
     1787                }; 
    17051788                83D1D6C40B4C794700E09EC9 /* Resources */ = { 
    17061789                        isa = PBXResourcesBuildPhase; 
     
    17121795                                11207C730C2F4A4E002A0FF0 /* ComponentInfo.plist in Resources */, 
    17131796                                3DAD0AAC0FC133E7001E156F /* PerianPrefPane.xib in Resources */, 
     1797                                3DE8D9D5104451A80007C7E7 /* Perian - Open in QT Player.app in Resources */, 
    17141798                        ); 
    17151799                        runOnlyForDeploymentPostprocessing = 0; 
     
    19101994                        runOnlyForDeploymentPostprocessing = 0; 
    19111995                }; 
     1996                3DE8D6DB104440F60007C7E7 /* Sources */ = { 
     1997                        isa = PBXSourcesBuildPhase; 
     1998                        buildActionMask = 2147483647; 
     1999                        files = ( 
     2000                                3DE8D6F1104444420007C7E7 /* main.m in Sources */, 
     2001                        ); 
     2002                        runOnlyForDeploymentPostprocessing = 0; 
     2003                }; 
    19122004                61CB10FC0ACDF350007994BD /* Sources */ = { 
    19132005                        isa = PBXSourcesBuildPhase; 
     
    20132105                        name = universaldetector; 
    20142106                        targetProxy = 3DB3517E0BCF004B009357B8 /* PBXContainerItemProxy */; 
     2107                }; 
     2108                3DE8D9CE1044501E0007C7E7 /* PBXTargetDependency */ = { 
     2109                        isa = PBXTargetDependency; 
     2110                        target = 3DE8D6DD104440F60007C7E7 /* PerianOpener */; 
     2111                        targetProxy = 3DE8D9CD1044501E0007C7E7 /* PBXContainerItemProxy */; 
    20152112                }; 
    20162113                61CB12100ACE0FB1007994BD /* PBXTargetDependency */ = { 
     
    25692666                                PRODUCT_NAME = "detect-encoding"; 
    25702667                                SDKROOT = ""; 
     2668                        }; 
     2669                        name = "Deployment+Debug"; 
     2670                }; 
     2671                3DE8D6E1104440F70007C7E7 /* Development */ = { 
     2672                        isa = XCBuildConfiguration; 
     2673                        buildSettings = { 
     2674                                ALWAYS_SEARCH_USER_PATHS = NO; 
     2675                                COPY_PHASE_STRIP = NO; 
     2676                                GCC_DYNAMIC_NO_PIC = YES; 
     2677                                GCC_OPTIMIZATION_LEVEL = 0; 
     2678                                GCC_PRECOMPILE_PREFIX_HEADER = YES; 
     2679                                GCC_PREFIX_HEADER = "$(SYSTEM_LIBRARY_DIR)/Frameworks/AppKit.framework/Headers/AppKit.h"; 
     2680                                INFOPLIST_FILE = "Plists/PerianOpener-Info.plist"; 
     2681                                INSTALL_PATH = "$(HOME)/Applications"; 
     2682                                PRODUCT_NAME = "Perian - Open in QT Player"; 
     2683                        }; 
     2684                        name = Development; 
     2685                }; 
     2686                3DE8D6E2104440F70007C7E7 /* Deployment */ = { 
     2687                        isa = XCBuildConfiguration; 
     2688                        buildSettings = { 
     2689                                ALWAYS_SEARCH_USER_PATHS = NO; 
     2690                                COPY_PHASE_STRIP = YES; 
     2691                                GCC_DYNAMIC_NO_PIC = YES; 
     2692                                GCC_PRECOMPILE_PREFIX_HEADER = YES; 
     2693                                GCC_PREFIX_HEADER = "$(SYSTEM_LIBRARY_DIR)/Frameworks/AppKit.framework/Headers/AppKit.h"; 
     2694                                INFOPLIST_FILE = "Plists/PerianOpener-Info.plist"; 
     2695                                INSTALL_PATH = "$(HOME)/Applications"; 
     2696                                PRODUCT_NAME = "Perian - Open in QT Player"; 
     2697                        }; 
     2698                        name = Deployment; 
     2699                }; 
     2700                3DE8D6E3104440F70007C7E7 /* Deployment+Debug */ = { 
     2701                        isa = XCBuildConfiguration; 
     2702                        buildSettings = { 
     2703                                ALWAYS_SEARCH_USER_PATHS = NO; 
     2704                                GCC_DYNAMIC_NO_PIC = YES; 
     2705                                GCC_PRECOMPILE_PREFIX_HEADER = YES; 
     2706                                GCC_PREFIX_HEADER = "$(SYSTEM_LIBRARY_DIR)/Frameworks/AppKit.framework/Headers/AppKit.h"; 
     2707                                INFOPLIST_FILE = "Plists/PerianOpener-Info.plist"; 
     2708                                INSTALL_PATH = "$(HOME)/Applications"; 
     2709                                PRODUCT_NAME = "Perian - Open in QT Player"; 
    25712710                        }; 
    25722711                        name = "Deployment+Debug"; 
     
    29013040                        defaultConfigurationName = "Deployment+Debug"; 
    29023041                }; 
     3042                3DE8D6E4104440F70007C7E7 /* Build configuration list for PBXNativeTarget "PerianOpener" */ = { 
     3043                        isa = XCConfigurationList; 
     3044                        buildConfigurations = ( 
     3045                                3DE8D6E1104440F70007C7E7 /* Development */, 
     3046                                3DE8D6E2104440F70007C7E7 /* Deployment */, 
     3047                                3DE8D6E3104440F70007C7E7 /* Deployment+Debug */, 
     3048                        ); 
     3049                        defaultConfigurationIsVisible = 0; 
     3050                        defaultConfigurationName = "Deployment+Debug"; 
     3051                }; 
    29033052                61CB11030ACDF37C007994BD /* Build configuration list for PBXNativeTarget "ebml" */ = { 
    29043053                        isa = XCConfigurationList; 
  • trunk/Plists/Perian-Info.plist

    r1125 r1126  
    55        <key>CFBundleDevelopmentRegion</key> 
    66        <string>English</string> 
    7         <key>CFBundleDocumentTypes</key> 
    8         <array> 
    9                 <dict> 
    10                         <key>CFBundleTypeExtensions</key> 
    11                         <array> 
    12                                 <string>mkv</string> 
    13                                 <string>mka</string> 
    14                         </array> 
    15                         <key>CFBundleTypeMIMETypes</key> 
    16                         <array> 
    17                                 <string>video/x-matroska</string> 
    18                                 <string>audio/x-matroska</string> 
    19                         </array> 
    20                         <key>CFBundleTypeName</key> 
    21                         <string>Matroska video</string> 
    22                         <key>CFBundleTypeOSTypes</key> 
    23                         <array> 
    24                                 <string>MKV </string> 
    25                                 <string>MKA </string> 
    26                         </array> 
    27                         <key>CFBundleTypeRole</key> 
    28                         <string>Viewer</string> 
    29                         <key>LSItemContentTypes</key> 
    30                         <array> 
    31                                 <string>org.perian.matroska</string> 
    32                         </array> 
    33                         <key>LSTypeIsPackage</key> 
    34                         <false/> 
    35                 </dict> 
    36                 <dict> 
    37                         <key>CFBundleTypeExtensions</key> 
    38                         <array> 
    39                                 <string>flv</string> 
    40                         </array> 
    41                         <key>CFBundleTypeMIMETypes</key> 
    42                         <array> 
    43                                 <string>video/x-flv</string> 
    44                         </array> 
    45                         <key>CFBundleTypeName</key> 
    46                         <string>Flash Video</string> 
    47                         <key>CFBundleTypeOSTypes</key> 
    48                         <array> 
    49                                 <string>FLV </string> 
    50                         </array> 
    51                         <key>CFBundleTypeRole</key> 
    52                         <string>Viewer</string> 
    53                         <key>LSItemContentTypes</key> 
    54                         <array> 
    55                                 <string>org.perian.flash-video</string> 
    56                         </array> 
    57                         <key>LSTypeIsPackage</key> 
    58                         <false/> 
    59                 </dict> 
    60                 <dict> 
    61                         <key>CFBundleTypeExtensions</key> 
    62                         <array> 
    63                                 <string>nuv</string> 
    64                         </array> 
    65                         <key>CFBundleTypeMIMETypes</key> 
    66                         <array> 
    67                                 <string>audio/x-nuv</string> 
    68                         </array> 
    69                         <key>CFBundleTypeName</key> 
    70                         <string>NuppelVideo Movie</string> 
    71                         <key>CFBundleTypeOSTypes</key> 
    72                         <array> 
    73                                 <string>NUV </string> 
    74                         </array> 
    75                         <key>CFBundleTypeRole</key> 
    76                         <string>Viewer</string> 
    77                         <key>LSItemContentTypes</key> 
    78                         <array> 
    79                                 <string>org.perian.nuppelvideo</string> 
    80                         </array> 
    81                         <key>LSTypeIsPackage</key> 
    82                         <false/> 
    83                 </dict> 
    84                 <dict> 
    85                         <key>CFBundleTypeExtensions</key> 
    86                         <array> 
    87                                 <string>tta</string> 
    88                         </array> 
    89                         <key>CFBundleTypeMIMETypes</key> 
    90                         <array> 
    91                                 <string>audio/x-tta</string> 
    92                         </array> 
    93                         <key>CFBundleTypeName</key> 
    94                         <string>True Audio</string> 
    95                         <key>CFBundleTypeOSTypes</key> 
    96                         <array> 
    97                                 <string>TTA </string> 
    98                         </array> 
    99                         <key>CFBundleTypeRole</key> 
    100                         <string>Viewer</string> 
    101                         <key>LSItemContentTypes</key> 
    102                         <array> 
    103                                 <string>org.perian.true-audio</string> 
    104                         </array> 
    105                         <key>LSTypeIsPackage</key> 
    106                         <false/> 
    107                 </dict> 
    108         </array> 
    1097        <key>CFBundleExecutable</key> 
    1108        <string>Perian</string> 
     
    12725        <key>CSResourcesFileMapped</key> 
    12826        <string>yes</string> 
    129         <key>UTImportedTypeDeclarations</key> 
    130         <array> 
    131                 <dict> 
    132                         <key>UTTypeConformsTo</key> 
    133                         <array> 
    134                                 <string>public.movie</string> 
    135                         </array> 
    136                         <key>UTTypeDescription</key> 
    137                         <string>Matroska video</string> 
    138                         <key>UTTypeIdentifier</key> 
    139                         <string>org.perian.matroska</string> 
    140                         <key>UTTypeReferenceURL</key> 
    141                         <string>http://www.matroska.org/</string> 
    142                         <key>UTTypeTagSpecification</key> 
    143                         <dict> 
    144                                 <key>public.filename-extension</key> 
    145                                 <array> 
    146                                         <string>mkv</string> 
    147                                 </array> 
    148                         </dict> 
    149                 </dict> 
    150                 <dict> 
    151                         <key>UTTypeConformsTo</key> 
    152                         <array> 
    153                                 <string>public.movie</string> 
    154                         </array> 
    155                         <key>UTTypeDescription</key> 
    156                         <string>Flash Video</string> 
    157                         <key>UTTypeIdentifier</key> 
    158                         <string>org.perian.flash-video</string> 
    159                         <key>UTTypeReferenceURL</key> 
    160                         <string>http://www.adobe.com/devnet/flv/</string> 
    161                         <key>UTTypeTagSpecification</key> 
    162                         <dict> 
    163                                 <key>public.filename-extension</key> 
    164                                 <array> 
    165                                         <string>flv</string> 
    166                                 </array> 
    167                         </dict> 
    168                 </dict> 
    169                 <dict> 
    170                         <key>UTTypeConformsTo</key> 
    171                         <array> 
    172                                 <string>public.movie</string> 
    173                         </array> 
    174                         <key>UTTypeDescription</key> 
    175                         <string>NuppelVideo Movie</string> 
    176                         <key>UTTypeIdentifier</key> 
    177                         <string>org.perian.nuppelvideo</string> 
    178                         <key>UTTypeReferenceURL</key> 
    179                         <string>http://www.mythtv.org/wiki/NuppelVideo</string> 
    180                         <key>UTTypeTagSpecification</key> 
    181                         <dict> 
    182                                 <key>public.filename-extension</key> 
    183                                 <array> 
    184                                         <string>nuv</string> 
    185                                 </array> 
    186                         </dict> 
    187                 </dict> 
    188                 <dict> 
    189                         <key>UTTypeConformsTo</key> 
    190                         <array> 
    191                                 <string>public.audio</string> 
    192                         </array> 
    193                         <key>UTTypeDescription</key> 
    194                         <string>TrueAudio file</string> 
    195                         <key>UTTypeIdentifier</key> 
    196                         <string>org.perian.true-audio</string> 
    197                         <key>UTTypeReferenceURL</key> 
    198                         <string>http://www.true-audio.com/</string> 
    199                         <key>UTTypeTagSpecification</key> 
    200                         <dict> 
    201                                 <key>public.filename-extension</key> 
    202                                 <array> 
    203                                         <string>tta</string> 
    204                                 </array> 
    205                         </dict> 
    206                 </dict> 
    207         </array> 
    20827</dict> 
    20928</plist> 
  • trunk/Plists/PerianPane-Info.plist

    r1092 r1126  
    11<?xml version="1.0" encoding="UTF-8"?> 
    2 <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> 
     2<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> 
    33<plist version="1.0"> 
    44<dict> 
    55        <key>CFBundleDevelopmentRegion</key> 
    66        <string>English</string> 
    7         <key>CFBundleDocumentTypes</key> 
    8         <array> 
    9                 <dict> 
    10                         <key>CFBundleTypeName</key> 
    11                         <string>MyDocumentType</string> 
    12                         <key>CFBundleTypeRole</key> 
    13                         <string>Editor</string> 
    14                         <key>LSTypeIsPackage</key> 
    15                         <false/> 
    16                         <key>NSPersistentStoreTypeKey</key> 
    17                         <string>XML</string> 
    18                 </dict> 
    19         </array> 
    207        <key>CFBundleExecutable</key> 
    218        <string>${EXECUTABLE_NAME}</string> 
     
    4229        <key>NSPrincipalClass</key> 
    4330        <string>CPFPerianPrefPaneController</string> 
     31        <key>ApplicationsToRegister</key> 
     32        <array> 
     33                <string>Perian - Open in QT Player.app</string> 
     34        </array> 
    4435</dict> 
    4536</plist> 
Note: See TracChangeset for help on using the changeset viewer.