[WS] vgmdb


#61

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.


#62

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.


#63
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?


#64

The script is broken from my end.




#65

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


#66

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


#67

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: