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

mutagen.flac.FLACNoHeaderError: Stream info block not found #12

Open
adamwinn opened this issue May 7, 2017 · 0 comments
Open

mutagen.flac.FLACNoHeaderError: Stream info block not found #12

adamwinn opened this issue May 7, 2017 · 0 comments

Comments

@adamwinn
Copy link

adamwinn commented May 7, 2017

This has been working great for me so far, but I ran into this issue. Is there something wrong with the torrent data?

user@server460:~/scripts/pthbetter-crawler$ whatbetter --single
Logging in to PTH...
Searching for transcode candidates...

Release found: Re:Jacked Volume 2 (2010)
Release URL: https://redacted.ch/torrents.php?id=274578&torrentid=521887#torrent521887
Traceback (most recent call last):
  File "/home/user/scripts/pthbetter-crawler/whatbetter", line 231, in <module>
    main()
  File "/home/user/scripts/pthbetter-crawler/whatbetter", line 182, in main
    if transcode.is_multichannel(flac_dir):
  File "/home/user/scripts/pthbetter-crawler/transcode.py", line 102, in is_multichannel
    return any(flac.info.channels > 2 for flac in flacs)
  File "/home/user/scripts/pthbetter-crawler/transcode.py", line 102, in <genexpr>
    return any(flac.info.channels > 2 for flac in flacs)
  File "/home/user/scripts/pthbetter-crawler/transcode.py", line 101, in <genexpr>
    flacs = (mutagen.flac.FLAC(flac_file) for flac_file in locate(flac_dir, ext_matcher('.flac')))
  File "/home/user/.local/lib/python2.7/site-packages/mutagen/_file.py", line 49, in __init__
    self.load(*args, **kwargs)
  File "/home/user/.local/lib/python2.7/site-packages/mutagen/_util.py", line 158, in wrapper
    return func(*args, **kwargs)
  File "/home/user/.local/lib/python2.7/site-packages/mutagen/_util.py", line 129, in wrapper
    return func(self, h, *args, **kwargs)
  File "/home/user/.local/lib/python2.7/site-packages/mutagen/flac.py", line 796, in load
    raise FLACNoHeaderError("Stream info block not found")
mutagen.flac.FLACNoHeaderError: Stream info block not found
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