[WS] vgmdb

This is now solved, by the help of Florian:
please use one of these websources for VGmdb, they both work:
Json: VGMdb#Search by &Album JSON.src (7.0 KB)

Normal: vgmdb.rar (3.0 KB)

1 Like

Yes, it works again! Thank you and Florian very very much! :orange_heart: :smile:

The VGMdbAlbumParser.inc and VGMdb#Search by &Album JSON.src both still have debug output with your local directory paths enabled.

Fixed:

VGMdb#Search by &Album JSON.src (7.0 KB)

vgmdb.rar (3.0 KB)

3 Likes

And %composer% can be "Composer," "Music," "Sound Composition," "Original Score," or some other label that I haven't come across yet. They are slavishly following what's printed on the release materials rather than stopping to think what those labels truly mean. I feel that the current approach that vgmdb adopted several months ago is hurting rather than helping the site. Pretty soon, one will need a rosetta stone to navigate the credits on that site since so many of the labels overlap each other these days.

IMO, vgmdb was far easier to navigate and query before the editors decided to open pandora's box.

The #Event block in VGMdbAlbumParser.inc might need a bit of adjustment, as it no longer works (VGMDB probably changed things again). I haven't touched scripting in forever, so I'm not sure how to fix this.

Example line: <td><a title="View albums released on Dec 31, 2013" href="/db/calendar.php?year=2013&month=12#20131231">Dec 31, 2013</a><a class='link_event' rel='nofollow' title='Released at Comic Market 85 ( to )' href='/event/167'><span class='label'><img src='/db/icons/event_first_release.png' /> C85</span></a> </td></tr>

The Event block I tried to get working again (placed under Products). This fetches, but I guess it parses the line wrong as it says Error.

# Event Name
outputto "Event"
findinline "<span class='label'>"
sayuntil "</span>"

Scraping for the artist/composer fields has also started picking up some junk due to recent changes.

I guess if the credits text is anything other than "Composer" like in say this album: SQEX-10850~2 | OCTOPATH TRAVELER: Tairiku no Hasha Original So... - VGMdb, then this will happen

and if it has an asterisk with extra mouse-over text like in this album: OCRA-0070 | Chronopolis: Music Inspired by Chrono Cross - VGMdb or ALCA-5015 | SONIC & KNUCKLES • SONIC THE HEDGEHOG 3 - VGMdb, it will also pick it up.

I'm also having this problem.

The following EVENT code sorta works, but it also breaks everything that follows the code (so if I put it in the beginning, it grabs the Event successfully, but it also prevents the rest of the script from running). No idea what that's about. If I put it in the beginning, it fetches the EVENT but kills the rest of the metadata fetching. If I put it at the end, it just gives an ERROR.

# Event Name
outputto "Event"
findline "<td>" 1
joinuntil "</tr>"
findinline "/>"
sayuntil "</span>"

@Habanero @Quead Please try the Json version, when the html changes the json version is less to get errors, i find it to have no errors for now.

for the html version i will try to find the error.

Try it now:
VGMdbAlbumParser.rar (1.9 KB)

2 Likes

Not quite what I was going for, but thanks to your fix I was able to understand how to adjust it to what I wanted instead. Thanks for the help.

# Event
outputto "Event"
findinline "/db/icons/event_first_release.png' />" 1 1
sayuntil "</span>"

It was giving me this otherwise, but I only wanted the event name.

I think you want something like this:

# Event
outputto "Event"
findinline "at " 1 1
sayuntil "("
findinline ".png' />" 1 1
say " / "
sayuntil "</span>"

if only the code:

# Event
outputto "Event"
findinline ".png' />" 1 1
sayuntil "</span>"

Edit 25.08: some improvements:
Vgmdb.25.08.21.rar (4.7 KB)

Hi is an updated version of this?
Some parts of it is broken like Artist, Composer, Albumartist
It gives me a <tr class*... data

What version you use? it is working for me:
https://i.imgur.com/6xewYqW.png

better yet, what album are you searching?

For the plugin. I'm using your 25.08.21

I'm trying this album A REALM REBORN: FINAL FANTASY XIV Original Soundtrack | SQEX-20016 - VGMdb

1 Like

Please try this version:

VGMdbAlbumParser.zip (2.9 KB)

Great! Thanks!
Is it possible to use the Japanese Title instead?
Or at least populate it into the Comment field?

Replace the # Album line 38 to this:

# Album
outputto "Album"
findline "class=\"albumtitle\""
replace "|" "$verticalBar()"
findinline "class=\"albumtitle\""
findinline "lang=\"ja\""
findinline "/em>"
sayuntil "</span"

keep in mind that many of the albums have not a Japanese Title.

1 Like

@Romano Thanks for all of your work on supporting this relatively obscure and inconsistent site. I'm having some trouble with your VGMdb web source (either variant). I tried the VGMdbAlbumParser version you posted above, as well as the 25.08.21 from your GitHub. I'm using the latest Mac version of MP3Tag (1.7.0), so that might be a root issue, though the other web sources seem to (generally) work well since Florian implemented them into the Mac version. I'm guessing this is likely an issue with either inconsistency on VGMdb or bugs in the web sources features in the Mac version, but just in case, here is what I'm encountering...

When I search for Catch This! Vol. 2: Goldenrod FM - A Pokémon Gold & Silver Tribute Album with the Parser version I get ERROR(L37): unknown command 'exit'. No search results are returned. If I reduce the search to a single word like Catch it will generate search results and does not give an error. The album is listed here: Catch This! Vol. 2: Goldenrod FM - A Pokémon Gold & Silver Tribute Album - VGMdb

When I perform the search using the 25.08.21 variant from GitHub, I encounter the same behavior with the Search by Album, but the Search by Album JSON returns results and allows me to complete the tagging process successfully.

When I repeat these tests with the album Hollow Knight: Voidheart, I have the same issues as above (album is listed here: Hollow Knight: Voidheart - VGMdb)

I also have an additional problem. When using the 25.08.21Search by Album JSON to search for the full album name, I will get a search result. I select the result, but once the tagging page loads in the web sources interface, it only shows the file names of my tracks and doesn't display any info or tags from VGMdb. This has occurred with the other Pixel Mixers albums that I tested as well. Only the Catch This! Vol. 2: Goldenrod FM - A Pokémon Gold & Silver Tribute Album album worked successfully.

I have also tried searching by URL and also doing an Album search while using the ID from the URL instead of the album name, but neither option returned any search results. Any thoughts?