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

<div class="post-metadata">

**Author:** ![Nisto](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/n/c37758/32.png) [@Nisto](https://community.mp3tag.de/u/Nisto)\
**Post date:** [May 5, 2010, 2:29am UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/21 "2010-05-05T02:29:18Z")

</div>

Hello again, I've been working around a little in these src files, and now I have another question for you...

I have merged all composers, arrangers, and performers into one tag - Artists. Unfortunately though, everybody's name are being repeated (obviously). What I'm wondering, is; is there a function or something that 'removes duplicates' from one line?

Here are the codes for the Composers, Arrangers and Performers lines:

```
# Composer
findline "<b>Composed by</b>"
outputto "Artist"
moveline 1
regexpreplace "<span class=\"artistname\" lang=\"en\" style=\"display:inline\">([^<]+)</span>" "$1"
regexpreplace "<span class=\"artistname\" lang=\"ja\" style=\"display:none\">.+?</span>" ""
regexpreplace "<a[^>]+>" ""
replace "</a>" ""
sayregexp "(?<=<td>)[^<]+(?=</td>)" ""
say ", "

# Arranged
findline "<b>Arranged by</b>"
outputto "Artist"
moveline 1
regexpreplace "<span class=\"artistname\" lang=\"en\" style=\"display:inline\">([^<]+)</span>" "$1"
regexpreplace "<span class=\"artistname\" lang=\"ja\" style=\"display:none\">.+?</span>" ""
regexpreplace "<a[^>]+>" ""
replace "</a>" ""
sayregexp "(?<=<td>)[^<]+(?=</td>)" ""
say ", "

# Performed
findline "<b>Performed by</b>"
outputto "Artist"
moveline 1
regexpreplace "<span class=\"artistname\" lang=\"en\" style=\"display:inline\">([^<]+)</span>" "$1"
regexpreplace "<span class=\"artistname\" lang=\"ja\" style=\"display:none\">.+?</span>" ""
regexpreplace "<a[^>]+>" ""
replace "</a>" ""
sayregexp "(?<=<td>)[^<]+(?=</td>)" ""
```

---

<div class="post-metadata">

**Author:** ![lizky](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/9dc877/32.png) [@lizky](https://community.mp3tag.de/u/lizky)\
**Post date:** [June 6, 2010, 11:10am UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/22 "2010-06-06T11:10:15Z")

</div>

I think you should be add [Encoding]=utf-8.  
Then if I can use Japanese to search.

---

<div class="post-metadata">

**Author:** ![Alcahest](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/8491ac/32.png) [@Alcahest](https://community.mp3tag.de/u/Alcahest)\
**Post date:** [August 14, 2010, 4:38pm UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/23 "2010-08-14T16:38:39Z")

</div>

The scripts in dano's first post are broken. The reason is that the layout code changed a little on VGMdb.

You can correct the scripts by editing them, see Dag's post:  
[http://vgmdb.net/forums/showpost.php?p=22310&postcount=5](http://vgmdb.net/forums/showpost.php?p=22310&postcount=5)

Later,

Alcahest

---

<div class="post-metadata">

**Author:** ![Ciel](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/a87d85/32.png) [@Ciel](https://community.mp3tag.de/u/Ciel)\
**Post date:** [November 1, 2010, 3:21am UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/24 "2010-11-01T03:21:30Z")

</div>

Since the last post is also the same date as the last script update, I assume that earlier fix was made.

After using it today, it seems that it won't pick up classification (genre), publisher, composer, arranged by, and performed by.

Did VGMdb change their page structure again?

---

<div class="post-metadata">

**Author:** ![dano](https://community.mp3tag.de/user_avatar/community.mp3tag.de/dano/32/6_2.png) [@dano](https://community.mp3tag.de/u/dano)\
**Post date:** [November 1, 2010, 5:53am UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/25 "2010-11-01T05:53:32Z")

</div>

I had no issue with Classification but I fixed the other fields.

---

<div class="post-metadata">

**Author:** ![Alcahest](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/8491ac/32.png) [@Alcahest](https://community.mp3tag.de/u/Alcahest)\
**Post date:** [July 21, 2011, 8:40pm UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/26 "2011-07-21T20:40:56Z")

</div>

There seem to be a bug when the album contains exactly 1 single track.  
In this case, the TITLE and TRACK tag show up under "Additional information" instead of the regular places.  
Exemple album: [http://vgmdb.net/album/25613](http://vgmdb.net/album/25613)  
Can anyone reproduce?

---

<div class="post-metadata">

**Author:** ![dano](https://community.mp3tag.de/user_avatar/community.mp3tag.de/dano/32/6_2.png) [@dano](https://community.mp3tag.de/u/dano)\
**Post date:** [July 22, 2011, 6:28pm UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/27 "2011-07-22T18:28:44Z")

</div>

That's normal.

---

<div class="post-metadata">

**Author:** ![Alcahest](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/8491ac/32.png) [@Alcahest](https://community.mp3tag.de/u/Alcahest)\
**Post date:** [July 22, 2011, 7:32pm UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/28 "2011-07-22T19:32:39Z")

</div>

Ah, strange but OK.

---

<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:** [March 11, 2012, 8:03pm UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/29 "2012-03-11T20:03:55Z")

</div>

Sorry to bump this old thread, but with regards to the album art, how would I go about telling the script to log me into my VGMDB account so it will grab the higher res art, can't seem to find anything in the script to add in my login details.

---

<div class="post-metadata">

**Author:** ![dano](https://community.mp3tag.de/user_avatar/community.mp3tag.de/dano/32/6_2.png) [@dano](https://community.mp3tag.de/u/dano)\
**Post date:** [March 11, 2012, 8:35pm UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/30 "2012-03-11T20:35:14Z")

</div>

That's not possible.

---

<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:** [March 11, 2012, 8:42pm UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/31 "2012-03-11T20:42:48Z")

</div>

Ok, thank you for the prompt reply 🙂

---

<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:** [December 10, 2012, 3:32pm UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/32 "2012-12-10T15:32:55Z")

</div>

Not sure if VGMDB have changed anything but all of a sudden the script isn't returning any tracklistings and other info like notes etc. Have tried numerous albums that I know are in their database but still get no tracklistings etc like before.

---

<div class="post-metadata">

**Author:** ![lalaz4](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/b77776/32.png) [@lalaz4](https://community.mp3tag.de/u/lalaz4)\
**Post date:** [January 1, 2013, 9:07pm UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/33 "2013-01-01T21:07:57Z")

</div>

Ya I'm having the same problem here. No tracklistings or other details that are usually provided. ☹

---

<div class="post-metadata">

**Author:** ![dano](https://community.mp3tag.de/user_avatar/community.mp3tag.de/dano/32/6_2.png) [@dano](https://community.mp3tag.de/u/dano)\
**Post date:** [January 1, 2013, 9:52pm UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/34 "2013-01-01T21:52:06Z")

</div>

I need examples.

---

<div class="post-metadata">

**Author:** ![lalaz4](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/b77776/32.png) [@lalaz4](https://community.mp3tag.de/u/lalaz4)\
**Post date:** [January 2, 2013, 1:33am UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/35 "2013-01-02T01:33:30Z")

</div>

When you go to change the tags using vgmdb not all the information is being found.

Here is a link to an example picture: [Picture](http://img96.imageshack.us/img96/8352/mp3tagexample.png)  
Here is a link to the album I'm using in the example picture: [Link](http://vgmdb.net/album/34240)

I know that all the albums I have tried are on the vgmdb but the same little amount of information is being retrieved.

---

<div class="post-metadata">

**Author:** ![dano](https://community.mp3tag.de/user_avatar/community.mp3tag.de/dano/32/6_2.png) [@dano](https://community.mp3tag.de/u/dano)\
**Post date:** [January 2, 2013, 10:30am UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/36 "2013-01-02T10:30:58Z")

</div>

Ok, new scripts are uploaded.

---

<div class="post-metadata">

**Author:** ![lalaz4](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/b77776/32.png) [@lalaz4](https://community.mp3tag.de/u/lalaz4)\
**Post date:** [January 2, 2013, 11:53am UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/37 "2013-01-02T11:53:11Z")

</div>

Thanks! It works beautifully!

---

<div class="post-metadata">

**Author:** ![Alcahest](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/8491ac/32.png) [@Alcahest](https://community.mp3tag.de/u/Alcahest)\
**Post date:** [January 2, 2013, 12:59pm UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/38 "2013-01-02T12:59:08Z")

</div>

Hi Dano,  
I have 1 small bug report and 1 small request, if possible.  
-bug: when I use "VGMdb#Search by &Album.src" and input "EINH **Ä** NDER" (without quotes), it yields no results (Album: Error). Isn't unicode supported to look for album names?

-request (which may partly be a bug): I would like to input the VGMdb "Composed by:" field into the "Artist" tag directly.  
So I altered the following code

```
# Composer
findline "<b>Composed by</b>"
outputto "Artist"
moveline 1
regexpreplace "<span title=\"[^\"]*\" class=\"artistname\" lang=\"en\" style=\"display:inline\">([^<]+)</span>" "$1"
regexpreplace "<span title=\"[^\"]*\" class=\"artistname\" lang=\"ja\" style=\"display:none\">.+?</span>" ""
regexpreplace "<a[^>]+>" ""
replace "</a>" ""
sayregexp "(?<=<td>)[^<]+(?=</td>)" ""

```

and removed the "# Performed" section completely, but the script always returns an empty field.  
What am I doing wrong?  
Thanks for your help,

Alcahest

---

<div class="post-metadata">

**Author:** ![dano](https://community.mp3tag.de/user_avatar/community.mp3tag.de/dano/32/6_2.png) [@dano](https://community.mp3tag.de/u/dano)\
**Post date:** [January 2, 2013, 3:18pm UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/39 "2013-01-02T15:18:13Z")

</div>

Scripts updated again.

---

<div class="post-metadata">

**Author:** ![Alcahest](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/8491ac/32.png) [@Alcahest](https://community.mp3tag.de/u/Alcahest)\
**Post date:** [January 2, 2013, 3:34pm UTC](https://community.mp3tag.de/t/ws-vgmdb/9731/40 "2013-01-02T15:34:15Z")

</div>

Thank you.

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

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