markreidvfx/pyavb

Composition: `usage` vs `mob_type`?

mjiggidy opened this issue · 0 comments

Probably a dumb question, but... I'm trying to determine if a Composition is a MasterMob or not.

An avb.trackgroups.Composition object has a mob_type property, as well as a usage property. Is there a difference between checking for my_comp.usage == "mastermob" and my_comp.mob_type == "MasterMob"?

Looking at the source code, the usage and mob_type properties are based on separate pieces of data read in from the bin so maybe there is a difference?