We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9dd64e commit 04b1b95Copy full SHA for 04b1b95
pymp3decoder/__init__.py
@@ -246,6 +246,9 @@ def decode_iter(self, content):
246
channel mode
247
"""
248
249
+ # Our mp3 has no metadata containers. This code improperly strips the beginning
250
+ # of the audio, so I'm just ignoring it for now.
251
+ """
252
# need to strip the tag off the first chunk
253
first_chunk = next(content)
254
tag_length = self.get_tag_length(first_chunk)
@@ -272,6 +275,8 @@ def decode_iter(self, content):
272
275
remaining = ""
273
276
274
277
remaining = bytearray(remaining)
278
279
+ remaining = bytearray()
280
281
for chunk in content:
282
decoded_chunk, remaining = self.decode(chunk, remaining)
0 commit comments