Version 1.5

Added command-line entrypoint, more UMID implementation
This commit is contained in:
Jamie Hardt
2020-01-05 10:05:54 -08:00
parent 3ede4de06a
commit a90d3f4b38
6 changed files with 69 additions and 16 deletions

View File

@@ -147,9 +147,13 @@ class WavInfoReader():
metadata field, and the value.
"""
scopes = ('fmt','data')#,'bext','ixml','info')
scopes = ('fmt', 'data') #'bext', 'ixml', 'info')
for scope in scopes:
attr = self.__getattribute__(scope)
for field in attr._fields:
yield scope, field, attr.__getattribute__(field)
bext_dict = self.bext.to_dict()
for key in bext_dict.keys():
yield 'bext', key, bext_dict[key]