mirror of
https://github.com/storytold/filmcraft.git
synced 2026-10-24 10:10:05 -06:00
The desktop entry declared no MimeType and the shared-mime-info file was an empty stub, so no file manager listed FilmCraft under "Open With" for any file, and a double-clicked .fcproj had no type to open with. The app already handles both from the command line (`%F`): a project opens, media is imported (#850). - mime.xml: define application/x-filmcraft for *.fcproj, a JSON subclass with the app icon; the same name the macOS UTI declares in Info.plist.in. - Desktop entry: MimeType lists the project type and the video containers FilmCraft imports (MP4/M4V, QuickTime, Matroska, WebM, AVI, MXF, MPEG-TS, MPEG-PS, 3GP). Audio and stills are left out so an NLE doesn't crowd every image and song's Open With list. - AppStream: the metainfo <provides> the project type. - Flatpak bundle: the comment no longer says the MIME file has no types. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
13 lines
606 B
XML
13 lines
606 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!-- shared-mime-info definitions for types the system database doesn't have.
|
|
Installed to /usr/share/mime/packages/ (update-mime-database runs on install).
|
|
The type name matches the macOS UTI's public.mime-type in packaging/macos/Info.plist.in. -->
|
|
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
|
|
<mime-type type="application/x-filmcraft">
|
|
<comment>FilmCraft project</comment>
|
|
<sub-class-of type="application/json"/>
|
|
<icon name="ai.storyteller.filmcraft"/>
|
|
<glob pattern="*.fcproj"/>
|
|
</mime-type>
|
|
</mime-info>
|