MediaPoolItem.set_metadata#
- MediaPoolItem.set_metadata(metadata_type: str | dict, metadata_value: str | None = None) bool[source]#
set metadata with the given metadata dict, or metadata type and value.
- Parameters:
- Returns:
true if success, false if fail
- Return type:
- Deprecated:
The
(metadata_type, metadata_value)calling convention is deprecated since DaVinci Resolve 21.1.0, pass a dict instead - for single keysset_metadata({"Scene": "42"}).