# \[WS\] Discogs Album search + VA

**URL:** https://community.mp3tag.de/t/ws-discogs-album-search-va/1992
**Category:** Web Sources Scripts
**Created:** [May 23, 2005, 12:08pm UTC](https://community.mp3tag.de/t/ws-discogs-album-search-va/1992 "2005-05-23T12:08:38Z")
**Posts on this page:** 20
**Page:** 5

<div class="post-metadata">

### Author: ![pone](https://community.mp3tag.de/user_avatar/community.mp3tag.de/pone/32/272_2.png) [@pone](https://community.mp3tag.de/u/pone)
#### Post date: [April 6, 2010, 1:56pm UTC](https://community.mp3tag.de/t/ws-discogs-album-search-va/1992/81 "2010-04-06T13:56:02Z")

</div>

Hi Dano

The extended info scripts don't find the Mixartists on discogs pages with this new audio player.  
(I've tested only with your &discogs#Release ID &extended.src script file. An example page with this problem is this: [http://www.discogs.com/Ada-Adaptations-Mix...release/1784316](http://www.discogs.com/Ada-Adaptations-Mixtape-1/release/1784316) )

This is because the command **_moveline 10 1_** leeds to an empty line. **_moveline 15 1_** would point to the right line, but leeds to the wrong line when there is no audio player on the discogs page.

I replaced the moveline with a findline command in my script which is based on yours. That works as far I have tested now.

So at the beginning of both (VA-mode and single artist mode) mixartist sections I replaced this:

```
            # Mixartist
            outputto "Mixartist"
        moveline 10 1
        unspace
        if "<tr class=\"track_extra_artists"

```

with this:

```
            # Mixartist
            outputto "Mixartist"
        findline "<tr"
        unspace
        if "<tr class=\"track_extra_artists"
```

---

<div class="post-metadata">

### Author: ![brandon210](https://community.mp3tag.de/user_avatar/community.mp3tag.de/brandon210/32/7232_2.png) [@brandon210](https://community.mp3tag.de/u/brandon210)
#### Post date: [April 6, 2010, 2:01pm UTC](https://community.mp3tag.de/t/ws-discogs-album-search-va/1992/82 "2010-04-06T14:01:53Z")

</div>

So what do we need to edit to get the tack names to appear 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: [April 6, 2010, 3:47pm UTC](https://community.mp3tag.de/t/ws-discogs-album-search-va/1992/83 "2010-04-06T15:47:44Z")

</div>

Thx pone, I've added it to the script.

brandon210: Just downlod the scripts again from the first post.

LaatR: I've fixed that issue.

---

<div class="post-metadata">

### Author: ![brandon210](https://community.mp3tag.de/user_avatar/community.mp3tag.de/brandon210/32/7232_2.png) [@brandon210](https://community.mp3tag.de/u/brandon210)
#### Post date: [April 6, 2010, 4:17pm UTC](https://community.mp3tag.de/t/ws-discogs-album-search-va/1992/84 "2010-04-06T16:17:29Z")

</div>

hmmm.. I just tried the new 'discogs' script, but it's still not workin:

![](http://i44.tinypic.com/oszi3s.jpg)

Is there something else I should be doing when I move that new file to the 'sources' folder?

---

<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: [April 9, 2010, 9:13am UTC](https://community.mp3tag.de/t/ws-discogs-album-search-va/1992/85 "2010-04-09T09:13:19Z")

</div>

There are probably two "sources" folders on your system and you've picked the wrong one.  
Read [/t/2748/1](https://community.mp3tag.de/t/2748/1)  
and try again.

---

<div class="post-metadata">

### Author: ![vvcepheus7](https://community.mp3tag.de/user_avatar/community.mp3tag.de/vvcepheus7/32/305_2.png) [@vvcepheus7](https://community.mp3tag.de/u/vvcepheus7)
#### Post date: [April 9, 2010, 10:58am UTC](https://community.mp3tag.de/t/ws-discogs-album-search-va/1992/86 "2010-04-09T10:58:05Z")

</div>

Dano a question please!

In the discogs script-album (& discogs # Search by & Album) would be possible to modify it so that only I cared a single specific tag? the other tags in my original mp3 I do not want to see changed and I just want to update a single tag, not all.

What you would have to erase lines to achieve this effect?

Thanks and greetings!

---

<div class="post-metadata">

### Author: ![vvcepheus7](https://community.mp3tag.de/user_avatar/community.mp3tag.de/vvcepheus7/32/305_2.png) [@vvcepheus7](https://community.mp3tag.de/u/vvcepheus7)
#### Post date: [April 9, 2010, 11:22am UTC](https://community.mp3tag.de/t/ws-discogs-album-search-va/1992/87 "2010-04-09T11:22:16Z")

</div>

I only want import one tag of discogs, not all tags. So, is it posible do it this with script only erase some lines of code? 🙂 this is the question

thank u dano!

---

<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: [April 9, 2010, 11:31am UTC](https://community.mp3tag.de/t/ws-discogs-album-search-va/1992/88 "2010-04-09T11:31:05Z")

</div>

You can erase lines, but I think there is a better way:  
Just go to the end of the script and add this for each field that you don't want:

set "artist"  
set "album"  
...

That sets artist and album tag blank and they don't get tagged.

---

<div class="post-metadata">

### Author: ![brandon210](https://community.mp3tag.de/user_avatar/community.mp3tag.de/brandon210/32/7232_2.png) [@brandon210](https://community.mp3tag.de/u/brandon210)
#### Post date: [April 9, 2010, 7:28pm UTC](https://community.mp3tag.de/t/ws-discogs-album-search-va/1992/89 "2010-04-09T19:28:05Z")

</div>

> [@dano](#):
>
> There are probably two "sources" folders on your system and you've picked the wrong one.  
> Read [/t/2748/1](https://community.mp3tag.de/t/2748/1)  
> and try again.

Success! Oddly, though, it doesn't want to connect for the Artist search, but will for the Release Number search.

---

<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: [April 9, 2010, 8:36pm UTC](https://community.mp3tag.de/t/ws-discogs-album-search-va/1992/90 "2010-04-09T20:36:32Z")

</div>

Please give the exact script name and what you enter in the search field.

---

<div class="post-metadata">

### Author: ![brandon210](https://community.mp3tag.de/user_avatar/community.mp3tag.de/brandon210/32/7232_2.png) [@brandon210](https://community.mp3tag.de/u/brandon210)
#### Post date: [April 10, 2010, 11:12am UTC](https://community.mp3tag.de/t/ws-discogs-album-search-va/1992/91 "2010-04-10T11:12:08Z")

</div>

Got it... 'cogs was just going slow.

Ya know, it would be cool if we could get Mp3tag to pull the 'Style' as the 'Genre'... I don't know about y'all, but I use the style AS the genre in my re-tagging.

---

<div class="post-metadata">

### Author: ![pone](https://community.mp3tag.de/user_avatar/community.mp3tag.de/pone/32/272_2.png) [@pone](https://community.mp3tag.de/u/pone)
#### Post date: [April 10, 2010, 9:41pm UTC](https://community.mp3tag.de/t/ws-discogs-album-search-va/1992/92 "2010-04-10T21:41:47Z")

</div>

> [@brandon210](#):
>
> Ya know, it would be cool if we could get Mp3tag to pull the 'Style' as the 'Genre'... I don't know about y'all, but I use the style AS the genre in my re-tagging.

Have a look of my modification of this script. I made all Discogs-Styles and Discogs-Genres into the Genre tag.  
[/t/9226/1](https://community.mp3tag.de/t/9226/1)

---

<div class="post-metadata">

### Author: ![brandon210](https://community.mp3tag.de/user_avatar/community.mp3tag.de/brandon210/32/7232_2.png) [@brandon210](https://community.mp3tag.de/u/brandon210)
#### Post date: [April 11, 2010, 9:53am UTC](https://community.mp3tag.de/t/ws-discogs-album-search-va/1992/93 "2010-04-11T09:53:23Z")

</div>

> [@pone](#):
>
> Have a look of my modification of this script. I made all Discogs-Styles and Discogs-Genres into the Genre tag.  
> [/t/9226/1](https://community.mp3tag.de/t/9226/1)

perfect!! thx. 🙂

---

<div class="post-metadata">

### Author: ![vvcepheus7](https://community.mp3tag.de/user_avatar/community.mp3tag.de/vvcepheus7/32/305_2.png) [@vvcepheus7](https://community.mp3tag.de/u/vvcepheus7)
#### Post date: [April 11, 2010, 11:28am UTC](https://community.mp3tag.de/t/ws-discogs-album-search-va/1992/94 "2010-04-11T11:28:08Z")

</div>

> [@dano](#):
>
> You can erase lines, but I think there is a better way:  
> Just go to the end of the script and add this for each field that you don't want:
> 
> set "artist"  
> set "album"  
> ...
> 
> That sets artist and album tag blank and they don't get tagged.

Thank you Dano! But one question more. I added this code in "discogs Search by Album":

```
set "DISCOGS_CATALOG"
set "DISCOGS_COUNTRY"
set "DISCOGS_CREDITS"
set "DISCOGS_NOTES"
set "DISCOGS_RELEASE_ID"
set "COUNTRY"
set "MEDIATYPE"
set "PUBLISHER"
set "MIXARTIST"
set "DISCNUMBER"
set "CATALOG NO"

set "ALBUM"
set "ARTIST"
set "BAND"
set "YEAR"

set "GENRE"
set "STYLE"

set "TITLE"
set "TRACK"
set "COVER"

```

In this case, mp3Tag writes the tag to the following fields:

title  
track  
cover art

What could be the cause? with the code I wrote up the program should leave these fields blank. How do I fix this?

Thanks Dano!

---

<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: [April 11, 2010, 11:41am UTC](https://community.mp3tag.de/t/ws-discogs-album-search-va/1992/95 "2010-04-11T11:41:05Z")

</div>

Try  
set "TRACKS"  
set "coverurl"

---

<div class="post-metadata">

### Author: ![vvcepheus7](https://community.mp3tag.de/user_avatar/community.mp3tag.de/vvcepheus7/32/305_2.png) [@vvcepheus7](https://community.mp3tag.de/u/vvcepheus7)
#### Post date: [April 11, 2010, 12:00pm UTC](https://community.mp3tag.de/t/ws-discogs-album-search-va/1992/96 "2010-04-11T12:00:58Z")

</div>

NOW WORK PERFECT! thank u Dano! 🙂

---

<div class="post-metadata">

### Author: ![Beluna](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/ed655f/32.png) [@Beluna](https://community.mp3tag.de/u/Beluna)
#### Post date: [April 29, 2010, 1:15pm UTC](https://community.mp3tag.de/t/ws-discogs-album-search-va/1992/97 "2010-04-29T13:15:04Z")

</div>

I want to change the script to add credits and notes to the credit field and leave the lyrics field with only lyrics.

Before upgrading to the latest mp3tag, I was able to download lyrics in it's own field, and credits and notes went to its individual fields. However, as you may know, after the update no information would show up in the track listing.

I'm using the script you provided, but it deletes, understandable, my lyrics and adds the credit info.

Being i had collected a lot of lyrics, I would like to keep them and modify your script to add credits and notes to the credit file.

Thanks

---

<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: [April 29, 2010, 1:28pm UTC](https://community.mp3tag.de/t/ws-discogs-album-search-va/1992/98 "2010-04-29T13:28:55Z")

</div>

My scripts here don't change lyrics tag, you must be using a different script!

---

<div class="post-metadata">

### Author: ![Beluna](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/ed655f/32.png) [@Beluna](https://community.mp3tag.de/u/Beluna)
#### Post date: [April 29, 2010, 4:57pm UTC](https://community.mp3tag.de/t/ws-discogs-album-search-va/1992/99 "2010-04-29T16:57:07Z")

</div>

Got it... i think I see where i went wrong. The current script I'm using is discogs.pone 2.2...in v2.45b I had another script...everything was working great... but when i upgraded to the current version 2.46a, I could no longer get track listing under artist & albums..

thanks

---

<div class="post-metadata">

### Author: ![igorshergin](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/i/e5b9ba/32.png) [@igorshergin](https://community.mp3tag.de/u/igorshergin)
#### Post date: [August 14, 2010, 5:30am UTC](https://community.mp3tag.de/t/ws-discogs-album-search-va/1992/100 "2010-08-14T05:30:35Z")

</div>

Yet another Discogs update - they added some junk to release\_id sell link. This fix works for me:

# Discogs\_Release\_ID

outputto "Discogs\_Release\_ID"  
-findline "release\_id="  
-findinline "release\_id="  
+findline "link rel="canonical""  
+findinline "/release/"  
saynextnumber

[Previous page](https://community.mp3tag.de/t/ws-discogs-album-search-va/1992.md?page=4)

[Next page](https://community.mp3tag.de/t/ws-discogs-album-search-va/1992.md?page=6)
