# Get year given artist/song?

**URL:** https://community.mp3tag.de/t/get-year-given-artist-song/2772
**Category:** Web Sources Discussion
**Created:** [January 12, 2006, 11:26pm UTC](https://community.mp3tag.de/t/get-year-given-artist-song/2772 "2006-01-12T23:26:06Z")
**Posts on this page:** 1
**Showing post:** 9

<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: [November 8, 2010, 2:43pm UTC](https://community.mp3tag.de/t/get-year-given-artist-song/2772/9 "2010-11-08T14:43:35Z")

</div>

> [@yog-sothoth](#):
>
> I too would really like to have this option. Can anyone speculate whether this is at all possible to achieve?

Mp3Tag Web Scripts can only get tags for multiple songs if there is a database, which has stored the information about these songs in one place/under one URL. Most database have have one page for a album/release, so Mp3Tag scripts can only get information from one album/complilation/single in one go. It is no problem with the scripts if you don't have the complete album or only one track, the tracks will be tagged as if there was the whole album.

> [@23](#):
>
> Discogs often has the earliest release as the first search result - but not always. So it seems you need to compare all the possible dates and then keep the oldest one.  
> I would love to be able to select multiple songs, and the script should look up each one (by Artist and Title) and put the earliest found date into the "year" tag.

You can test my discogs script. You can search there for artist + title and you will get all releases by the artist with the title on it in the index, displayed with the release year, so you see which is the first release. Compilations are only shown there if you leave the artist blank or set it to "Various". I think dano's web script does this, too.

[[WS] Discogs (pone mod)](https://community.mp3tag.de/t/ws-discogs-pone-mod/9226)  
[[WS] Discogs Album search + VA](https://community.mp3tag.de/t/ws-discogs-album-search-va/1992)

> [@23](#):
>
> If its a compilation, you could put the release date of the compilation in another tag (comment?) or just add a second "year" tag.

You need a database which shows these two dates in one page. [Discogs.com](http://Discogs.com) does not do so.

If you can find a database which shows songs from different albums or release date + original date on one page, I will tell you if it possible to write a web scource script.

Note that AMG/allmusic.com has complained about scripts for their site, so these scripts are not allowed here anymore.

---

_[View the full topic](https://community.mp3tag.de/t/get-year-given-artist-song/2772)._
