# \[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:** 7

<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: [October 27, 2020, 9:01pm UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/125 "2020-10-27T21:01:37Z")

</div>

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).

---

<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: [October 28, 2020, 3:30pm UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/126 "2020-10-28T15:30:49Z")

</div>

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

---

<div class="post-metadata">

### Author: ![Alcahest](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/8491ac/32.png) [@Alcahest](https://community.mp3tag.de/u/Alcahest)
#### Post date: [October 30, 2020, 3:42am UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/127 "2020-10-30T03:42:54Z")

</div>

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.

---

<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: [October 30, 2020, 10:51am UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/128 "2020-10-30T10:51:00Z")

</div>

@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.

---

<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: [October 30, 2020, 10:54am UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/129 "2020-10-30T10:54:45Z")

</div>

@Zhnigo its working for me:

 ![imagem](https://community.mp3tag.de/uploads/default/original/2X/1/1f9a20142132d972ebe15605af9ffffaa174be5f.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: [October 30, 2020, 11:08am UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/130 "2020-10-30T11:08:17Z")

</div>

@secondsabre try this: [VGMdbAlbumParser.zip](https://community.mp3tag.de/uploads/short-url/iyivco6OpXV41yooCYpE07JbA4q.zip) (1.7 KB)

---

<div class="post-metadata">

### Author: ![retaliator](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/r/3ab097/32.png) [@retaliator](https://community.mp3tag.de/u/retaliator)
#### Post date: [November 3, 2020, 6:00am UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/131 "2020-11-03T06:00:21Z")

</div>

Thank you, will try this one as soon as possible! 🙂

---

<div class="post-metadata">

### Author: ![elecgnosis](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/e/58f4c7/32.png) [@elecgnosis](https://community.mp3tag.de/u/elecgnosis)
#### Post date: [December 17, 2020, 9:14pm UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/132 "2020-12-17T21:14:07Z")

</div>

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](https://vgmdb.net/album/87572), which somehow seems appropriate for finding bugs.

---

<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: [December 17, 2020, 10:46pm UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/133 "2020-12-17T22:46:12Z")

</div>

yes they change, again the webpage structure, and in consequent the Json also.  
quick fix: [VGMdbAlbumParser.rar](https://community.mp3tag.de/uploads/short-url/gt9K16HlNwuK0z77eeDskjTO9Bw.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](https://community.mp3tag.de/uploads/short-url/gt9K16HlNwuK0z77eeDskjTO9Bw.rar) (1.7 KB)

---

<div class="post-metadata">

### Author: ![elecgnosis](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/e/58f4c7/32.png) [@elecgnosis](https://community.mp3tag.de/u/elecgnosis)
#### Post date: [December 23, 2020, 12:48am UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/134 "2020-12-23T00:48:39Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![master117](https://community.mp3tag.de/user_avatar/community.mp3tag.de/master117/32/7868_2.png) [@master117](https://community.mp3tag.de/u/master117)
#### Post date: [December 29, 2020, 9:51pm UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/135 "2020-12-29T21:51:51Z")

</div>

> **[MJCD-20043 | GUNSLINGER GIRL Image Album "poca felicità" - VGMdb](https://vgmdb.net/album/16812)**
>
> Commercial (CD) published by MMV on Dec 21, 2005 containing original soundtrack from Gunslinger Girl with compositions by Revo performed by Yuuka Nanri, Kanako Mitsuhashi, Eri Sendai, Ami Koshimizu, Hitomi Terakado, Mamiko Noto, Norihiro Inoue,...

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

---

<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: [December 29, 2020, 10:49pm UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/136 "2020-12-29T22:49:07Z")

</div>

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](https://community.mp3tag.de/uploads/short-url/91YBjYDoBlwS28tKA4ADFizeakl.src) (6.0 KB)

Html Version: [vgmdb.rar](https://community.mp3tag.de/uploads/short-url/9IBNW8WPKJI4hV3IH1t5kmYQbDO.rar) (3.0 KB)

 ![imagem](https://community.mp3tag.de/uploads/default/original/2X/f/f04d47159b0768127851132f3be7fc1abe8be790.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: [January 8, 2021, 1:26pm UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/137 "2021-01-08T13:26:24Z")

</div>

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

I am still learning the @vkostas normalize method.

---

<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: [February 26, 2021, 9:17am UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/138 "2021-02-26T09:17:41Z")

</div>

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).

![](https://community.mp3tag.de/uploads/default/original/2X/a/a134f495df7c30db02f26c93355f6a012ab5dd04.png)

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.

![](https://community.mp3tag.de/uploads/default/original/2X/4/4593cfb2838bea91c556007e375b935b2805089c.png)

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

> **[mp3tag vgmdb products - Pastebin.com](https://pastebin.com/GRFBBgGa)**
>
> Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.

Example: [Aozora Thunder - VGMdb](https://vgmdb.net/album/9539)

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).

---

<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: [February 26, 2021, 7:29pm UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/139 "2021-02-26T19:29:49Z")

</div>

to remove HTML you can use this regular expression:

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

```

---

<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: [March 29, 2021, 5:38am UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/140 "2021-03-29T05:38:46Z")

</div>

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

---

<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 29, 2021, 10:03am UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/141 "2021-03-29T10:03:23Z")

</div>

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.

---

<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: [March 29, 2021, 6:28pm UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/142 "2021-03-29T18:28:21Z")

</div>

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

---

<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 29, 2021, 7:02pm UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/143 "2021-03-29T19:02:22Z")

</div>

what is the web source script version?

---

<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: [March 29, 2021, 7:29pm UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/144 "2021-03-29T19:29:02Z")

</div>

I use this one: [[WS] vgmdb - #137 by Romano](https://community.mp3tag.de/t/ws-vgmdb/9731/137)

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

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