[WS] vgmdb

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.

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?

The script is broken from my end.



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

https://gist.github.com/PBXg33k/7b80a86d53b922f0873a This one works pretty good. :slight_smile:

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

http://vgmdb.info/
https://github.com/hufman/vgmdb

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

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

1 Like

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 (19.0 KB)

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/" but that's low resolution, for the full resolution image the link should be: "https://media.vgm.io/"

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

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

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

but why do you want so big image?

1 Like

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

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

where did i miss the ?

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

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

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

IMHO cover art can't be big enough. :wink:
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.

I don't know, something about covers from 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...

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.

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

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
VGMdb#Search by &Album.src (5.2 KB)