HOZHENWAI / Beets-Plugin_VGMdb

A small plugin to collect metadata from VGMdb and manage a VGMdb collection
13 stars 2 forks source link

ModuleNotFound? #21

Closed blitzmikyu closed 1 week ago

blitzmikyu commented 1 year ago

Not sure what I've done wrong. It says its successfully installed.

root@09d35f867f82:/config# beet version ** error loading plugin vgmdb: Traceback (most recent call last): File "/lsiopy/lib/python3.11/site-packages/beets/plugins.py", line 268, in load_plugins namespace = import(modname, None, None) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ModuleNotFoundError: No module named 'beetsplug.vgmdb'

HOZHENWAI commented 1 year ago

what is your config like?

HOZHENWAI commented 1 year ago

ok, I should update the readme. There are two plugins actually, I think you put plugins: vgmdb in the config. There are two plugins: VGMplug which is the metadata fetcher and distance computer and VGMCollection which deals with your collection on vgmdb, to auto add and remove the album on the website on your account

blitzmikyu commented 1 year ago

Thank you, yes that was my issue. I put in vgmdb under plugins.

Seems to be a issue querying now though. I put in the ID for https://vgmdb.net/album/55565. (55565) Its saying there is a network problem. Do I need both plugins and do I also need a vgmdb account just to scrape?

Enter search, enter Id, aBort, type Vgmdb id, type vgmdb Query? v Enter release ID: 55565 VGMplug: Network Problem: 55565 VGMplug: Asking a manual id that has issues. 55565

HOZHENWAI commented 1 year ago

Ok, thank you for telling me this. I will explain the issue:

HOZHENWAI commented 1 year ago

NVM, on my conclusion, it seems some album on http://vgmdb.info/albumlist are working. Guess the website is just not that reliable. It's actually working on my side with id: 55565. Can you try again and confirm?

blitzmikyu commented 1 year ago

I just tried it again, seems to work now. I guess it was due to the outage. Its good to know that it uses vgmdb.info as the source. Thank you for clarifying that for me. Thank you for the excellent work!

selection (default 1), Skip, Use as-is, as Tracks, Group albums,

Enter search, enter Id, aBort, type Vgmdb id, type vgmdb Query? v Enter release ID: 55565 VGMplug: Completing artist info using composers VGMplug: Completing artist info using performers VGMplug: Found 16 performers VGMplug: Final artist choice is Mai Nakahara Correcting tags from: Various Artists - Drama CD CLANNAD - Hikari Mimamoru Sakamichi de Vol. 1 To: Mai Nakahara - Drama CD CLANNAD Hikari Mimamoru Sakamichi de Vol.1 URL: https://vgmdb.net/album/55565?perpage=99999 (Similarity: 68.9%) (tracks, artist) (VGMdb, 2x2 CD, 2007, 株式会社プロトタイプ, PROT-001) 2 CD 1: Disc 1

blitzmikyu commented 1 year ago

It looks like I need to hit http://vgmdb.info/album/?????? manually and then it'll pull the data from .net. That is fine.

HOZHENWAI commented 1 year ago

If you have any feature request with the usage of the plugin let me know. Btw, you don't have to hit on "vgmdb.info", the album id are the same on both. If you search for an album on vgmdb.net, you can use the same id, you can also search directly using the Q option.