# \[WS\] vgmdb

**URL:** https://community.mp3tag.de/t/ws-vgmdb/9731
**Category:** Web Sources Scripts
**Created:** [January 19, 2010, 12:25pm UTC](https://community.mp3tag.de/t/ws-vgmdb/9731 "2010-01-19T12:25:18Z")
**Posts on this page:** 20
**Page:** 8

<div class="post-metadata">

### Author: ![Romano](https://community.mp3tag.de/user_avatar/community.mp3tag.de/romano/32/7465_2.png) [@Romano](https://community.mp3tag.de/u/Romano)
#### Post date: [March 31, 2021, 8:10pm UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/145 "2021-03-31T20:10:54Z")

</div>

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](https://community.mp3tag.de/uploads/short-url/2U9OF66hvkDuksGSEsRt6KERGkP.src) (7.0 KB)

Normal: [vgmdb.rar](https://community.mp3tag.de/uploads/short-url/vPlzxyGTFn2I2mL7E71iCjKlGYB.rar) (3.0 KB)

---

<div class="post-metadata">

### Author: ![Chrono](https://community.mp3tag.de/user_avatar/community.mp3tag.de/chrono/32/7809_2.png) [@Chrono](https://community.mp3tag.de/u/Chrono)
#### Post date: [April 1, 2021, 5:27am UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/146 "2021-04-01T05:27:32Z")

</div>

Yes, it works again! Thank you and Florian very very much! 🧡 😄

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [April 1, 2021, 6:21am UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/147 "2021-04-01T06:21:12Z")

</div>

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

---

<div class="post-metadata">

### Author: ![Romano](https://community.mp3tag.de/user_avatar/community.mp3tag.de/romano/32/7465_2.png) [@Romano](https://community.mp3tag.de/u/Romano)
#### Post date: [April 1, 2021, 7:44am UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/148 "2021-04-01T07:44:37Z")

</div>

Fixed:

[VGMdb#Search by &Album JSON.src](https://community.mp3tag.de/uploads/short-url/nk9447hzJtQFvM9iaJEHAUfVS29.src) (7.0 KB)

[vgmdb.rar](https://community.mp3tag.de/uploads/short-url/wAgwd61UFedu68aiFv1esLKGatN.rar) (3.0 KB)

---

<div class="post-metadata">

### Author: ![ms6676749](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/b4bc9f/32.png) [@ms6676749](https://community.mp3tag.de/u/ms6676749)
#### Post date: [May 11, 2021, 7:56am UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/149 "2021-05-11T07:56:28Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![Habanero](https://community.mp3tag.de/user_avatar/community.mp3tag.de/habanero/32/8241_2.png) [@Habanero](https://community.mp3tag.de/u/Habanero)
#### Post date: [August 17, 2021, 4:54pm UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/150 "2021-08-17T16:54:24Z")

</div>

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.

> **[TRBL-0013 | OVERBLAST!!! The 3rd Stage - VGMdb](https://vgmdb.net/album/45047)**
>
> Doujin/Indie (CD) published by Tribullets on Dec 31, 2013 containing remix from Espgaluda, ACE COMBAT 2, ESP Ra.De., Mamoru-kun wa Norowarete Shimatta!, R-TYPE III, DIADRA EMPTY, Twinkle Star Sprites ~La Petite Princesse~, Ketsui ~Kizunajigokutachi~

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.

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

```

 ![](https://community.mp3tag.de/uploads/default/original/2X/1/177737b0805de28c20025865f4aa326aeaabe053.png)

---

<div class="post-metadata">

### Author: ![Quead](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/q/b487fb/32.png) [@Quead](https://community.mp3tag.de/u/Quead)
#### Post date: [August 19, 2021, 7:20am UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/151 "2021-08-19T07:20:58Z")

</div>

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](https://vgmdb.net/album/107466), then this will happen

 ![composer](https://community.mp3tag.de/uploads/default/original/2X/2/24ce13c054f716eb4a4e652952fbbcd01720e96b.jpeg)

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

 ![asterisk](https://community.mp3tag.de/uploads/default/original/2X/2/2141880add7f6ffef5a40257295ddcd45c5e33aa.jpeg)

---

<div class="post-metadata">

### Author: ![Habanero](https://community.mp3tag.de/user_avatar/community.mp3tag.de/habanero/32/8241_2.png) [@Habanero](https://community.mp3tag.de/u/Habanero)
#### Post date: [August 19, 2021, 5:57pm UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/152 "2021-08-19T17:57:31Z")

</div>

I'm also having this problem.

---

<div class="post-metadata">

### Author: ![Habanero](https://community.mp3tag.de/user_avatar/community.mp3tag.de/habanero/32/8241_2.png) [@Habanero](https://community.mp3tag.de/u/Habanero)
#### Post date: [August 20, 2021, 6:14pm UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/153 "2021-08-20T18:14:36Z")

</div>

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.

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

```

---

<div class="post-metadata">

### Author: ![Romano](https://community.mp3tag.de/user_avatar/community.mp3tag.de/romano/32/7465_2.png) [@Romano](https://community.mp3tag.de/u/Romano)
#### Post date: [August 20, 2021, 6:26pm UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/154 "2021-08-20T18:26:44Z")

</div>

@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.  
 ![](https://community.mp3tag.de/uploads/default/original/2X/b/b4e45d7c50ab9661af2867e83fac5a4666ddba00.png)  
for the html version i will try to find the error.

---

<div class="post-metadata">

### Author: ![Romano](https://community.mp3tag.de/user_avatar/community.mp3tag.de/romano/32/7465_2.png) [@Romano](https://community.mp3tag.de/u/Romano)
#### Post date: [August 22, 2021, 12:38pm UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/155 "2021-08-22T12:38:04Z")

</div>

Try it now:  
[VGMdbAlbumParser.rar](https://community.mp3tag.de/uploads/short-url/4LMBicO3PlxhJBtYzmTHphfppzW.rar) (1.9 KB)

---

<div class="post-metadata">

### Author: ![Habanero](https://community.mp3tag.de/user_avatar/community.mp3tag.de/habanero/32/8241_2.png) [@Habanero](https://community.mp3tag.de/u/Habanero)
#### Post date: [August 22, 2021, 5:35pm UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/156 "2021-08-22T17:35:01Z")

</div>

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.

```auto
# 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.  
 ![](https://community.mp3tag.de/uploads/default/original/2X/f/fa691aee86f550a4d70039a76682d09fd6d99165.png)  
 ![](https://community.mp3tag.de/uploads/default/original/2X/7/77b30a1bbf173b9f7ed06c98679dff0a38ba555c.png)

---

<div class="post-metadata">

### Author: ![Romano](https://community.mp3tag.de/user_avatar/community.mp3tag.de/romano/32/7465_2.png) [@Romano](https://community.mp3tag.de/u/Romano)
#### Post date: [August 22, 2021, 8:24pm UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/157 "2021-08-22T20:24:25Z")

</div>

I think you want something like this:

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

```

if only the code:

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

```

Edit 25.08: some improvements:  
[Vgmdb.25.08.21.rar](https://community.mp3tag.de/uploads/short-url/xQ3NMKhlwJGKyWwlWTESnOnpmoh.rar) (4.7 KB)

---

<div class="post-metadata">

### Author: ![JSharpie](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/j/35a633/32.png) [@JSharpie](https://community.mp3tag.de/u/JSharpie)
#### Post date: [April 2, 2022, 7:51am UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/158 "2022-04-02T07:51:26Z")

</div>

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

---

<div class="post-metadata">

### Author: ![Romano](https://community.mp3tag.de/user_avatar/community.mp3tag.de/romano/32/7465_2.png) [@Romano](https://community.mp3tag.de/u/Romano)
#### Post date: [April 2, 2022, 9:20am UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/159 "2022-04-02T09:20:27Z")

</div>

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

better yet, what album are you searching?

---

<div class="post-metadata">

### Author: ![JSharpie](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/j/35a633/32.png) [@JSharpie](https://community.mp3tag.de/u/JSharpie)
#### Post date: [April 2, 2022, 8:02pm UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/160 "2022-04-02T20:02:41Z")

</div>

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](https://vgmdb.net/album/44019)

---

<div class="post-metadata">

### Author: ![Romano](https://community.mp3tag.de/user_avatar/community.mp3tag.de/romano/32/7465_2.png) [@Romano](https://community.mp3tag.de/u/Romano)
#### Post date: [April 3, 2022, 8:25am UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/161 "2022-04-03T08:25:29Z")

</div>

Please try this version:

[VGMdbAlbumParser.zip](https://community.mp3tag.de/uploads/short-url/5NYboCyCBaLD4eKelrX8aIyk4Lh.zip) (2.9 KB)

---

<div class="post-metadata">

### Author: ![JSharpie](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/j/35a633/32.png) [@JSharpie](https://community.mp3tag.de/u/JSharpie)
#### Post date: [April 3, 2022, 3:30pm UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/162 "2022-04-03T15:30:28Z")

</div>

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

---

<div class="post-metadata">

### Author: ![Romano](https://community.mp3tag.de/user_avatar/community.mp3tag.de/romano/32/7465_2.png) [@Romano](https://community.mp3tag.de/u/Romano)
#### Post date: [April 3, 2022, 6:52pm UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/163 "2022-04-03T18:52:56Z")

</div>

Replace the # Album line 38 to this:

```auto
# 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.

---

<div class="post-metadata">

### Author: ![Arbiter](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/94ad74/32.png) [@Arbiter](https://community.mp3tag.de/u/Arbiter)
#### Post date: [December 30, 2022, 9:37am UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/164 "2022-12-30T09:37:26Z")

</div>

@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](https://vgmdb.net/album/108260)

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](https://vgmdb.net/album/114273))

I also have an additional problem. When using the 25.08.21`Search 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?

[Previous page](https://community.mp3tag.de/t/ws-vgmdb/9731.md?page=7)

[Next page](https://community.mp3tag.de/t/ws-vgmdb/9731.md?page=9)
