diff --git a/wavinfo/wave_reader.py b/wavinfo/wave_reader.py index 6760e50..3bb68aa 100644 --- a/wavinfo/wave_reader.py +++ b/wavinfo/wave_reader.py @@ -193,11 +193,11 @@ class WavInfoReader: ltxts = [] notes = [] if adtl is not None: - labls = [c for c in adtl.children + labls = [c for c in adtl.children if type(c) is ChunkDescriptor and c.ident == b'labl'] - ltxts = [c for c in adtl.children + ltxts = [c for c in adtl.children if type(c) is ChunkDescriptor and c.ident == b'ltxt'] - notes = [c for c in adtl.children + notes = [c for c in adtl.children if type(c) is ChunkDescriptor and c.ident == b'note'] return WavCuesReader.read_all(f, cue, labls, ltxts, notes,