Repeat Signal does not work correctly with other metadata-based formats (OSBA, OMASA)
When using the repeat_signal
key in the YAML config, an error can occur:
File "ivas-processing-scripts-3gpp-forge-mirror/ivas_processing_scripts/processing/processing.py", line 589, in remove_preamble
meta = [m[int(len(m) / 2) :, :] for m in meta]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'NoneType' object is not iterable
The relevant check(s) are only made for audio.ObjectBasedAudio
, and should be extended:
if isinstance(audio_object, audio.ObjectBasedAudio):