[WS] vgmdb

Thanks, that works. Is it feasible to implement this in VGMdbAlbumParser.inc (I use VGMDB URL)? The JSON is kinda wonky (needing to manually change the tracklist language to Japanese, for example, for games that don't have an English tracklist).

Finally, i get this to work, the tracks names are:
If English present, show English if not Japanese:
English-->Japanese-->Romaji

VGMdb#Search by &Album JSON_v.28.10.20.src (4.6 KB)

Hey all, I have a small issue with search results.
if I "search by album" (not JSON) and input:
diamond
I get 56 results and the results list seem to stop prematurely after a malformed entry "Forever Famicom: Diamond Edition" (see its date in results list, looks weird)

If I search for:
jojo diamond
I'm getting 7 results not listed in my first search, although they should..

Hoping it's easily fixable.

@Alcahest if you want more results just change in: VGMdb#Search by &Album
the last line the number "55" to "99" per example.
it now appears the album you are looking.

@Zhnigo its working for me:

@secondsabre try this: VGMdbAlbumParser.zip (1.7 KB)

Thank you, will try this one as soon as possible! :slight_smile:

The Organizations field doesn't exist in its prior form anymore, causing the script to fail.
I looked into it a little further and it seems that albums can have a Label, a Publisher, a Distributor, a Manufacturer, or any combination of these. I don't know if a one-size-fits-all approach makes sense here anymore.
I'm on my lunch break, so if there's some way to conditionally add these and other, that might be what we need here. If the Json format has all of them in a map then it should be simple, but I haven't the time to look any deeper than this now.
I was testing with https://vgmdb.net/album/87572, which somehow seems appropriate for finding bugs.

yes they change, again the webpage structure, and in consequent the Json also.
quick fix: VGMdbAlbumParser.rar (1.7 KB)

i noticed in some albums there is an error, fix for later time.

Edit: there is good news, i just found out the coder for VGMmdb will make an Api with JSON. There is one already but this one will from the source.

Edit 20.12.2020 - Some improvements: VGMdbAlbumParser.rar (1.7 KB)

1 Like

That is good news!
I'll try this and let you know how it works out for me.

Edit: Works great, thanks for the gift.

Fails with the newest Parser, maybe because it's italian?

Please note the Json Version, is bit off(sometimes the people involved not show), as the json website is not updated lately by is Author.
And Yes you are correct, The Italian songs were not parsed as they were a rare case.

Please use the normal(Html) version.

But if you like the Json Version here is the file updated with the Italian Language.
VGMdb#Search by &Album JSON.src (6.0 KB)

Html Version: vgmdb.rar (3.0 KB)

Several improvements from JSON source:
VGMdb#Search by &Album JSON.src (7.0 KB)

I am still learning the @vkostas normalize method.

I don't remember if I asked this, but is it possible to parse the Products field? That'd be useful to include in metadata (for me at least anyway).

Edit: Nevermind, I got it. It's a simple findinline -> sayuntil for single-line Products. However, when it's formatted in a hyperlinked list like this (with <HREF etc), it gives me trouble. I suppose I have to figure out how to delete all the extra stuff between each title.

Here's the block of script I managed to hack together. As you can see, it's just a brute force replace function.

Example: Aozora Thunder - VGMdb

My problem right now is that I don't know how to properly get rid of the "%22Trigger+Heart+Exelica%22"> result (that, and the script is slow and inefficient because I don't really know what I'm doing).

to remove HTML you can use this regular expression:

# Example
outputto "Comment"
findline "Description</h2>"
findline "<div itemprop=\"description\""
joinuntil "</div>"
regexpreplace "<[^>]+>" ""
sayrest

It seems like this doesn't work anymore since the v.3.6 version of mp3tag :slightly_frowning_face:

Its working for me, please put here a link to the album that not work. and the sources have nothing to do with the mp3tag it self, maybe the html as changed.

Well, no matter what album I search for, by name or catalog number, the result is always the same:
"No entries found for your search query"

I also tried this with a freshly installed mp3tag

what is the web source script version?

I use this one: [WS] vgmdb - #137 by Romano