def test_comp_mobs(self): test_file = main_test_file f = aaf.open(test_file) header = f.header dictionary = f.dictionary storage = f.storage #print storage.count_mobs() for mob in storage.composition_mobs(): print(mob)
def test_comp_mobs(self): test_file = main_test_file f = aaf.open(test_file) header = f.header dictionary = f.dictionary storage = f.storage #print storage.count_mobs() for mob in storage.composition_mobs(): print mob
(options, args) = parser.parse_args() if not args: parser.error("not enough arguments") file_path = args[0] f = aaf.open(file_path) #root = axfile header = f.header storage = f.storage root = storage if options.compmobs: root = list(storage.composition_mobs()) if options.mastermobs: root = list(storage.master_mobs()) #if options.sourcemobs: # root = list(storage.GetSourceMobs()) if options.dictionary: root = f.dictionary if options.all: root = f #print mobs app = QtGui.QApplication(sys.argv)