Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EyeD3 fails to load file properly - what's wrong with it? #640

Open
rexendevar opened this issue Dec 16, 2024 · 0 comments
Open

EyeD3 fails to load file properly - what's wrong with it? #640

rexendevar opened this issue Dec 16, 2024 · 0 comments

Comments

@rexendevar
Copy link

rexendevar commented Dec 16, 2024

I'm already kind of running out of patience, so I'm just going to paste the error and upload the file and have someone tell me what's going wrong here.

audiofile = eyed3.load("/home/spyndling/bigboy4tb/Music imports/Taxman/AINOU/1-11 - そのいのち.mp3")
print(audiofile.tag.frame_set.keys())
Traceback (most recent call last):
  File "/home/spyndling/bigboy4tb/scripts/AutoLyricize/pain.py", line 7, in <module>
    audiofile = eyed3.load(folder + "/" + file)
  File "/home/spyndling/.local/lib/python3.10/site-packages/eyed3/core.py", line 442, in load
    return mp3.Mp3AudioFile(path, tag_version)
  File "/home/spyndling/.local/lib/python3.10/site-packages/eyed3/mp3/__init__.py", line 145, in __init__
    super().__init__(path)
  File "/home/spyndling/.local/lib/python3.10/site-packages/eyed3/core.py", line 231, in __init__
    self._read()
  File "/home/spyndling/.local/lib/python3.10/site-packages/eyed3/mp3/__init__.py", line 151, in _read
    tag_found = self._tag.parse(file_obj, self._tag_version)
  File "/home/spyndling/.local/lib/python3.10/site-packages/eyed3/id3/tag.py", line 99, in parse
    tag_found, padding = self._loadV2Tag(fileobj)
  File "/home/spyndling/.local/lib/python3.10/site-packages/eyed3/id3/tag.py", line 131, in _loadV2Tag
    padding = self.frame_set.parse(fp, self.header,
  File "/home/spyndling/.local/lib/python3.10/site-packages/eyed3/id3/frames.py", line 1788, in parse
    frame = createFrame(tag_header, frame_header, data)
  File "/home/spyndling/.local/lib/python3.10/site-packages/eyed3/id3/frames.py", line 1888, in createFrame
    frame.parse(data, frame_header)
  File "/home/spyndling/.local/lib/python3.10/site-packages/eyed3/id3/frames.py", line 1346, in parse
    self.channel_type = data[0]
IndexError: index out of range

https://drive.google.com/file/d/1VuxMJw5vFtOOwosHGOElJZYjLZsO8igp/view?usp=drive_link

No idea what's causing this. Every other file seems to work fine and it's not like my music player can't read the metadata either. I'm fairly sure at this point that it is a problem with the metadata of the file itself, but in the absence of eyed3, I don't have any way of checking. Would appreciate some answers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant