# \[WS\] iTunes

**URL:** https://community.mp3tag.de/t/ws-itunes/13478
**Category:** Web Sources Scripts
**Created:** [May 24, 2012, 10:05am UTC](https://community.mp3tag.de/t/ws-itunes/13478 "2012-05-24T10:05:22Z")
**Posts on this page:** 20
**Page:** 6

<div class="post-metadata">

### Author: ![AppleAddict](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/3ec8ea/32.png) [@AppleAddict](https://community.mp3tag.de/u/AppleAddict)
#### Post date: [July 25, 2014, 3:13pm UTC](https://community.mp3tag.de/t/ws-itunes/13478/101 "2014-07-25T15:13:53Z")

</div>

Would it be possible to make a script for movies to put tags on iTunes Movie mp4 video ?

---

<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: [July 27, 2014, 4:43pm UTC](https://community.mp3tag.de/t/ws-itunes/13478/102 "2014-07-27T16:43:51Z")

</div>

I guess so. But I don't have any experience wiht mp4 video files. Don't know how Mp3tag treats the tag field names there.  
If you send me the link to a example page at iTunes and write me what information should get into what tag field, I will have a look into this when I find some time.

---

<div class="post-metadata">

### Author: ![ITPR](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/i/7ab992/32.png) [@ITPR](https://community.mp3tag.de/u/ITPR)
#### Post date: [August 11, 2014, 4:50am UTC](https://community.mp3tag.de/t/ws-itunes/13478/103 "2014-08-11T04:50:38Z")

</div>

i have a number of music videos that i accidentally removed the artwork from using mp3tag.

does anyone know how to get bigger artwork images for iTunes Music Videos from the itunes site using mp3tag... for a standard M4V file the embedded artwork is normally 640x480 but on the site the picture only shows as 227x170!

i tried changing the values of the image url but cannot find an alternative value that shows a bigger image

is there a method to show the bigger image size so it can be added to the file missing the artwork.

thanks in advance

---

<div class="post-metadata">

### Author: ![ITPR](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/i/7ab992/32.png) [@ITPR](https://community.mp3tag.de/u/ITPR)
#### Post date: [October 26, 2014, 5:20pm UTC](https://community.mp3tag.de/t/ws-itunes/13478/104 "2014-10-26T17:20:45Z")

</div>

Does anyone know what to change in the script to enable artwork at 1400Xx1400 instead of the 600x600 it shows at present?

code for artwork...

outputto "COVERURL"  
replace "100x100" "600x600"  
sayregexp "(?\<="artworkUrl100":").+?(?=")" ", " ""}"

simply changing the 600x600 to 1400x1400 doesn't work

---

<div class="post-metadata">

### Author: ![poster](https://community.mp3tag.de/user_avatar/community.mp3tag.de/poster/32/4881_2.png) [@poster](https://community.mp3tag.de/u/poster)
#### Post date: [October 26, 2014, 6:14pm UTC](https://community.mp3tag.de/t/ws-itunes/13478/105 "2014-10-26T18:14:06Z")

</div>

> [@ITPR](#):
>
> replace "100x100" "600x600"
> 
> simply changing the 600x600 to 1400x1400 doesn't work

I don't think that you can get this from Itunes.  
Changing to 1200x1200 will work.

---

<div class="post-metadata">

### Author: ![ITPR](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/i/7ab992/32.png) [@ITPR](https://community.mp3tag.de/u/ITPR)
#### Post date: [October 27, 2014, 7:17am UTC](https://community.mp3tag.de/t/ws-itunes/13478/106 "2014-10-27T07:17:23Z")

</div>

> [@poster](#):
>
> I don't think that you can get this from Itunes.  
> Changing to 1200x1200 will work.

thanks for that

the thing is itunes images can be viewed at 1400x1400 so is it possible to alter the script to do this?

an example

image taken from here [https://itunes.apple.com/gb/artist/led-zeppelin/id994656](https://itunes.apple.com/gb/artist/led-zeppelin/id994656)

Led Zeppelin - Mothership (Remastered) 100x100 [http://a5.mzstatic.com/eu/r30/Music2/v4/c5...ver100x100.jpeg](http://a5.mzstatic.com/eu/r30/Music2/v4/c5/89/f5/c589f598-6521-a71d-39fa-e05bcdad2bee/cover100x100.jpeg)

change the 100x100 in the url to 1400x1400 [http://a5.mzstatic.com/eu/r30/Music2/v4/c5...r1400x1400.jpeg](http://a5.mzstatic.com/eu/r30/Music2/v4/c5/89/f5/c589f598-6521-a71d-39fa-e05bcdad2bee/cover1400x1400.jpeg)

---

<div class="post-metadata">

### Author: ![poster](https://community.mp3tag.de/user_avatar/community.mp3tag.de/poster/32/4881_2.png) [@poster](https://community.mp3tag.de/u/poster)
#### Post date: [December 8, 2014, 8:54am UTC](https://community.mp3tag.de/t/ws-itunes/13478/107 "2014-12-08T08:54:10Z")

</div>

Hi pone,

of all available scripts I use your itunes-script the most.  
It is very comfortable that the complete number of tracks is listed in the window with the search-results, if there is more than 1 result or you just enter only the artist.

This number ist accurate nearly all the time but sometimes the number is just one number too high and if you select this special album the tag-information windows shows the correct amount of tracks.  
Is this only a fault of iTunes or is it something that can be fixed in the script?

Example:  
Artist: Ethan Johns  
Album: If Not Now Then When?

Search results: 11 Tracks  
Correct track-numbers: 10

---

<div class="post-metadata">

### Author: ![baskinghobo](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/5f9b8f/32.png) [@baskinghobo](https://community.mp3tag.de/u/baskinghobo)
#### Post date: [January 14, 2015, 11:29am UTC](https://community.mp3tag.de/t/ws-itunes/13478/108 "2015-01-14T11:29:36Z")

</div>

This site scrapes itune album covers - [http://bendodson.com/code/itunes-artwork-finder/](http://bendodson.com/code/itunes-artwork-finder/) . Maybe you could get it off there or even ask the guy how he did it.

---

<div class="post-metadata">

### Author: ![fappo.92](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/f/898d66/32.png) [@fappo.92](https://community.mp3tag.de/u/fappo.92)
#### Post date: [January 24, 2015, 2:05pm UTC](https://community.mp3tag.de/t/ws-itunes/13478/109 "2015-01-24T14:05:25Z")

</div>

Hello,

first of all I'm very impressed of your script. I love it.

Second I wanted to ask if it's possible to add the ITUNESADVISORY tag, which shows if it's a clean version or an explicit version or none of all.

And last of all I wanted to know if it's possible to add TOTALDISC and TOTALTRACK to the script.

Thanks for your answers.

Best regards

EDIT: on my iphone the copyright tag is not shown, what do I wrong. Sorry for all the questions but I'm beginner.

---

<div class="post-metadata">

### Author: ![airjrdn](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/ac91a4/32.png) [@airjrdn](https://community.mp3tag.de/u/airjrdn)
#### Post date: [January 26, 2015, 10:57pm UTC](https://community.mp3tag.de/t/ws-itunes/13478/110 "2015-01-26T22:57:11Z")

</div>

Did a quick test using ACDC Flick of the Switch. The year returned in the script was 2012. The year returned from the following URL was correct (Released: Aug 1983) - [https://itunes.apple.com/us/album/flick-of-...tch/id574053085](https://itunes.apple.com/us/album/flick-of-the-switch/id574053085)

Is the script still up to date?

Thanks

---

<div class="post-metadata">

### Author: ![poster](https://community.mp3tag.de/user_avatar/community.mp3tag.de/poster/32/4881_2.png) [@poster](https://community.mp3tag.de/u/poster)
#### Post date: [January 27, 2015, 5:47am UTC](https://community.mp3tag.de/t/ws-itunes/13478/111 "2015-01-27T05:47:21Z")

</div>

The script looks for the releasedate and translates this into year.  
Obviously iTunes delivers 2012 as releasedate.

Have a look at other web-sources like Amazon, Musik-Sammler, discogs ...  
They all deliver different years for the same album.  
That is because the releasedate is not the date of the first release but the date/year of an actual release.

You can buy the same CD over the years and you often get different years on the label.  
In addition there may be digital releases, remasters, Deluxe-releases, Anniversary-releases, different country releases ...

So it is very difficult to say "This is the correct release-year" because you first have to define which release-date you really mean.  
Should your year-tags list an album like "Beatles: Sergeant Pepper", which was first released in 1967 as an analog album (long before the inventions of CDs) as 1967, or of the realease date of the first CD-release or the remasters of later years or of the first release of mp3s at iTunes?

---

<div class="post-metadata">

### Author: ![airjrdn](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/ac91a4/32.png) [@airjrdn](https://community.mp3tag.de/u/airjrdn)
#### Post date: [January 27, 2015, 11:29am UTC](https://community.mp3tag.de/t/ws-itunes/13478/112 "2015-01-27T11:29:49Z")

</div>

I looked at the script, and here's a look at what's returned by iTunes:

```
{
 "resultCount":1,
 "results": [
{"wrapperType":"collection", "collectionType":"Album", "artistId":5040714, "collectionId":574053085, "amgArtistId":3496, "artistName":"AC/DC", "collectionName":"Flick of the Switch", "collectionCensoredName":"Flick of the Switch", "artistViewUrl":"https://itunes.apple.com/us/artist/ac-dc/id5040714?uo=4", "collectionViewUrl":"https://itunes.apple.com/us/album/flick-of-the-switch/id574053085?uo=4", "artworkUrl60":"http://a4.mzstatic.com/us/r30/Features4/v4/79/ed/d8/79edd88e-66d9-0962-8866-71ac5724e753/dj.fbzqrhbc.60x60-50.jpg", "artworkUrl100":"http://a2.mzstatic.com/us/r30/Features4/v4/79/ed/d8/79edd88e-66d9-0962-8866-71ac5724e753/dj.fbzqrhbc.100x100-75.jpg", "collectionPrice":9.99, "collectionExplicitness":"notExplicit", "trackCount":11, "copyright":"℗ 1983 Leidseplein Presse B.V.", "country":"USA", "currency":"USD", "releaseDate":"2012-11-19T08:00:00Z", "primaryGenreName":"Rock"}]
}

```

I'm not familiar with mp3tag scripting or it's support for regular expressions, but here's the seemingly meaningful the portion of the code:

```
regexpreplace "(\d\d\d\d),?" "<<<year$1>>>"
findinline "\"copyright\":\"" 1 1
ifnot "<<<year"
    gotochar 1
    sayregexp "(?<=\"releaseDate\":\"<<<year)\d\d\d\d(?=>>>)" ", " "}"
else
    gotochar 1
endif

```

See any adjustment(s) that could be made to capture 1983 out of that data returned by iTunes?

---

<div class="post-metadata">

### Author: ![poster](https://community.mp3tag.de/user_avatar/community.mp3tag.de/poster/32/4881_2.png) [@poster](https://community.mp3tag.de/u/poster)
#### Post date: [January 27, 2015, 1:10pm UTC](https://community.mp3tag.de/t/ws-itunes/13478/113 "2015-01-27T13:10:31Z")

</div>

1983 is part of the Copyright.  
It may be not very purposeful to take the copyright year.  
Just take the itunes-script and manually change the search field to ACDC only.  
Then you get listed a lot of their albums.  
Just have a look at the copyright-column. There are a lot lot of albums which up to 19 difeerent years for the copyright.

---

<div class="post-metadata">

### Author: ![airjrdn](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/ac91a4/32.png) [@airjrdn](https://community.mp3tag.de/u/airjrdn)
#### Post date: [January 27, 2015, 1:21pm UTC](https://community.mp3tag.de/t/ws-itunes/13478/114 "2015-01-27T13:21:18Z")

</div>

I see what you're talking about.

It if simply grabbed the earliest year, that would probably be "good enough". I realize there can also be different years for a song (remastered, etc.), but the most meaningful to me, is when the song came out. If a song came out in 1983, and was remastered in 2008, I would expect it to be in my 1980s decade of music, not in my 2000s. That's really the reason I'm needing this...to add the decade to the genre. It's easy to append it in MP3Tag if the year (or original year) is set, but setting it in the first place proving difficult.

---

<div class="post-metadata">

### Author: ![poster](https://community.mp3tag.de/user_avatar/community.mp3tag.de/poster/32/4881_2.png) [@poster](https://community.mp3tag.de/u/poster)
#### Post date: [January 27, 2015, 1:54pm UTC](https://community.mp3tag.de/t/ws-itunes/13478/115 "2015-01-27T13:54:19Z")

</div>

> [@airjrdn](#):
>
> It if simply grabbed the earliest year, that would probably be "good enough". I realize there can also be different years for a song (remastered, etc.), but the most meaningful to me, is when the song came out.

I know what you mean.  
But a websource-srcipt like iTunes-script is looking for an album and not for a song.  
One reason for these mentioned many listed copyright-years is, that these albums are kind of compilations. So if you look for a compilation-album you have the release-year of the album and a lot of copyright-years for the individual songs which were released before on former albums.

I myself normally look for the release-date of the album and if I decide to not take the rerelease-date I have to look up manually in one of the many dicographies in the web of this special artist. I can see no way to get this information reliable and automatically. You always have to decide for yourself individually.

---

<div class="post-metadata">

### Author: ![razorThunder](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/r/a87d85/32.png) [@razorThunder](https://community.mp3tag.de/u/razorThunder)
#### Post date: [January 28, 2015, 11:05am UTC](https://community.mp3tag.de/t/ws-itunes/13478/116 "2015-01-28T11:05:30Z")

</div>

Pone,  
this was great. What was needed was just the high-res album art.

This album art finder was great:[http://bendodson.com/code/itunes-artwork-finder/](http://bendodson.com/code/itunes-artwork-finder/)  
Script (JS I guess): [http://bendodson.com/itunes.js](http://bendodson.com/itunes.js)

This should help you. Keep up the good work!

---

<div class="post-metadata">

### Author: ![airjrdn](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/ac91a4/32.png) [@airjrdn](https://community.mp3tag.de/u/airjrdn)
#### Post date: [January 28, 2015, 12:06pm UTC](https://community.mp3tag.de/t/ws-itunes/13478/117 "2015-01-28T12:06:20Z")

</div>

> [@poster](#):
>
> I know what you mean.  
> But a websource-srcipt like iTunes-script is looking for an album and not for a song.  
> One reason for these mentioned many listed copyright-years is, that these albums are kind of compilations. So if you look for a compilation-album you have the release-year of the album and a lot of copyright-years for the individual songs which were released before on former albums.
> 
> I myself normally look for the release-date of the album and if I decide to not take the rerelease-date I have to look up manually in one of the many dicographies in the web of this special artist. I can see no way to get this information reliable and automatically. You always have to decide for yourself individually.

Yeah, obviously a song restulset would be better. It just seems like at this stage (2015), it's crazy a service doesn't exist to get the original release date (year?) for an artist/song combination. Even knowing there could be different results for different countries, etc., the mess of what exists now is just sad.

I like how DBPowerAmp grabs data from four sources then uses the most popular data from the group of them, but that only seems to work when ripping, not after the fact.

Given that I've got over four thousand albums, doing things manually would take a very long time. Hence the reason I was hoping to use this script.

---

<div class="post-metadata">

### Author: ![JayJay84](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/j/9dc877/32.png) [@JayJay84](https://community.mp3tag.de/u/JayJay84)
#### Post date: [February 1, 2015, 1:27pm UTC](https://community.mp3tag.de/t/ws-itunes/13478/118 "2015-02-01T13:27:36Z")

</div>

> [@NYCity](#):
>
> First, thank you so much Pone! ![^_^](https://community.mp3tag.de/uploads/default/original/1X/15b21e4a9fd37d565d77674de6a426ea5c1c9673.gif "^\_^")
> 
> I'd like to contribute, I added some countries. I'm good with simple stuff ![:rolleyes:](https://community.mp3tag.de/uploads/default/original/1X/3a79e8b0b7d169b30216785521d7c6f4f895c421.gif ":rolleyes:")
> 
> I hope you don't mind it Pone 😉
> 
> [\_iTunes\_Music\_album\_CA.src](https://community.mp3tag.de/uploads/default/original/2X/f/f2464d11c9fbdb37a7fd7a5d0613ba1b4359a456.src) (4.12 KB)  
> [\_iTunes\_Music\_album\_CO.src](https://community.mp3tag.de/uploads/default/original/2X/4/4d88f5ca99dd4e3de27ceb2c4bc6c22713edc610.src) (4.13 KB)  
> [\_iTunes\_Music\_album\_DE.src](https://community.mp3tag.de/uploads/default/original/2X/b/bc486af533f351cb749dfd8f617a0645d0d59a1c.src) (4.12 KB)  
> [\_iTunes\_Music\_album\_ES.src](https://community.mp3tag.de/uploads/default/original/2X/a/aa5782b55756d2b1dd05cd08bf423bb8c2ce9ba8.src) (4.12 KB)  
> [\_iTunes\_Music\_album\_FR.src](https://community.mp3tag.de/uploads/default/original/2X/4/40ad90965ef5f1158ef5c60f14541283eaf9f319.src) (4.12 KB)  
> [\_iTunes\_Music\_album\_GB.src](https://community.mp3tag.de/uploads/default/original/2X/1/13980c43b3e5c23b1d0ebd4656f80532fc40c021.src) (4.12 KB)  
> [\_iTunes\_Music\_album\_HK.src](https://community.mp3tag.de/uploads/default/original/2X/0/05fd6b3778a111326c2761374975ea5790b79b34.src) (4.12 KB)  
> [\_iTunes\_Music\_album\_JP.src](https://community.mp3tag.de/uploads/default/original/2X/a/a0fdf8ce5477c3353634e81a9c97627397963055.src) (4.12 KB)  
> [\_iTunes\_Music\_album\_DO.src](https://community.mp3tag.de/uploads/default/original/2X/4/48d3ff7f71a2585937e64cf8bc9ec85a04dbb0b7.src) (4.12 KB)  
> [\_iTunes\_Music\_album\_US.src](https://community.mp3tag.de/uploads/default/original/2X/3/30fd32f366b216fb891d0ce639b914b222ca69f8.src) (4.12 KB)  
> [\_iTunes\_Music\_video\_GB.src](https://community.mp3tag.de/uploads/default/original/2X/a/ae298585c23bb18e62bf5cb4a96d0964f1d0d7b7.src) (2.88 KB)  
> [\_iTunes\_Music\_video\_US.src](https://community.mp3tag.de/uploads/default/original/2X/c/c249a55575e8eec5cc3fc542816a71309ee68c00.src) (2.88 KB)

Danke jungs erstmal für den geilen geilen script ich suche nach sowas schon ewig...

ist es auch möglich noch mehr felder hinzuzufügen z.B. COMPOSER, COMPILATION.....?  
und wenn ja, wie? kan mir da einer behilflich sein???

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [February 3, 2015, 5:34pm UTC](https://community.mp3tag.de/t/ws-itunes/13478/119 "2015-02-03T17:34:28Z")

</div>

> [@JayJay84](#):
>
> Danke jungs erstmal für den geilen geilen script ich suche nach sowas schon ewig...
> 
> ist es auch möglich noch mehr felder hinzuzufügen z.B. COMPOSER, COMPILATION.....?  
> und wenn ja, wie? kan mir da einer behilflich sein???

COMPILATION can be set afterwards depending on other criteria e.g. if the ALBUMARTIST is "Various".  
If the iTunes script does not deliver all the data you need then have a look at other sources.

---

<div class="post-metadata">

### Author: ![googling](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/g/34f0e0/32.png) [@googling](https://community.mp3tag.de/u/googling)
#### Post date: [February 27, 2015, 9:23am UTC](https://community.mp3tag.de/t/ws-itunes/13478/120 "2015-02-27T09:23:49Z")

</div>

I keeps getting attached error, even after changing http to https..  
Someone please help?

Thanks..

![](https://community.mp3tag.de/uploads/default/original/2X/9/9c8558002fcbccdd3c16bf2afae4ed3248eb99be.jpg)

[Previous page](https://community.mp3tag.de/t/ws-itunes/13478.md?page=5)

[Next page](https://community.mp3tag.de/t/ws-itunes/13478.md?page=7)
