[vlc-devel] [PATCH 2/3] macosx: Add DAV file extension association

Marvin Scholz epirat07 at gmail.com
Wed Dec 4 23:43:46 CET 2019


Thanks, indeed forgot about that. We probably should autogenerate this
from a bit simpler to edit list than this XML stuff at some point.

On 4 Dec 2019, at 20:28, David Fuhrmann wrote:

>> Am 04.12.2019 um 15:19 schrieb Marvin Scholz <epirat07 at gmail.com>:
>>
>> ---
>> share/Info.plist.in | 17 +++++++++++++++++
>> 1 file changed, 17 insertions(+)
>>
>> diff --git a/share/Info.plist.in b/share/Info.plist.in
>> index c1a9939a8b..d17851a9fc 100644
>> --- a/share/Info.plist.in
>> +++ b/share/Info.plist.in
>> @@ -2380,6 +2380,23 @@
>> 				</array>
>> 			</dict>
>> 		</dict>
>> +		<dict>
>> +			<key>UTTypeConformsTo</key>
>> +			<array>
>> +				<string>public.video</string>
>> +			</array>
>> +			<key>UTTypeDescription</key>
>> +			<string>DAV Video File</string>
>> +			<key>UTTypeIdentifier</key>
>> +			<string>org.videolan.dav</string>
>> +			<key>UTTypeTagSpecification</key>
>> +			<dict>
>> +				<key>public.filename-extension</key>
>> +				<array>
>> +					<string>dav</string>
>> +				</array>
>> +			</dict>
>> +		</dict>
>
> Hi Marvin,
>
> If I am not mistaken, to add a new file ending in Info.plist, you need 
> to change two sections, both the UTImportedTypeDeclarations section 
> you seem to touch here, but the CFBundleDocumentTypes as well.
>
> I think one of the clean examples how this should be done is the vlc 
> file ending (org.videolan.vlc type declaration).
>
> BR. David
>
>> 		<dict>
>> 			<key>UTTypeConformsTo</key>
>> 			<array>
>> -- 
>> 2.20.1 (Apple Git-117)
>>
>> _______________________________________________
>> vlc-devel mailing list
>> To unsubscribe or modify your subscription options:
>> https://mailman.videolan.org/listinfo/vlc-devel
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel


More information about the vlc-devel mailing list