Skip to content

Commit 959202b

Browse files
committed
Implement support for file rules.
Signed-off-by: Thomas Mansencal <[email protected]>
1 parent d26d4c8 commit 959202b

File tree

1 file changed

+13
-2
lines changed
  • opencolorio_config_aces/config/reference/generate

1 file changed

+13
-2
lines changed

opencolorio_config_aces/config/reference/generate/config.py

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1348,9 +1348,20 @@ def ordering(element: str) -> int:
13481348
active_views=[*active_views, "Un-tone-mapped", "Video (colorimetric)", "Raw"],
13491349
file_rules=[
13501350
{
1351-
"name": "Default",
1351+
"name": "EXR",
13521352
"colorspace": scene_reference_colorspace["name"],
1353-
}
1353+
"pattern": "*",
1354+
"extension": "exr",
1355+
},
1356+
{
1357+
"name": "Movies",
1358+
"colorspace": "Rec.1886 Rec.709 - Display",
1359+
"regex": ".*\\.([mM][pP]4|[mM][oO][vV]|[mM][xX][fF])$",
1360+
},
1361+
{
1362+
"name": "Default",
1363+
"colorspace": "sRGB - Display",
1364+
},
13541365
],
13551366
viewing_rules=[
13561367
{"name": "Any Scene-linear or Log", "encodings": ["log", "scene-linear"]},

0 commit comments

Comments
 (0)