# \[WS\] VGMdb (extended)

**URL:** <https://community.mp3tag.de/t/ws-vgmdb-extended/59822>\
**Category:** Web Sources Scripts\
**Created:** [January 27, 2023, 5:18pm UTC](https://community.mp3tag.de/t/ws-vgmdb-extended/59822 "2023-01-27T17:18:01Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![GiFuJo](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/g/439d5e/32.png) [@GiFuJo](https://community.mp3tag.de/u/GiFuJo)\
**Post date:** [May 26, 2024, 5:05pm UTC](https://community.mp3tag.de/t/ws-vgmdb-extended/59822/21 "2024-05-26T17:05:26Z")

</div>

Hi there! Thanks for using the script!

I'll look into those reports probably next weekend.

---

<div class="post-metadata">

**Author:** ![GiFuJo](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/g/439d5e/32.png) [@GiFuJo](https://community.mp3tag.de/u/GiFuJo)\
**Post date:** [May 26, 2024, 6:18pm UTC](https://community.mp3tag.de/t/ws-vgmdb-extended/59822/22 "2024-05-26T18:18:51Z")

</div>

Actually, I just took a quick look:

- [https://vgmdb.net/album/17990](https://vgmdb.net/album/17990) fails because it does not contain a tracklist. The tracklist is read right after VGMDB\_ALL\_CREDITS and errors out because of that. No tracklist means no tagging, because I would need at least the number of tracks in an album to use dummy entries or recycle already used tags.
- [https://vgmdb.net/album/16205](https://vgmdb.net/album/16205) fails because VGMDB seems to have rewritten part of their page code... **This should affect all entries with more than one disc... ouch. This will take a while to fix.**
- [https://vgmdb.net/album/20429](https://vgmdb.net/album/20429) fails because I assumed that there would be at least one product associated with an entry. This is an easy fix.

---

<div class="post-metadata">

**Author:** ![alucardmage](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/977dab/32.png) [@alucardmage](https://community.mp3tag.de/u/alucardmage)\
**Post date:** [May 27, 2024, 5:00am UTC](https://community.mp3tag.de/t/ws-vgmdb-extended/59822/23 "2024-05-27T05:00:31Z")

</div>

I appreciate the quick peak into the issues. as for the first one (17990) that makes sense. most of the ones I have that errored on this tag were also missing a track list. I did find one that does have a tracklist, but still errored /album/77045 (sorry my last post got flagged for links I guess?) Not sure if that'll help find a way around it, or just complicate things more!

As for the second one, it appears they haven't changed it over for all as about 90% of my multidisc tags still worked. That probably means it's going to be even more complex (sorry!)

Great to hear about the 3rd one being an easy fix.

I am sure I had/will have a few more special case ones that I can throw your way if you're up for the challenge. You're a legend!

---

<div class="post-metadata">

**Author:** ![GiFuJo](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/g/439d5e/32.png) [@GiFuJo](https://community.mp3tag.de/u/GiFuJo)\
**Post date:** [June 2, 2024, 1:54pm UTC](https://community.mp3tag.de/t/ws-vgmdb-extended/59822/24 "2024-06-02T13:54:02Z")

</div>

Could you please check if the attached version fixes the second and third issue you raised?

I checked a few albums but I currently do not have the time to test a reliable number of albums myself, sorry.

[VGMdb\_by\_URL.src](https://community.mp3tag.de/uploads/short-url/pI5tIcWvcz0w7RaT82dkod0eAPk.src) (106.5 KB)

---

<div class="post-metadata">

**Author:** ![alucardmage](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/977dab/32.png) [@alucardmage](https://community.mp3tag.de/u/alucardmage)\
**Post date:** [June 2, 2024, 4:57pm UTC](https://community.mp3tag.de/t/ws-vgmdb-extended/59822/25 "2024-06-02T16:57:46Z")

</div>

At the moment, I don't have too many to test. But all the ones I did test are working fine. For those without a tracklist, is there no way to just have it only pull album tags? I'm not sure if that's possible, or something you'd even want to tackle. Again, thank you for addressing these two issues. I now have some work to do for all the albums I've tagged over the years.

---

<div class="post-metadata">

**Author:** ![GiFuJo](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/g/439d5e/32.png) [@GiFuJo](https://community.mp3tag.de/u/GiFuJo)\
**Post date:** [June 11, 2024, 2:54pm UTC](https://community.mp3tag.de/t/ws-vgmdb-extended/59822/26 "2024-06-11T14:54:40Z")

</div>

**Version 2.2.0-20240602**

- Fixed an error when there are no associated products for an album
- Fixed an error parsing multi-disc albums
- Added support for the "Music Credit" (VGMDB\_MAIN\_CREDITS\_MUSIC)

**Version 2.3.0-20240611**

- Added VGMDB\_TOTALTRACKS and VGMDB\_TOTALDISCS
- Added more fields to the default mapping

[VGMdb\_by\_URL.src](https://community.mp3tag.de/uploads/short-url/jiJvmUW6aeCW3aAJYV2VUmAWNQg.src) (113.4 KB)

---

<div class="post-metadata">

**Author:** ![alucardmage](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/977dab/32.png) [@alucardmage](https://community.mp3tag.de/u/alucardmage)\
**Post date:** [June 15, 2024, 2:17am UTC](https://community.mp3tag.de/t/ws-vgmdb-extended/59822/27 "2024-06-15T02:17:43Z")

</div>

I found a few albums with this "sub-title" track listing. I imagine this might be a bit difficult to tackle; any ideas?

/album/229  
/album/81915  
/album/81916  
/album/3847  
/album/3838  
/album/3860

just my personal preference, but I'd love to "ignore" them, as none of my tracks are split that way

I appreciate the follow-up releases. My collection and I thank you, immensely

---

<div class="post-metadata">

**Author:** ![GiFuJo](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/g/439d5e/32.png) [@GiFuJo](https://community.mp3tag.de/u/GiFuJo)\
**Post date:** [June 15, 2024, 12:17pm UTC](https://community.mp3tag.de/t/ws-vgmdb-extended/59822/28 "2024-06-15T12:17:27Z")

</div>

I've never encountered those... As you guessed this is pretty complicated and outside of the scope of this script as I would need to rewrite the whole handling of the disc section.

---

<div class="post-metadata">

**Author:** ![somethingx](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/f9ae1b/32.png) [@somethingx](https://community.mp3tag.de/u/somethingx)\
**Post date:** [August 9, 2024, 1:55am UTC](https://community.mp3tag.de/t/ws-vgmdb-extended/59822/29 "2024-08-09T01:55:39Z")

</div>

Hi GiFuJo, thanks for your script, it is absolutely fantastic. However I have encountered a bit trouble on getting artist's japanese name. Seems like the by default the script only get the artists' enligsh name rather than their japanese kanji/romanji name. Is there any fix for that? Thank you. Example is [https://vgmdb.net/album/81525](https://vgmdb.net/album/81525)  
 ![image](https://community.mp3tag.de/uploads/default/original/3X/9/e/9e025ba9c8eb9ac4ef2fde5bba6a2bca8a0139a4.png)  
 ![image](https://community.mp3tag.de/uploads/default/original/3X/c/9/c912c947a68558e98a9dcd704e66113752ef1848.png)

---

<div class="post-metadata">

**Author:** ![GiFuJo](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/g/439d5e/32.png) [@GiFuJo](https://community.mp3tag.de/u/GiFuJo)\
**Post date:** [August 15, 2024, 10:16am UTC](https://community.mp3tag.de/t/ws-vgmdb-extended/59822/31 "2024-08-15T10:16:01Z")

</div>

I've looked into it. Please try out the new version. It contains \_ORIGINAL and \_TRANSLATED versions for all credits. You can remap them starting from line 3518 or using the Tag to Tag converter feature.

Please test it out and report back any errors as I don't have time to do broad tests myself!

**Version 2.4.0-20240815**

- Added original and translated versions of all credits; translated versions are used by default

[VGMdb\_by\_URL.src](https://community.mp3tag.de/uploads/short-url/hVKWCBwn9qZgoTZqxOFMQ9YnvML.src) (122.9 KB)

---

<div class="post-metadata">

**Author:** ![GiFuJo](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/g/439d5e/32.png) [@GiFuJo](https://community.mp3tag.de/u/GiFuJo)\
**Post date:** [August 15, 2024, 10:22am UTC](https://community.mp3tag.de/t/ws-vgmdb-extended/59822/32 "2024-08-15T10:22:47Z")

</div>

Small update:

**Version 2.4.1-20240815**

- Fixed credits containing the "Uncredited" information

[VGMdb\_by\_URL.src](https://community.mp3tag.de/uploads/short-url/9bceKrPZxQzgKRr62AaCgrhT7un.src) (124.8 KB)

---

<div class="post-metadata">

**Author:** ![GiFuJo](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/g/439d5e/32.png) [@GiFuJo](https://community.mp3tag.de/u/GiFuJo)\
**Post date:** [August 15, 2024, 10:41am UTC](https://community.mp3tag.de/t/ws-vgmdb-extended/59822/33 "2024-08-15T10:41:30Z")

</div>

And another small update:

**Version 2.4.2-20240815**

- Fixed credit indicator in ALL\_CREDITS sometimes being translated and sometimes being not; this seems to be random behavior by VGMdb...

[VGMdb\_by\_URL.src](https://community.mp3tag.de/uploads/short-url/hizErtBPt84PEX5mOF5NKs0Eb3v.src) (125.2 KB)

---

<div class="post-metadata">

**Author:** ![somethingx](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/f9ae1b/32.png) [@somethingx](https://community.mp3tag.de/u/somethingx)\
**Post date:** [August 15, 2024, 10:15pm UTC](https://community.mp3tag.de/t/ws-vgmdb-extended/59822/34 "2024-08-15T22:15:26Z")

</div>

Hi GiFuJo, thank for your update.  
With the lastest 125.2KB script it is now possible to find the Kanji album artist info. Though there is a small imperfection exist, the VGMDB\_MAIN\_CREDITS\_MUSIC\_ORIGINAL tag seems to lock on the credit of track#1 of Disc1. Example is [https://vgmdb.net/album/81525](https://vgmdb.net/album/81525), where Kenji Kawai is the main composer and album artist for 51 out of 53 tracks, but the artist tag for songs of entire album seems lock on to the vocals of the track #1. Swapping the position of VGMDB\_MAIN\_CREDITS\_MUSIC\_ORIGINAL and VGMDB\_MAIN\_CREDITS\_VOCAL\_ORIGINAL does not make any differnce. Is the MUSIC\_ORIGINAL tag an standalone information provided directly by VGMDB or is it just a varaiable created by the script for mapping information only?  
Thank you

---

<div class="post-metadata">

**Author:** ![Onurtag](https://community.mp3tag.de/user_avatar/community.mp3tag.de/onurtag/32/10197_2.png) [@Onurtag](https://community.mp3tag.de/u/Onurtag)\
**Post date:** [August 16, 2024, 1:05am UTC](https://community.mp3tag.de/t/ws-vgmdb-extended/59822/35 "2024-08-16T01:05:11Z")

</div>

Thats likely because vgmdb doesn't provide credits for each track and instead it uses the notes box for all that.  
The script does its best to tag with the given information as the notes box is impossible to parse as anything can be typed in there.

---

<div class="post-metadata">

**Author:** ![GiFuJo](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/g/439d5e/32.png) [@GiFuJo](https://community.mp3tag.de/u/GiFuJo)\
**Post date:** [August 16, 2024, 2:46pm UTC](https://community.mp3tag.de/t/ws-vgmdb-extended/59822/36 "2024-08-16T14:46:06Z")

</div>

Exactly, VGMdb only provides track specific data for Tracknumber, Title and Length. All other data is for the whole album. Because of that you see lots of albums with track specific information plastered all over the comment/description.

I updated the script to account for some edgecases I found:

**Version 2.4.3-20240816**

- Fixed a few more edgecases with credits

[VGMdb\_by\_URL.src](https://community.mp3tag.de/uploads/short-url/wlSEYa7nRlqOlSW5nnPziGJMvHq.src) (126.0 KB)

---

<div class="post-metadata">

**Author:** ![somethingx](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/f9ae1b/32.png) [@somethingx](https://community.mp3tag.de/u/somethingx)\
**Post date:** [August 17, 2024, 6:50am UTC](https://community.mp3tag.de/t/ws-vgmdb-extended/59822/37 "2024-08-17T06:50:13Z")

</div>

Thats great to know, thank you again! So do with Onurtag's nice explaination, highly appreciate the fast responses from both of you!

---

<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 18, 2024, 6:10pm UTC](https://community.mp3tag.de/t/ws-vgmdb-extended/59822/38 "2024-08-18T18:10:30Z")

</div>

Thanks! I've been running my own modified version of the other script that I hacked together, so I'll try this one out and see how it goes. Being limited to only the first 8 CDs is a big negative though for things such as boxsets, can that be extended? The other VGMDB script doesn't seem to have a limit on it.

One of the fields I added myself is the Event, for doujin/special event releases.

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

```

I also added some regex replace to remove URLs from the notes.

```auto
regexpreplace "</a>" ""
regexpreplace "<a href=\"/album/[0-9]+\">" ""

```

---

<div class="post-metadata">

**Author:** ![GiFuJo](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/g/439d5e/32.png) [@GiFuJo](https://community.mp3tag.de/u/GiFuJo)\
**Post date:** [August 19, 2024, 4:52pm UTC](https://community.mp3tag.de/t/ws-vgmdb-extended/59822/39 "2024-08-19T16:52:10Z")

</div>

I didn't even realize the events... I'll look into including those in the next version.

I thought about removing HTML tags from the notes, but some music players actually seem to render those, so I'm not sure about changing the contents of notes.

---

<div class="post-metadata">

**Author:** ![GiFuJo](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/g/439d5e/32.png) [@GiFuJo](https://community.mp3tag.de/u/GiFuJo)\
**Post date:** [September 1, 2024, 11:29am UTC](https://community.mp3tag.de/t/ws-vgmdb-extended/59822/40 "2024-09-01T11:29:39Z")

</div>

**Version 2.4.4-20240901**

- Remove HTML tags from Notes/Description (VGMDB\_NOTES)
- Added "Release Event" (VGMDB\_RELEASE\_EVENT)

[VGMdb\_by\_URL.src](https://community.mp3tag.de/uploads/short-url/v0zSy0dPI9cBFnFrRw6RkZravES.src) (127.2 KB)

As always, please report back any URLs not working.

---

<div class="post-metadata">

**Author:** ![GiFuJo](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/g/439d5e/32.png) [@GiFuJo](https://community.mp3tag.de/u/GiFuJo)\
**Post date:** [September 1, 2024, 11:36am UTC](https://community.mp3tag.de/t/ws-vgmdb-extended/59822/41 "2024-09-01T11:36:22Z")

</div>

Small hotfix:

**Version 2.4.5-20240901**

- Fixed an error when Notes/Description is empty

[VGMdb\_by\_URL.src](https://community.mp3tag.de/uploads/short-url/2nQ59mhGDm89wNkt0osAqKSCCe7.src) (127.3 KB)

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

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