File types

The mime.conf configures the file types the system deals with, what should be the snapshot type when checking in a file of specific type, and how to and what are the file types of sound, pic, video… etc.

The file has the following entries:

files_types:

A list of dict pairs of snapshot type and files extensions list, the way that the snapshot type will be set to the key representing the extension of the file being published. the way that querying later for example the “maya” type of a snapshot will return the maya scene regardless if it is .ma or .mb and so on.

dir_types:

Same as files_types but used when publishing folders.

Note: Folders in NReal Pipeline should have extensions like files, publishing folders without extension is reserved for the system internal use, for example: putting .exr extension to the folder means that the folder contains exr files or sequence(s) of exr (and can also be mixed). The extensions to be given is upto the user and doesn’t matter what they are, but it’s good to know that the following extensions has special meanings by the system: .media or .preview: will be played back as media when requesting *review or play all media files in task manager (this is in addition *to the given list under media.types .img: are the source images files used during the any none-texture and none-lookdev task, for example the .img is being used by the system to hold a hair system density and length maps or light gobos

media:

types: the snapshot types that should be considered as media when requesting previewing them or loading them for editorial. app: the application to be used for playback the media. review_app: the application to be used when request sending the media files of a task to a review system (like rv or hiero or any other in house tool a studio might have). edit_app: the application to be used when request loading the media for editing purpose (in case of loading dependencies for editing tasks).

geo:

types: the geometry file types (and snapshot types) that should be considered as geometry objects or geo caches. app: the application to be used for playing back geo cache files like usdview or abcview.

video_capture:

a list of screen capture resolutions the user can select from them when requesting record the desktop by Task Manger through the notes window so they can be attached with the note.

Example File:

{
    "files_types": [
                    {"maya"    : ["ma", "mb"]},
                    {"mel"     : ["mel"]},
                    {"katana"  : ["katana"]},
                    {"nuke"    : ["nk"]},
                    {"hiero"   : ["hrox"]},
                    {"premiere": ["ppj", "prproj"]},
                    {"alembic" : ["abc"]},
                    {"usd"     : ["usd", "usda", "usdb", "usdc"]},
                    {"houdini" : ["hip"]},
                    {"picture" : ["exr", "jpg", "png", "tif", "dpx", "cin"]},
                    {"video"   : ["avi", "mov", "mp4", "mkv", "mpeg", "mjpeg", "mpg"]},
                    {"sound"   : ["mp3", "aiff", "wav", "ac3"]},
                    {"media"   : ["exr", "jpg", "png", "tif", "dpx", "cin", "avi", "mov", "mp4", "mkv", "mpeg", "mjpeg", "mpg", "mp3", "aiff", "wav", "ac3"]}
                    ],
    "dir_types": [
                    {"sound_dir" : ["wav", "ac3", "mp3", "aiff"]},
                    {"img_dir" : ["img"]},
                    {"vdb_dir" : ["vdb"]},
                    {"yeti"    : ["fur"]},
                    {"rib_dir" : ["rib"]},
                    {"ass_dir" : ["ass"]},
                    {"preview" : ["preview"]},
                    {"review"  : ["review"]},
                    {"lens_dir": ["lens"]},
                    {"seq_dir" : ["exr", "dpx", "jpg", "tif", "png", "seq"]}
                 ],
    "media":
        {
            "types": ["exr", "jpg", "png", "tif", "dpx", "cin", "avi", "mov", "mp4", "mkv", "mpeg", "mjpeg", "mpg", "tx", "tex", "seq_dir", "sound_dir", "wav", "mp3", "media"],
            "app"  : "rv -tile",
            "review_app": "rv -tile",
            "edit_app": "hero"
        },
    "geo":
        {
            "types": ["abc", "usd", "usda", "usdb", "usdc", "obj"],
            "app": "usdview"
        },
    "video_capture": ["1920x1080", "1440x720", "1024x576", "960x540", "720x405", "600x338"]
}