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

<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:** [March 15, 2025, 7:53am UTC](https://community.mp3tag.de/t/ws-vgmdb-extended/59822/62 "2025-03-15T07:53:52Z")

</div>

**Version 2.6.0-20250315**

- TOTALTRACKS is enabled again and should display the correct number of tracks across all discs

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

Shout-out to @yorickausyps for his "counting tracks" example detailed [here](https://community.mp3tag.de/t/counting-tracks/66246).

---

<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:** [March 23, 2025, 7:35am UTC](https://community.mp3tag.de/t/ws-vgmdb-extended/59822/63 "2025-03-23T07:35:15Z")

</div>

**2.6.2-20250323**

- Fixed an issue with the credit section sometimes containing excess spaces and HTML tags

**2.6.1-20250316**

- TOTALTRACKS is now also written to the default TOTALTRACKS field in addition to VGMDB\_TOTALTRACKS

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

---

<div class="post-metadata">

**Author:** ![jacef](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/j/ba9def/32.png) [@jacef](https://community.mp3tag.de/u/jacef)\
**Post date:** [April 30, 2025, 9:34am UTC](https://community.mp3tag.de/t/ws-vgmdb-extended/59822/64 "2025-04-30T09:34:12Z")

</div>

Hi there, thank you very much for the script, very useful. I've used it successfully to change the Titles and Album fields from English to Japanese.

I am now trying to set the Track field to display the number of the track out of the total number of tracks in a disc, for example, instead of displaying 01, 02, 03, etc., I want the field to display 01/08, 02/08, 03/08, etc (always making sure that if the value is single digit, it is preceded by a "0"). Likewise, I also wish to do something similar for the Discnumber field, change from 1, 2, 3, to 1/3, 2/3, 3/3.

So far, I've tried changing the mapping section from lines 3763 to 3774 to:

```auto
OutputTo "TRACK"
IfOutput "VGMDB_TRACK_NUMBER_ROM"
  SayOutput "VGMDB_TRACK_NUMBER_ROM""/""VGMDB_TOTALTRACKS"
Else
  IfOutput "VGMDB_TRACK_NUMBER_ENG"
    SayOutput "VGMDB_TRACK_NUMBER_ENG"
  Else
    IfOutput "VGMDB_TRACK_NUMBER_JAP"
      SayOutput "VGMDB_TRACK_NUMBER_JAP"
    EndIf
  EndIf
EndIf

```

and

```auto
OutputTo "TRACK"
IfOutput "VGMDB_TRACK_NUMBER_ROM"
  SayOutput "VGMDB_TRACK_NUMBER_ROM/VGMDB_TOTALTRACKS"
Else
  IfOutput "VGMDB_TRACK_NUMBER_ENG"
    SayOutput "VGMDB_TRACK_NUMBER_ENG"
  Else
    IfOutput "VGMDB_TRACK_NUMBER_JAP"
      SayOutput "VGMDB_TRACK_NUMBER_JAP"
    EndIf
  EndIf
EndIf

```

However, with these changes I'm not getting the desired results. Would the solution require using regular expressions? Or am I completely lost? Please excuse me if this is a silly thing to be asking, it's my first time using scrpits for mp3tag.

---

<div class="post-metadata">

**Author:** ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)\
**Post date:** [April 30, 2025, 10:32am UTC](https://community.mp3tag.de/t/ws-vgmdb-extended/59822/65 "2025-04-30T10:32:11Z")

</div>

> [@jacef](#):
>
> However, with these changes I'm not getting the desired results.

What would be the expected result in TRACK?  
The content of VGMDB\_TRACK\_NUMBER\_ROM followed by a slash and followed by the content of VGMDB\_TOTALTRACKS?  
What kind of music files to you use? mp3? FLAC? Some other format?

---

<div class="post-metadata">

**Author:** ![jacef](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/j/ba9def/32.png) [@jacef](https://community.mp3tag.de/u/jacef)\
**Post date:** [April 30, 2025, 4:32pm UTC](https://community.mp3tag.de/t/ws-vgmdb-extended/59822/66 "2025-04-30T16:32:32Z")

</div>

> What would be the expected result in TRACK?

Yes, it would be, as you mentioned, the content of VGMDB\_TRACK\_NUMBER\_ROM followed by a slash and followed by the content of VGMDB\_TOTALTRACKS, for the Track field. That, as well as the content of VGMDB\_DISC\_NUMBER followed by a slash and followed by the content of GMDB\_TOTALDISCS for the Discnumber field.

> What kind of music files to you use? mp3? FLAC? Some other format?

I am using mostly mp3 files, with the occasional FLAC, m4a and WAV files.

---

<div class="post-metadata">

**Author:** ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)\
**Post date:** [April 30, 2025, 4:39pm UTC](https://community.mp3tag.de/t/ws-vgmdb-extended/59822/67 "2025-04-30T16:39:49Z")

</div>

I don't know this script exactly.

In my own (non VGMdb) script I use these lines to separate the tracknumber from a total track counter with a slash:

```auto
...
outputto "TRACK"
   sayrest
...
ifOutput "MB_Media_TrackCount"
   say "/"                        
   sayoutput "MB_Media_TrackCount"
endif

```

---

<div class="post-metadata">

**Author:** ![jacef](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/j/ba9def/32.png) [@jacef](https://community.mp3tag.de/u/jacef)\
**Post date:** [April 30, 2025, 6:22pm UTC](https://community.mp3tag.de/t/ws-vgmdb-extended/59822/68 "2025-04-30T18:22:51Z")

</div>

Thank you, I've tried several ways of adapting the script similar to what you mentioned, but I am still getting the same results. I'll keep playing around with it, I'm probably messing up somewhere.

---

<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 1, 2025, 8:23am UTC](https://community.mp3tag.de/t/ws-vgmdb-extended/59822/69 "2025-05-01T08:23:22Z")

</div>

The script currently does not retrieve the total number of tracks for each disc. TOTALTRACKS instead counts all tracks across all discs. Let's take an album with 3 discs each containing 12 tracks. Track 3 of disc 2 in this album would have the following metadata:

- TRACK: 3
- DISCNUMBER: 2
- TOTALTRACKS: 36
- TOTALDISCS: 3

It will not however give you the information that disc 2 has 12 tracks total, so I don't think you can create the numbering you want.

If I overhaul the track section of the script in the future I may add the track total for each disc as an additional field but no promises there. VGMdb _should_ get an API this year so it should be far easier to create a robust tagging source script using that at later date.

---

<div class="post-metadata">

**Author:** ![jacef](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/j/ba9def/32.png) [@jacef](https://community.mp3tag.de/u/jacef)\
**Post date:** [May 1, 2025, 4:31pm UTC](https://community.mp3tag.de/t/ws-vgmdb-extended/59822/70 "2025-05-01T16:31:38Z")

</div>

I see, thanks for clarifying. The auto-numbering wizard function has been useful for a lot of releases, but there are some cases where, for silly reasons on my end, such a feature could help. Regardless, thank you very much for the script!

---

<div class="post-metadata">

**Author:** ![Vergil\_Vespertine](https://community.mp3tag.de/user_avatar/community.mp3tag.de/vergil_vespertine/32/21362_2.png) [@Vergil\_Vespertine](https://community.mp3tag.de/u/Vergil_Vespertine)\
**Post date:** [July 11, 2025, 2:22pm UTC](https://community.mp3tag.de/t/ws-vgmdb-extended/59822/71 "2025-07-11T14:22:51Z")

</div>

Just got the script, thanks, is there a way to make it write the track titles in english not Romaji?

---

<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:** [July 12, 2025, 4:18am UTC](https://community.mp3tag.de/t/ws-vgmdb-extended/59822/72 "2025-07-12T04:18:35Z")

</div>

You can change line 3780 and following lines from

```auto
OutputTo "TRACKS"
IfOutput "VGMDB_TRACK_TITLE_ROM"
  SayOutput "VGMDB_TRACK_TITLE_ROM"
Else
  IfOutput "VGMDB_TRACK_TITLE_ENG"
    SayOutput "VGMDB_TRACK_TITLE_ENG"
  Else
    IfOutput "VGMDB_TRACK_TITLE_JAP"
      SayOutput "VGMDB_TRACK_TITLE_JAP"
    EndIf
  EndIf
EndIf

```

To

```auto
OutputTo "TRACKS"
IfOutput "VGMDB_TRACK_TITLE_ENG"
  SayOutput "VGMDB_TRACK_TITLE_ENG"
Else
  IfOutput "VGMDB_TRACK_TITLE_ROM"
    SayOutput "VGMDB_TRACK_TITLE_ROM"
  Else
    IfOutput "VGMDB_TRACK_TITLE_JAP"
      SayOutput "VGMDB_TRACK_TITLE_JAP"
    EndIf
  EndIf
EndIf

```

---

<div class="post-metadata">

**Author:** ![Rickroll10000](https://community.mp3tag.de/user_avatar/community.mp3tag.de/rickroll10000/32/16601_2.png) [@Rickroll10000](https://community.mp3tag.de/u/Rickroll10000)\
**Post date:** [September 4, 2025, 12:15am UTC](https://community.mp3tag.de/t/ws-vgmdb-extended/59822/73 "2025-09-04T00:15:43Z")

</div>

this solution doesn’t work when I try it.

---

<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 11, 2025, 9:57am UTC](https://community.mp3tag.de/t/ws-vgmdb-extended/59822/74 "2025-09-11T09:57:30Z")

</div>

You mean changing the default track title language? If you have trouble editing the script you could also use the build-in Tag-to-Tag-Converter tool (Menu Convert –\> Tag - Tag):

Field: TITLE

Format string: %VGMDB\_TRACK\_TITLE\_ENG%

---

<div class="post-metadata">

**Author:** ![neontinkerbell](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/n/aeb1de/32.png) [@neontinkerbell](https://community.mp3tag.de/u/neontinkerbell)\
**Post date:** [November 30, 2025, 5:40am UTC](https://community.mp3tag.de/t/ws-vgmdb-extended/59822/75 "2025-11-30T05:40:25Z")

</div>

Commenting so that anyone following this doesn’t also have to spend an afternoon troubleshooting this. Even if Mp3tag is installed in Programs folder, it will be copied to Roaming which is then set as the primary folder. Any updates to the sources folder in Program Folders will be ignored, making it appear that any changes to those files are not working.

Once you have set your preferences by editing the VGMdb\_by\_URL.src file, it needs to be copied to C:\Users\[USERNAME]\AppData\Roaming\Mp3tag\data\sources

---

<div class="post-metadata">

**Author:** ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)\
**Post date:** [November 30, 2025, 9:49am UTC](https://community.mp3tag.de/t/ws-vgmdb-extended/59822/76 "2025-11-30T09:49:04Z")

</div>

The easiest way to get the correct configuration folder would still be to use  
`File>Open configuration folder`  
This opens the explorer in the correct folder for the standard installation and also for the portable installation.

---

<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:** [February 10, 2026, 5:15am UTC](https://community.mp3tag.de/t/ws-vgmdb-extended/59822/77 "2026-02-10T05:15:50Z")

</div>

It looks like vgmdb has implemented anti-bot measures, and this is no longer working. I have another app impacted by this, so I’ll also be looking for a work-around.

edit: thanks to illidanz in discord, it works again

---

<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 10, 2026, 7:13am UTC](https://community.mp3tag.de/t/ws-vgmdb-extended/59822/78 "2026-02-10T07:13:16Z")

</div>

Came here to report that same issue, hope it can get resolved.

---

<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:** [February 11, 2026, 2:22pm UTC](https://community.mp3tag.de/t/ws-vgmdb-extended/59822/79 "2026-02-11T14:22:20Z")

</div>

I’m (luckily) not affected by this and I don’t know if Mp3tag can circumvent these anti-bot measures… Maybe you could somehow use the cloudflare cookie, but that’s probably way over my head.

Best bet is probably waiting for the API they announced last summer, but so far I haven’t heard any news on that.

---

<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:** [February 15, 2026, 1:34pm UTC](https://community.mp3tag.de/t/ws-vgmdb-extended/59822/81 "2026-02-15T13:34:04Z")

</div>

Everyone _should_ be fine. I talked to one of the vgmdb devs, and mp3tag is fine because (presumably?) it uses your cookies from your browser in this instance. In any case no need to fret, it was patched up quickly. Thanks as always for your help GiFuJo!

---

<div class="post-metadata">

**Author:** ![secondsabre](https://community.mp3tag.de/user_avatar/community.mp3tag.de/secondsabre/32/8215_2.png) [@secondsabre](https://community.mp3tag.de/u/secondsabre)\
**Post date:** [March 6, 2026, 4:34pm UTC](https://community.mp3tag.de/t/ws-vgmdb-extended/59822/82 "2026-03-06T16:34:22Z")

</div>

Seems like script has a bit of a problem when it runs into an album without a defined ‘BARCODE’ entry in VGMdb, like  
[https://vgmdb.net/album/1590](https://vgmdb.net/album/1590) or [https://vgmdb.net/album/5321](https://vgmdb.net/album/5321)

It just spits out an error in the tag information window, and then stops running down the script so stuff like track lists never get populated. I’d assume this should be easy enough to fix by telling the script to ignore the field if it can’t find it? I don’t know anything about scripting, but I’ll poke around.

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

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