Get background/source name

Hi all, I’m trying to work out how to use tokens, or python, to rename a Gap TimelineFX using the name of the active segment of media underneath it… and to keep it dynamic so it updates if the media changes. There may be multiple media segments with different names underneath, so it should only be the topmost active one which provides the name. And the media providing the name won’t always be on the same video track.

Rename using Background Name token only ever points to the V1.1 media (and if there is a gap at this position in V1.1, then it points to the previous segment on V1.1 - which seems very weird).

Rename using Source Name token seems to behave mysteriously and I can’t work out what it’s referencing at all!

Burn-in Metadata set to ‘Source Name’ seems to fetch exactly what I need, and is dynamic, but I can’t find how to push that into a renaming operation.

(Have long thought that many of the tokens seem poorly and confusingly named in diifferent modules and could do with an overhaul, but anyway).

Also having no luck fetching the info within a python script.

Thanks for any ideas!

(edited to make token names appear correctly)

What you are looking for is not possible. You can set the name using tokens via the Python API, but there is no token that does what you are looking for.

  • Background Name will always take the name of the segment in V1.1
  • Source Name is the name of the clip as imported, before you renamed it.

You can submit a General Improvement request as https://flamefeedback.autodesk.com for this if you want to.

Thanks for the reply Fred, and good to know about the tokens. For future ref, is there a full list anywhere of tokens and exactly what they reference?

As I said, the Source Name within Burn-in Metadata seems to get exactly what I want. How does it get it? Is there any way I can prise it out of there!?