ebu / ebu_adm_renderer

The EBU ADM Renderer, written in Python, is the reference implementation of EBU Tech 3388
https://ear.readthedocs.io
BSD 3-Clause Clear License
79 stars 13 forks source link

Add a method to iterate through a MetadataSourceIter #35

Open tomjnixon opened 3 years ago

tomjnixon commented 3 years ago

In general we can't iterate through all MetadataSource implementations, because get_next_block is allowed to return None if metadata is not yet available, but might become available in time for rendering.

Allowing iteration through a MetadataSourceIter would be fine though, and would make using rendering items in scripts where we know we're always going to have a MetadataSourceIter a bit nicer.