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

<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:** [February 13, 2016, 5:09am UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/62 "2016-02-13T05:09:02Z")

</div>

I was wondering if it would be possible to have the script scrape the track numbers and appropriate disc numbers.

When I try to run a multi-disc batch through the script, it never grabs disc numbers, and the track numbers don't reset for the separate discs. It looks something like:

```
Original Disc/Track - New Disc/Track
Disc 1/Track 37 No Disc/Track 37
Disc 1/Track 38 No Disc/Track 38
Disc 2/Track 1 No Disc/Track 39
Disc 2/Track 2 No Disc/Track 40
etc etc etc etc

```

I looked through the script and XML, and it looks like it would be possible, but I don't really know enough about scripting to make it _do the work_. I'd also assume it would need some sort of counting/math function to determine what the total number of discs or tracks are, but that seems like gravy. Just raw numbers, like Disc 3/Track 6 would be great.

I looked through a few other scripts for reference, and it seems like most of them don't even grab those values, so I'm not sure if this is even possible, but I figured I'd ask. Would very much appreciate any help with this, thanks in advance.

---

<div class="post-metadata">

**Author:** ![Kareha](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/k/b487fb/32.png) [@Kareha](https://community.mp3tag.de/u/Kareha)\
**Post date:** [February 14, 2016, 4:25pm UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/63 "2016-02-14T16:25:10Z")

</div>

QUOTE (infocynic @ Jan 11 2016, 22:26) \<{POST\_SNAPBACK}\>

I am not the original script author, and I have tested this on exactly one album so far. But it's a really simple change you can all make yourselves and report any problems and maybe I'll post an updated version.

Go to the directory where you installed the script originally. Make a copy of any script you're changing (either move it to a new folder or you can just rename the one you change as BETA or something).

This is for the "VGMDB Search by Album" version 0.4 originally dated Jan 2 2013.

Open your favorite text editor. On line 88 you should see a section "coverurl". We're going to change that section down to where the comment #set coverurl is. Replace with this block:

```
# Coverurl
outputto "coverurl"
findline "id=\"coverart\""
findinline "background-image: url("
if "'"
    movechar 1
    sayuntil "'"
endif

# set "coverurl"

```

Save the file. You don't need to restart mp3tag if it's already running, but do at least cancel any open dialogs.

If you find a non-working example, please include the album title, the URL to find it at VGMDB, and a brief description or screenshot of what fields you are getting and what fields are blank.

Just wondering what this change does?

---

<div class="post-metadata">

**Author:** ![Redsama](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/r/df788c/32.png) [@Redsama](https://community.mp3tag.de/u/Redsama)\
**Post date:** [May 17, 2017, 11:06pm UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/64 "2017-05-17T23:06:51Z")

</div>

The script is broken from my end.

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

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

---

<div class="post-metadata">

**Author:** ![MDA999](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/b9bd4f/32.png) [@MDA999](https://community.mp3tag.de/u/MDA999)\
**Post date:** [July 9, 2017, 2:32pm UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/65 "2017-07-09T14:32:35Z")

</div>

The script doesn't work anymore, same problem as Redsama. May there be an update?

---

<div class="post-metadata">

**Author:** ![MDA999](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/b9bd4f/32.png) [@MDA999](https://community.mp3tag.de/u/MDA999)\
**Post date:** [July 9, 2017, 2:55pm UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/66 "2017-07-09T14:55:56Z")

</div>

[https://gist.github.com/PBXg33k/7b80a86d53b922f0873a](https://gist.github.com/PBXg33k/7b80a86d53b922f0873a) This one works pretty good. 🙂

---

<div class="post-metadata">

**Author:** ![apples](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/71c47a/32.png) [@apples](https://community.mp3tag.de/u/apples)\
**Post date:** [August 2, 2017, 8:07am UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/67 "2017-08-02T08:07:26Z")

</div>

this website made an api for vgmdb. (i think they mirrored the site and made an api)

[http://vgmdb.info/](http://vgmdb.info/)  
[https://github.com/hufman/vgmdb](https://github.com/hufman/vgmdb)

im not good with scripts, but maybe it can be used for this script. 😃

---

<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:** [May 28, 2019, 4:03pm UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/68 "2019-05-28T16:03:13Z")

</div>

I've updated the scripts in the initial topic so that it's working again.

---

<div class="post-metadata">

**Author:** ![xrotf314](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/x/c37758/32.png) [@xrotf314](https://community.mp3tag.de/u/xrotf314)\
**Post date:** [December 27, 2019, 6:17pm UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/69 "2019-12-27T18:17:44Z")

</div>

Dear dano,thanks for your work!  
I have made some .src file base on yours,tend to people who love acg music.[VGMdb\_Optimised\_Version.zip](https://community.mp3tag.de/uploads/short-url/r5OxLPwMKz0bySeOztYI6VGsGuR.zip) (19.0 KB)

---

<div class="post-metadata">

**Author:** ![HiddeNz08](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/h/ee59a6/32.png) [@HiddeNz08](https://community.mp3tag.de/u/HiddeNz08)\
**Post date:** [April 27, 2020, 7:23pm UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/70 "2020-04-27T19:23:55Z")

</div>

Is it just me that get's a low resolution image for cover art?

I found out that the url that it captures is from"[https://medium-media.vgm.io/](https://medium-media.vgm.io/)" but that's low resolution, for the full resolution image the link should be: "[https://media.vgm.io/](https://media.vgm.io/)"

Is it possible to change the code so that it uses the full resolution image instead of the lower one?

---

<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 27, 2020, 9:40pm UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/71 "2020-04-27T21:40:16Z")

</div>

Put this:  
replace "medium-" ""  
findinline "style="background-image: url("

below this:  
findinline "style="background-image: url("

but why do you want so big image?

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

---

<div class="post-metadata">

**Author:** ![HiddeNz08](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/h/ee59a6/32.png) [@HiddeNz08](https://community.mp3tag.de/u/HiddeNz08)\
**Post date:** [April 27, 2020, 10:00pm UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/72 "2020-04-27T22:00:19Z")

</div>

Does not work, it doesn't even find the album now.

edit: working now, you forgot a \. Thanks!

---

<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 27, 2020, 10:03pm UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/73 "2020-04-27T22:03:38Z")

</div>

where did i miss the ?

---

<div class="post-metadata">

**Author:** ![HiddeNz08](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/h/ee59a6/32.png) [@HiddeNz08](https://community.mp3tag.de/u/HiddeNz08)\
**Post date:** [April 27, 2020, 10:05pm UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/74 "2020-04-27T22:05:49Z")

</div>

> [@Romano](#):
>
> findinline "style="background-image: url("

findinline "style=\"background-image: url("

---

<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 27, 2020, 10:08pm UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/75 "2020-04-27T22:08:18Z")

</div>

weird i copy the line as you can see in the image. i am glad i help.

---

<div class="post-metadata">

**Author:** ![HiddeNz08](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/h/ee59a6/32.png) [@HiddeNz08](https://community.mp3tag.de/u/HiddeNz08)\
**Post date:** [April 28, 2020, 12:19am UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/76 "2020-04-28T00:19:15Z")

</div>

> [@Romano](#):
>
> but why do you want so big image?

I now see what you mean by that... I wanted the cover art to be not bigger but now it's too big. Do you know any way to get cover art from amazon? That's where I was getting them from before but It would be much easier if there was a src file to help the process...

---

<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 28, 2020, 8:30am UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/77 "2020-04-28T08:30:42Z")

</div>

> [@HiddeNz08](#):
>
> but now it's too big

IMHO cover art can't be big enough. 😉  
You know that Mp3tag can resize your cover(s) with a right click on a cover in the tag panel and "Adjust cover"? You can manually choose every size you want.

---

<div class="post-metadata">

**Author:** ![HiddeNz08](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/h/ee59a6/32.png) [@HiddeNz08](https://community.mp3tag.de/u/HiddeNz08)\
**Post date:** [April 28, 2020, 12:18pm UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/78 "2020-04-28T12:18:38Z")

</div>

I don't know, something about covers from [vgmdb.net](http://vgmdb.net) is odd, if I compare to the cover from amazon and other sites the image just seems to be a lot more saturated, and some times with the size of the cover it even lags a bit...

---

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

</div>

VGMDB has been getting a number of updates in the last couple of days that have broken the script, so if anyone is able to update it that would be appreciated.

---

<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 20, 2020, 5:37am UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/80 "2020-06-20T05:37:36Z")

</div>

Same here, some fields are empty or showing an error. ☹

 ![mp3tag](https://community.mp3tag.de/uploads/default/original/2X/c/cd93fc0c87b225765d30f18d114eb9d68b3df9e4.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 20, 2020, 6:22pm UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/81 "2020-06-20T18:22:20Z")

</div>

I have made some fast changes, and it is not fully tested, but it is a start.  
per example the artist is not good. i only test it whith this album: [https://vgmdb.net/album/100495](https://vgmdb.net/album/100495)  
[VGMdb#Search by &Album.src](https://community.mp3tag.de/uploads/short-url/ziOknu4m5pfUu0eJti1XBphqM6Y.src) (5.2 KB)

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

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