snejus / beetcamp

Bandcamp autotagger source for beets (http://beets.io)
GNU General Public License v2.0
64 stars 11 forks source link

`AssertionError: Failed to find a release under the given url` for `https://palindromeaustria.bandcamp.com/album/bundle-these-last-scattered-synapses-3` #44

Closed mkhl closed 1 year ago

mkhl commented 1 year ago

Running ~/.local/pipx/venvs/beets/bin/beetcamp https://palindromeaustria.bandcamp.com /album/bundle-these-last-scattered-synapses-3 results in an assertion error:

bandcamp: Failed obtaining singleton from https://palindromeaustria.bandcamp.com/album/bundle-these-last-scattered-synapses-3
Traceback (most recent call last):
  File "/home/mkhl/.local/pipx/venvs/beets/bin/beetcamp", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/home/mkhl/.local/pipx/venvs/beets/lib/python3.11/site-packages/beetsplug/bandcamp/__init__.py", line 367, in main
    raise AssertionError("Failed to find a release under the given url")
AssertionError: Failed to find a release under the given url

I assume something's going wrong scraping data from the site?

snejus commented 1 year ago

Thanks for reporting this! Let me look into it

snejus commented 1 year ago

beetcamp has this logic that skips parsing media formats that have Bundle in their name - I forgot to consider the case where Bundle may be part of the album name 🤦🏽‍♂️ . Will get this fixed today!

snejus commented 1 year ago

This should be fixed now :)

mkhl commented 1 year ago

It is indeed, thanks for the quick fix! :)