Alternatively, would being able to specify a numeric index help this? E.g cccid: "idx:0"
Maybe some kind of config option to enable this and/or a default id to search for?
I would hope once we implement the plugin API I would hope that we could write a (reference) database transform to store most of this in. Leaving .ccc as a serialisation format of this data.
.malcolm
Hm... good points.Ok - so let's drop the idea of using a default cccid. Too dangerous.But I'm starting to really like being able to also specify a <ColorCorrection> by index. Such as cccid = 'idx:0' to pick the 0th cc, or even ccid = '#0'. This way one is still explicit about which cc to use, but it also allows the use .ccc files where the internal cccids are omitted.Good idea or bad idea?Which syntax? 'idx:INT' or '#INT'?
I started implementing the index option, and now I'm wondering why to require the '#' character at all?
How about just allowing plain integers as cccids?
cccid=0
cccid=1
etc.
In my current working implementation, I first see if the cccid string is defined in the file, and if so I obey it. But if it's not a valid id, I see if it's a valid integer, and if so I load that index. (Note that an empty cccid string always fails so let's exclude that case).
Any objections or downsides I'm not seeing?