aeidon.agents.SetAgent

Source: aeidon/agents/set.py

Anchestors: aeidon.delegate.Delegate, builtins.object

class aeidon.agents.SetAgent
Setting values of single subtitle fields.

Methods

SetAgent.set_duration(index, value, register=-1)

Set the value of duration position.

value can be time, frame or seconds. Use aeidon.as_time(), aeidon.as_frame() or aeidon.as_seconds() if necessary to ensure correct type.

SetAgent.set_end(index, value, register=-1)

Set the value of end position.

value can be time, frame or seconds. Use aeidon.as_time(), aeidon.as_frame() or aeidon.as_seconds() if necessary to ensure correct type.

SetAgent.set_main_text(index, value, register=-1)

Set the value of main document’s text.

SetAgent.set_start(index, value, register=-1)

Set the value of start position.

value can be time, frame or seconds. Use aeidon.as_time(), aeidon.as_frame() or aeidon.as_seconds() if necessary to ensure correct type.

SetAgent.set_text(index, doc, value, register=-1)

Set the value of doc‘s text.

SetAgent.set_translation_text(index, value, register=-1)

Set the value of translation document’s text.