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

<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, 2013, 10:55am UTC](https://community.mp3tag.de/t/ws-itunes/13478/61 "2013-10-26T10:55:15Z")

</div>

> [@pone](#):
>
> you can save different country versions of my script in different .src files

Danke pone. Du hast mich zumindest dazu gebracht, nochmals das Skript durchzusehen und sorry für den überflüssigen Schreibaufwand.

Ich hatte auch ein deutsches Skript, aber in der US-Version kam nichts, weil es nichts bei Itunes gab und in der deutschen Version war ein Tippfehler, den ich noch nicht bemerkt hatte. ![:blush:](https://community.mp3tag.de/uploads/default/original/1X/c5a064300f7d900a70c2196f6eee95e32dde9b52.gif ":blush:")

---

<div class="post-metadata">

### Author: ![Butragueno](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/90ced4/32.png) [@Butragueno](https://community.mp3tag.de/u/Butragueno)
#### Post date: [October 29, 2013, 8:18am UTC](https://community.mp3tag.de/t/ws-itunes/13478/62 "2013-10-29T08:18:21Z")

</div>

Question to you,

At my car I can only use covers like 500\*500 max. is it possible to change it manuell @ the script?

---

<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 3, 2013, 7:19pm UTC](https://community.mp3tag.de/t/ws-itunes/13478/63 "2013-11-03T19:19:04Z")

</div>

Yes.  
Search this line:

regexpreplace "100x100" "600x600"

and replace it with:

regexpreplace "100x100" "400x400"

or

regexpreplace "100x100" "200x200"

or delete it completely

I don't know if 400x400 and 200x200 is present for all releases. A quick test gave me positive results. You will have to test it while you're tagging your files.

---

<div class="post-metadata">

### Author: ![jimbo\_uk](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/j/f05b48/32.png) [@jimbo\_uk](https://community.mp3tag.de/u/jimbo_uk)
#### Post date: [December 10, 2013, 10:32am UTC](https://community.mp3tag.de/t/ws-itunes/13478/64 "2013-12-10T10:32:08Z")

</div>

with this script it removes the date from the copyright info in the publisher field.

what needs to be added or removed to the script to keep the date with the publisher name?

e.g

i would like it to show... ℗ 2013 mp3tag instead of just ℗ mp3tag in the publisher field

thank you in advance if anyone can help

---

<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: [December 11, 2013, 9:33pm UTC](https://community.mp3tag.de/t/ws-itunes/13478/65 "2013-12-11T21:33:52Z")

</div>

of course it does. the year is written into the YEAR tag field, the publisher into the PUBLISHER tag field. note that on itunes, for many old albums the copyright date is not the date when the album got released first.

i just noticed that the script still writes the "℗" into the PUBLISHER field. should not be there, I changed this in my own version, but forgot to upload it into the forum.  
i will also have a look into the different dates at copyright and "released first"

for your wish:

change that:  
_outputto "PUBLISHER"  
regexpreplace "\<\<\<year\d\*\>\>\>" ""_

into this:  
_outputto "PUBLISHER"  
regexpreplace "\<\<\<year(\d\*)\>\>\>" "$1"_

---

<div class="post-metadata">

### Author: ![jimbo\_uk](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/j/f05b48/32.png) [@jimbo\_uk](https://community.mp3tag.de/u/jimbo_uk)
#### Post date: [December 12, 2013, 9:31pm UTC](https://community.mp3tag.de/t/ws-itunes/13478/66 "2013-12-12T21:31:49Z")

</div>

thank you for the addition to the script

---

<div class="post-metadata">

### Author: ![jimbo\_uk](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/j/f05b48/32.png) [@jimbo\_uk](https://community.mp3tag.de/u/jimbo_uk)
#### Post date: [December 14, 2013, 8:42am UTC](https://community.mp3tag.de/t/ws-itunes/13478/67 "2013-12-14T08:42:54Z")

</div>

is there a way to get info from scripts that are hidden on the page?

i have a large number of purchased music that is missing the ITUNESCATALOGID tag/numbers due to some mistakes being made when using mp3tag. at present the only way i can do it is by adding the values manually.

---

<div class="post-metadata">

### Author: ![nandwana92](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/n/ecd19e/32.png) [@nandwana92](https://community.mp3tag.de/u/nandwana92)
#### Post date: [February 25, 2014, 9:41am UTC](https://community.mp3tag.de/t/ws-itunes/13478/68 "2014-02-25T09:41:38Z")

</div>

Sometimes the script doesn't retrieve metadata for all the songs in a album. For example I tried getting metadata for the album "I Hate Luv Storys". It has 8 songs but when I click on it I only get info for 7 songs. I have tried changing country too. And have checked on itunes site also. All 8 songs are listed there. I have attached the version of scrips I am using. Please fix this if possible. BTW thanks a lot for this script. This is exactly what I was looking for.

[iTunes.src](https://community.mp3tag.de/uploads/default/original/2X/4/4a328e38f7d6c6574474be6e7ed4cde2a1174549.src) (3.33 KB)

[iTunes\_\_\_UK.src](https://community.mp3tag.de/uploads/default/original/2X/0/0649d2db2425c7b5b10a2707f0796e842fdeae53.src) (3.35 KB)

---

<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: [March 11, 2014, 6:17pm UTC](https://community.mp3tag.de/t/ws-itunes/13478/69 "2014-03-11T18:17:48Z")

</div>

> [@nandwana92](#):
>
> Sometimes the script doesn't retrieve metadata for all the songs in a album. For example I tried getting metadata for the album "I Hate Luv Storys". It has 8 songs but when I click on it I only get info for 7 songs. I have tried changing country too. And have checked on itunes site also. All 8 songs are listed there. I have attached the version of scrips I am using. Please fix this if possible. BTW thanks a lot for this script. This is exactly what I was looking for.

sorry for not answering.  
i had read your question, but didn't find time to test it. afterwards i forgot about it.  
i will have a look into this soon. always takes some time to check little bugs in the script.

---

<div class="post-metadata">

### Author: ![tbum20](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/t/fbc32d/32.png) [@tbum20](https://community.mp3tag.de/u/tbum20)
#### Post date: [March 14, 2014, 8:16pm UTC](https://community.mp3tag.de/t/ws-itunes/13478/70 "2014-03-14T20:16:44Z")

</div>

> [@nandwana92](#):
>
> Sometimes the script doesn't retrieve metadata for all the songs in a album. For example I tried getting metadata for the album "I Hate Luv Storys". It has 8 songs but when I click on it I only get info for 7 songs. I have tried changing country too. And have checked on itunes site also. All 8 songs are listed there. I have attached the version of scrips I am using. Please fix this if possible. BTW thanks a lot for this script. This is exactly what I was looking for.

This is actually not an error with the script or mp3tag. It is actually an error in Itunes, you saw the last track number is 8 but if you look closely the album only contains 7 songs it actually has no track 3, the track list goes 1,2,4,5,6,7,8. haha . I saw this issue and with my knowledge of how this stuff works it didn't add up so I investigated....

---

<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: [March 14, 2014, 8:32pm UTC](https://community.mp3tag.de/t/ws-itunes/13478/71 "2014-03-14T20:32:41Z")

</div>

It's not an error at itunes but indeed a matter of different tracklists for different countries. A matter of of publishing rights, I guess.

Check the difference:  
German (without track 3):  
[https://itunes.apple.com/de/album/i-hate-lu...nal/id372906465](https://itunes.apple.com/de/album/i-hate-luv-storys-original/id372906465)  
Indian (with track 3):  
[https://itunes.apple.com/in/album/i-hate-lu...nal/id372906465](https://itunes.apple.com/in/album/i-hate-luv-storys-original/id372906465)

to get the script to the Indian cataloge:

[IndexUrl]=http://itunes.apple.com/search?term=%s&entity=album&limit=100&country=IN  
[AlbumUrl]=http://itunes.apple.com/lookup?country=IN&id=

---

<div class="post-metadata">

### Author: ![tbum20](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/t/fbc32d/32.png) [@tbum20](https://community.mp3tag.de/u/tbum20)
#### Post date: [March 14, 2014, 10:09pm UTC](https://community.mp3tag.de/t/ws-itunes/13478/72 "2014-03-14T22:09:18Z")

</div>

Good deal, I didn't mean iTunes itself has an error but the the source of the problems he was experienceing, haha.

---

<div class="post-metadata">

### Author: ![mjp1966](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/e9a140/32.png) [@mjp1966](https://community.mp3tag.de/u/mjp1966)
#### Post date: [March 15, 2014, 10:08pm UTC](https://community.mp3tag.de/t/ws-itunes/13478/73 "2014-03-15T22:08:50Z")

</div>

Pone.

This is a great script and certainly saves a ton of time so Thank You!

How would this script be modified to search by Artist and Title? I have some MP3 where I would like to find the original album the song came from vs. "greatest Hits" or "Compilation" type of CDs. The current script looks by Artist and Album. I would assume the output view would have to be modified to show which Albums the Track/Song was on.

Thanks for any help here.

---

<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: [March 16, 2014, 1:29pm UTC](https://community.mp3tag.de/t/ws-itunes/13478/74 "2014-03-16T13:29:33Z")

</div>

Open the .src file  
At the head of the file change these two lines:

[IndexUrl]=http://itunes.apple.com/search?term=%s&entity= **album** &limit=100&country=DE  
[SearchBy]=%artist% % **album** %

into this:  
[IndexUrl]=http://itunes.apple.com/search?term=%s&entity= **song** &limit=100&country=DE  
[SearchBy]=%artist% % **title** %

Peronally, I would recomend discogs for this kind of research. It has a much better, more complete database. I tunes dates are not always correct from what I know, sometimes the have the date of the remastering or the digital release for old albums.

---

<div class="post-metadata">

### Author: ![NYCity](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/n/bc8723/32.png) [@NYCity](https://community.mp3tag.de/u/NYCity)
#### Post date: [March 20, 2014, 1:05pm UTC](https://community.mp3tag.de/t/ws-itunes/13478/75 "2014-03-20T13:05:09Z")

</div>

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)

[\_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\_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)

[\_iTunes\_Music\_album\_DO.src](https://community.mp3tag.de/uploads/default/original/2X/4/48d3ff7f71a2585937e64cf8bc9ec85a04dbb0b7.src) (4.12 KB)

---

<div class="post-metadata">

### Author: ![Newyouth](https://community.mp3tag.de/user_avatar/community.mp3tag.de/newyouth/32/6778_2.png) [@Newyouth](https://community.mp3tag.de/u/Newyouth)
#### Post date: [March 28, 2014, 6:22am UTC](https://community.mp3tag.de/t/ws-itunes/13478/76 "2014-03-28T06:22:22Z")

</div>

> [@pone](#):
>
> This is a web sources script for the music catalog of Apple's **iTunes**.
> 
> It writes the following tag fields:  
> COVER; ALBUMARTIST; ALBUM; YEAR; PUBLISHER; GENRE; ARTIST; TITLE; TRACK
> 
> **script installation & usage:**
> 
> 1. download the .src file
> 
> 2. move the file into this folder: **%appdata%\Mp3tag\data\sources**
> 
> 3. run the script from Mp3Tag with this button: ▼
> 
> **download:**  
> newest version: 1.1 (uploaded 04.06.2012):  
> [iTunes.src](https://community.mp3tag.de/uploads/default/original/1X/d2dad8878f62ef1f3ec0e627db61d9a610a45101.src) (3.2 KB)

hi,  
at the first, very thanks you to made a itunes.src!  
I move the itunes.src to my \Mp3tag\data\sources, but re-run the Mp3tag I can't find this in source button, I don't why...  
please help me. thanks!

---

<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: [March 28, 2014, 6:42am UTC](https://community.mp3tag.de/t/ws-itunes/13478/77 "2014-03-28T06:42:56Z")

</div>

> [@Newyouth](#):
>
> hi,  
> at the first, very thanks you to made a itunes.src!  
> I move the itunes.src to my \Mp3tag\data\sources, but re-run the Mp3tag I can't find this in source button, I don't why...  
> please help me. thanks!

Please do not double-post.  
You have asked the same question in this post:  
[Feature Request - iTunes Tag Source?](https://community.mp3tag.de/t/13469/13)

See answer there.

---

<div class="post-metadata">

### Author: ![Newyouth](https://community.mp3tag.de/user_avatar/community.mp3tag.de/newyouth/32/6778_2.png) [@Newyouth](https://community.mp3tag.de/u/Newyouth)
#### Post date: [March 28, 2014, 3:24pm UTC](https://community.mp3tag.de/t/ws-itunes/13478/78 "2014-03-28T15:24:49Z")

</div>

I'm very like this src...  
but I want to ask: can I write something in this src file to I want to find 1200x1200 cover arts in itunes?

thanks.

---

<div class="post-metadata">

### Author: ![Newyouth](https://community.mp3tag.de/user_avatar/community.mp3tag.de/newyouth/32/6778_2.png) [@Newyouth](https://community.mp3tag.de/u/Newyouth)
#### Post date: [March 28, 2014, 3:25pm UTC](https://community.mp3tag.de/t/ws-itunes/13478/79 "2014-03-28T15:25:51Z")

</div>

> [@ohrenkino](#):
>
> Please do not double-post.  
> You have asked the same question in this post:  
> [Feature Request - iTunes Tag Source?](https://community.mp3tag.de/t/13469/13)
> 
> See answer there.

sorry, got it, I'll fix my problem.  
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: [April 7, 2014, 7:23am UTC](https://community.mp3tag.de/t/ws-itunes/13478/80 "2014-04-07T07:23:30Z")

</div>

There is obviously a limit of not more than 200 songs for an album in this script.  
This should normally be enough, but at the moment I tree to tag a box-set with 316 songs and 19 CDs and this script only shows me th first 200 songs.

Is there a way to change this limit?

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

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