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

<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: [June 21, 2020, 5:50am UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/82 "2020-06-21T05:50:52Z")

</div>

Works particially, here an example:

 ![mp3tag](https://community.mp3tag.de/uploads/default/original/2X/a/a2fc4bca0b54cd7ffd77fdb7f9093e472fb03eae.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: [June 21, 2020, 9:34am UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/83 "2020-06-21T09:34:19Z")

</div>

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

---

<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: [June 22, 2020, 7:31am UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/84 "2020-06-22T07:31:10Z")

</div>

Seems to be working fine for the majority of the stuff I threw at it, thank you.

There is one bug that needs fixing if possible. The catalog number scraping is picking up some junk due to poor placement of a link to show extra album credits in one the updates.

![mp3tag](https://community.mp3tag.de/uploads/default/original/2X/5/51552c2db3881acafe9b3c6a345b4fd28fd16de0.jpeg)  
 ![extra](https://community.mp3tag.de/uploads/default/original/2X/b/ba94d279cb932efe8ec88f31ca7fa916bb9b82d2.jpeg)

---

<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: [June 22, 2020, 11:35am UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/85 "2020-06-22T11:35:52Z")

</div>

Its an easy fix, we just have to remove this, i think:

```
<a id="extralink" href="#" style="float:right">[Extra Credits]</a>
 <script type="text/javascript">
 $(document).ready(function() {
 $("#extralink").click(function(e) {
 $("tr.maincred").toggle();
 $("tr.extracred").toggle();
 $(this).text($("tr.maincred").is(":visible") ? "[Extra Credits]" : "[Main Credits]");
 e.preventDefault();
  });
  });
 </script>

```

But i cannot do it now, i will do it when this week ends.

Edit: or as a quick fix, you can add this line:

```
replace "[Extra Credits]<script type=\"text/javascript\">$(document).ready(function() { $(\"#extralink \").click(function(e) { $(\"tr.maincred\").toggle(); $(\"tr.extracred\").toggle(); $(this).text($(\"tr.maincred\").is(\":visible\") ? \"[Extra Credits]\" : \"[Main Credits]\"); e.preventDefault(); });});</script>" ""

```

below

```
else
	regexpreplace "<a[^>]+>" ""
	replace "</a>" ""

```

at line 117  
see here: [Github](https://github.com/romanoh/Mp3tag-Repository/blob/master/data/sources/VGMdb%23Search%20by%20&Album.src)

![imagem](https://community.mp3tag.de/uploads/default/original/2X/e/ec133e2ea4d60aeb5ad64d15550d51c25d20f082.png)

---

<div class="post-metadata">

### Author: ![M\_Mirza](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/bb73d2/32.png) [@M\_Mirza](https://community.mp3tag.de/u/M_Mirza)
#### Post date: [June 24, 2020, 8:29pm UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/88 "2020-06-24T20:29:54Z")

</div>

Romano - many thanks for your work updating this script for VGMdb - has the same update been made to the _Search by URL_ version?

If not, could I please request this?

---

<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: [June 25, 2020, 9:01am UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/89 "2020-06-25T09:01:28Z")

</div>

@M_Mirza try this  
[VGMdb#U&RL.src](https://community.mp3tag.de/uploads/short-url/im1ZtVIkYMFYx0mmMgnYmOBVVPp.src) (4.9 KB)

---

<div class="post-metadata">

### Author: ![M\_Mirza](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/bb73d2/32.png) [@M\_Mirza](https://community.mp3tag.de/u/M_Mirza)
#### Post date: [June 25, 2020, 9:05am UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/90 "2020-06-25T09:05:47Z")

</div>

That's perfect Romano, thank you once again

---

<div class="post-metadata">

### Author: ![M\_Mirza](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/bb73d2/32.png) [@M\_Mirza](https://community.mp3tag.de/u/M_Mirza)
#### Post date: [June 26, 2020, 4:08pm UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/91 "2020-06-26T16:08:59Z")

</div>

Just for information - there's been another update just today ([https://vgmdb.net/forums/showthread.php?p=95419#post95419](https://vgmdb.net/forums/showthread.php?p=95419#post95419)) that has once more rendered the script unusable.

---

<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: [June 26, 2020, 7:27pm UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/92 "2020-06-26T19:27:24Z")

</div>

This VGMdb Administrator/coder works hard.

@M_Mirza  
Try this and let me know if there are any bugs.  
Later i will make this source to get more data.

[VGMdb#U&RL.src](https://community.mp3tag.de/uploads/short-url/64ivMih6iG66bU181gm9pz2MBbm.src) (4.9 KB)  
[VGMdb#Search by &Album.src](https://community.mp3tag.de/uploads/short-url/3gJkbWPx4Zf6TjmSOeMkXgAPxOJ.src) (5.6 KB)

you can always find any changes in my [repository](https://github.com/romanoh/Mp3tag-Repository/blob/master/data/sources/VGMdb%23U%26RL.src).

edit: there is a bug, if there is songs in other language Japanese per example, it adds to the tracks. right now i cannot solve it, as i am new to scripting, but i will try.

---

<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: [July 2, 2020, 3:54pm UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/94 "2020-07-02T15:54:12Z")

</div>

They updated again the tracks:  
[VGMdb#Search by &Album.src](https://community.mp3tag.de/uploads/short-url/lsCdGDTyi7zxGTMPO6IXQRF8YNY.src) (5.8 KB)  
[VGMdb#U&RL.src](https://community.mp3tag.de/uploads/short-url/y2ejU6dfztqa2bnqvUkh3fjVnNo.src) (5.0 KB)

bug: gets english and japanese tracks. [If anyone can help](https://community.mp3tag.de/t/do-while-question-websource/49460)

---

<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: [July 3, 2020, 11:46pm UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/95 "2020-07-03T23:46:30Z")

</div>

Great work. Much appreciated.

Does the Bug about japanese & english getting mixed still exist?

Could you make a version or post the changes to get the year as standard iso?  
I would like to have year be: 2020.12.30 instead of just 2020, as I use it to rename the folders right away.

---

<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: [July 4, 2020, 12:59pm UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/96 "2020-07-04T12:59:42Z")

</div>

Its not a major bug, as the tracks are sequencial, just erase it or save.

Here it is the new date version:  
[VGMdb#Search by &Album.src](https://community.mp3tag.de/uploads/short-url/kL7XwkOM2gwGoPuI2u2yKJFix87.src) (5.8 KB)

---

<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: [July 4, 2020, 3:45pm UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/97 "2020-07-04T15:45:49Z")

</div>

@Romano Thank you a lot, you probably saved me a lot of hours, if you sent me your paypal I'll buy you a coffee

---

<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: [July 10, 2020, 8:51am UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/98 "2020-07-10T08:51:26Z")

</div>

Updated and improved  
[VGMdb#Search by &Album.src](https://community.mp3tag.de/uploads/short-url/ob86TYlM2Kwxw65BIhelpBZHpXJ.src) (5.9 KB)  
[VGMdb#U&RL.src](https://community.mp3tag.de/uploads/short-url/kJ0b36L4M1a8nUhgf4uRwLnEEn3.src) (4.9 KB)

---

<div class="post-metadata">

### Author: ![M\_Mirza](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/bb73d2/32.png) [@M\_Mirza](https://community.mp3tag.de/u/M_Mirza)
#### Post date: [July 22, 2020, 8:59pm UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/99 "2020-07-22T20:59:27Z")

</div>

Same token of appreciation as above for me, @Romano. Please do not feel ashamed to send me your PayPal, as I'd also very happily contribute a tip for your efforts.

---

<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: [July 23, 2020, 8:01am UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/100 "2020-07-23T08:01:59Z")

</div>

No friend, i do it for the community, let me know if there is any changes.

---

<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 7, 2020, 10:45am UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/101 "2020-08-07T10:45:08Z")

</div>

[Fix for Notes error](https://github.com/romanoh/Mp3tag-Repository/commit/e266937734b217d029735e556f1bf227dfc319a2)  
[Fix for Media type in Index serch](https://github.com/romanoh/Mp3tag-Repository/commit/c321593db7c17e179e7a23bdf0e765a41d8e1e36)  
[Add: Set Artist = Albumartist](https://github.com/romanoh/Mp3tag-Repository/commit/9bc767678cb8caa3823ad9414a2ca45a55c3f5a6)  
[VGMdb#Search by &Album.src](https://community.mp3tag.de/uploads/short-url/8plX4FTxXG8NRNGZvFGWusCyZqo.src) (6.0 KB)

[Fix for Notes error](https://github.com/romanoh/Mp3tag-Repository/commit/3920cbffe69b59366c429ecddbc8b8201b39724b)  
[Add: Set Artist = Albumartist](https://github.com/romanoh/Mp3tag-Repository/commit/8119b9c91a9c1ef9efc90eec0d4a47c1f9086c6a)  
[VGMdb#U&RL.src](https://community.mp3tag.de/uploads/short-url/7ZFPbYus0Zc3YP7FHKb7j4GpnnJ.src) (5.0 KB)

---

<div class="post-metadata">

### Author: ![MaximusPanin](https://community.mp3tag.de/user_avatar/community.mp3tag.de/maximuspanin/32/7093_2.png) [@MaximusPanin](https://community.mp3tag.de/u/MaximusPanin)
#### Post date: [August 11, 2020, 8:34pm UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/102 "2020-08-11T20:34:40Z")

</div>

Hello.  
Are there instructions on how to activate this file in the program ? I unzipped the files in **Mp3tag \ data \ sources** , but the base did not appear in the program.

---

<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 11, 2020, 9:53pm UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/103 "2020-08-11T21:53:39Z")

</div>

- Drop the `VGMdb#Search by &Album.src ` file in your `appdata\roaming\mp3tag\data\sources` folder.
- Select all tracks `Ctrl-a`
- Click the Web Sources drop down button, select `vgmdb > Search by Album`

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

---

<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: [August 13, 2020, 4:47pm UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/104 "2020-08-13T16:47:06Z")

</div>

@Romano I'd like to propose a change to the script to make your life easier and potentially reduce errors.  
The MP3tag Web Sources Framework syntax supports an `[Include]` key. This allows you to import source script code into others, reducing code duplication as well as being less prone to errors. I added this key to `VGMdb#U&RL.src` and `VGMdb#Search by &Album.src`, pointing to a new file, `VGMdbAlbumParser.inc`. This way, when maintenance is needed on the album parser in the future, you only need to change that one file.  
I can't upload the files individually here because the format filter screens out `.inc` files, even though that's the same format the default `Discogs.inc` script uses. Regardless, here is a zip archive of them and I hope this does make things easier for you going forward:  
[VGMdbSources.zip](https://community.mp3tag.de/uploads/short-url/gyztoiz0HKuTO5kz5vGOL8k3wNo.zip) (3.1 KB)

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

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