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

<div class="post-metadata">

### Author: ![hamedredrose](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/h/76d3ee/32.png) [@hamedredrose](https://community.mp3tag.de/u/hamedredrose)
#### Post date: [June 21, 2015, 6:36pm UTC](https://community.mp3tag.de/t/ws-itunes/13478/141 "2015-06-21T18:36:41Z")

</div>

> [@poster](#):
>
> Hi hamedredrose,
> 
> it seems that you took an older code-version as your source for the needed changes.  
> There is a bug again in your versions with double quotation marks, that was corrected by dano in 2013.  
> [[WS] iTunes](https://community.mp3tag.de/t/13478/57)  
> If an artist, an album or a track-title has double-quotation marks in it, all content after this quotation mark is cut off.  
> Look for yourself and for example search for:  
> Artist: Bonnie "Prince" Billy  
> Album: The Letting Go  
> where as artist only _Bonnie_ is shown.  
> or  
> Artist: Duke Ellington  
> Album: Jazz Moods: Hot  
> where track 13 should show _Take the "A-Train"_ and instead only shows _Take The_
> 
> At the moment I am looking over my previous working script without that bug but I am not able to find the responsive code difference.

Download the new version at the top posts

---

<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: [June 21, 2015, 8:11pm UTC](https://community.mp3tag.de/t/ws-itunes/13478/142 "2015-06-21T20:11:46Z")

</div>

> [@hamedredrose](#):
>
> Download the new version at the top posts

thanks but there is still a bug that need sorting

search for Bonnie "Prince" Billy & The Cairo Gang

result shows as Bonnie "Prince" Billy & The Cairo Gang

track named Take the "A-Train"

shows as Take the \

---

<div class="post-metadata">

### Author: ![hamedredrose](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/h/76d3ee/32.png) [@hamedredrose](https://community.mp3tag.de/u/hamedredrose)
#### Post date: [June 21, 2015, 9:54pm UTC](https://community.mp3tag.de/t/ws-itunes/13478/143 "2015-06-21T21:54:50Z")

</div>

> [@ITPR](#):
>
> thanks but there is still a bug that need sorting
> 
> search for Bonnie "Prince" Billy & The Cairo Gang
> 
> result shows as Bonnie "Prince" Billy & The Cairo Gang
> 
> track named Take the "A-Train"
> 
> shows as Take the \

downlod this zip File

[iTunes\_Update\_2015\_BY\_HAMEDREDROSE.rar](https://community.mp3tag.de/uploads/default/original/2X/0/0683c492ca0460bd89c8baf0d9d93b47a9f6c59f.rar) (13.2 KB)

---

<div class="post-metadata">

### Author: ![SLB](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/b5a626/32.png) [@SLB](https://community.mp3tag.de/u/SLB)
#### Post date: [June 21, 2015, 11:53pm UTC](https://community.mp3tag.de/t/ws-itunes/13478/144 "2015-06-21T23:53:16Z")

</div>

> [@ITPR](#):
>
> these are the same as the ones posted previously...
> 
> there is a bug in these scripts, check out this post [[WS] iTunes](https://community.mp3tag.de/t/13478/136)

Sorry attached the wrong file.

Steve

---

<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: [June 22, 2015, 2:31am UTC](https://community.mp3tag.de/t/ws-itunes/13478/145 "2015-06-22T02:31:51Z")

</div>

> [@hamedredrose](#):
>
> downlod this zip File

Thanks hamedredrose  
There's still the not quite fixed bug as ITPR mentioned:  
 [quote="ITPR, post:142, topic:13478"]  
thanks but there is still a bug that need sorting

search for Bonnie "Prince" Billy & The Cairo Gang

result shows as Bonnie "Prince" Billy & The Cairo Gang

track named Take the "A-Train"

shows as Take the \ [/quote]

---

<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: [June 22, 2015, 2:34am UTC](https://community.mp3tag.de/t/ws-itunes/13478/146 "2015-06-22T02:34:30Z")

</div>

Hi Steve,

Thanks for your effort.

> [@SLB](#):
>
> Did you try them?

Yes, I tried the german version so far.  
There is still the bug with the cutoff behind the quotation marks.

---

<div class="post-metadata">

### Author: ![hamedredrose](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/h/76d3ee/32.png) [@hamedredrose](https://community.mp3tag.de/u/hamedredrose)
#### Post date: [June 22, 2015, 3:36am UTC](https://community.mp3tag.de/t/ws-itunes/13478/147 "2015-06-22T03:36:17Z")

</div>

> [@poster](#):
>
> Thanks hamedredrose  
> There's still the not quite fixed bug as ITPR mentioned:

try it

 ![](https://community.mp3tag.de/uploads/default/original/2X/f/f700b989b3aee049f31a5bc21ea17179afe21a1d.jpeg)

[iTunes\_Deutschland.src](https://community.mp3tag.de/uploads/default/original/2X/8/821ea649d9a12d4a0ae4fc9d40864066fbbcdf73.src) (3.58 KB)

---

<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: [June 22, 2015, 4:09am UTC](https://community.mp3tag.de/t/ws-itunes/13478/148 "2015-06-22T04:09:58Z")

</div>

> [@SLB](#):
>
> You have no clue!! Did you try them? I guess no!!  
> Have a look into the source!!
> 
> Also different from HAMEDREDROSE version.
> 
> Steve

i did try it and that was why i replied!!!

---

<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: [June 22, 2015, 4:19am UTC](https://community.mp3tag.de/t/ws-itunes/13478/149 "2015-06-22T04:19:26Z")

</div>

QUOTE (hamedredrose @ Jun 22 2015, 06:36) \<{POST\_SNAPBACK}\>

try it

🙂

there is still a problem with the track in the track list, using this as an example...

Artist: Duke Ellington  
Album: Jazz Moods: Hot  
where track 13 should show Take the "A-Train" and instead only shows Take The

will this problem also occur if other fields have "" contained in them?

---

<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: [June 22, 2015, 5:02am UTC](https://community.mp3tag.de/t/ws-itunes/13478/150 "2015-06-22T05:02:22Z")

</div>

> [@ITPR](#):
>
> there is still a problem with the track in the track list, using this as an example...
> 
> Artist: Duke Ellington  
> Album: Jazz Moods: Hot  
> where track 13 should show Take the "A-Train" and instead only shows Take The

I have no clue what I really did 😉 (because I don't really understand the code)  
but I had a look at danos bug fix and compared it do hamedredroses latest update-version.  
If I simply replace hamedredroses code

```
replace "\\\"" "\""

```

with danos code

```
replace "\\\"" "&quot;"
replace "?uo=4" ""

```

at all 3 occuring positions all seems to be fine.

I think this thread with numerous download links has become very confusing. It is obvious that bug-fix-download-links can be easily overlooked and somebody capable should finally change the original download-link at the start of the thread.

---

<div class="post-metadata">

### Author: ![hamedredrose](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/h/76d3ee/32.png) [@hamedredrose](https://community.mp3tag.de/u/hamedredrose)
#### Post date: [June 22, 2015, 7:29am UTC](https://community.mp3tag.de/t/ws-itunes/13478/151 "2015-06-22T07:29:12Z")

</div>

> [@](#):
>
> there is still a problem with the track in the track list, using this as an example...
> 
> Artist: Duke Ellington  
> Album: Jazz Moods: Hot  
> where track 13 should show Take the "A-Train" and instead only shows Take The

Unfortunately, this is an exception  
Other albums are displayed correctly

---

<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: [June 28, 2015, 11:05am UTC](https://community.mp3tag.de/t/ws-itunes/13478/152 "2015-06-28T11:05:23Z")

</div>

> [@hamedredrose](#):
>
> try it
> 
> ![](https://community.mp3tag.de/uploads/default/original/2X/f/f700b989b3aee049f31a5bc21ea17179afe21a1d.jpeg)

Hi, hamedredrose,

at the first, thanks for you made this database files.  
I have a request, can you make the iTunes Hongkong database file?

Thank you!

---

<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: [June 28, 2015, 11:33am UTC](https://community.mp3tag.de/t/ws-itunes/13478/153 "2015-06-28T11:33:58Z")

</div>

> [@Newyouth](#):
>
> Hi, hamedredrose,
> 
> at the first, thanks for you made this database files.  
> I have a request, can you make the iTunes Hongkong database file?
> 
> Thank you!

Have look further up in this thread (page 3 I think)  
[[WS] iTunes](https://community.mp3tag.de/t/13478/1)

There you find information how the script addresses local itunes data. Perhaps you can modify the script so that it looks at the Hongkong site.

---

<div class="post-metadata">

### Author: ![hamedredrose](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/h/76d3ee/32.png) [@hamedredrose](https://community.mp3tag.de/u/hamedredrose)
#### Post date: [June 30, 2015, 7:34am UTC](https://community.mp3tag.de/t/ws-itunes/13478/154 "2015-06-30T07:34:28Z")

</div>

> [@Newyouth](#):
>
> Hi, hamedredrose,
> 
> at the first, thanks for you made this database files.  
> I have a request, can you make the iTunes Hongkong database file?
> 
> Thank you!

Please download the attached file  
And, in general  
For other countries  
open this script in notepad in windows  
and change US in Paragraph

########################################################

# SEARCH BY DIALOG

########################################################  
[Name]=iTunes  
[BasedOn]=[http://itunes.apple.com](http://itunes.apple.com)  
[IndexUrl]=[http://itunes.apple.com/search?country=US&entity=album&term=%s](http://itunes.apple.com/search?country=US&entity=album&term=%25s)  
[AlbumUrl]=[http://itunes.apple.com/lookup?country=US&entity=song&limit=200&id=](http://itunes.apple.com/lookup?country=US&entity=song&limit=200&id=)

Change the acronym other countries  
For example:  
Hong Kong=HK  
France=FR  
Spain=ES  
Japan=JP  
& ......

[iTunes\_hong\_kong.src](https://community.mp3tag.de/uploads/default/original/2X/f/f8f3aa3ec876c2c13298ee99d6aaf211b06682a0.src) (3.58 KB)

---

<div class="post-metadata">

### Author: ![saddam](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/45deac/32.png) [@saddam](https://community.mp3tag.de/u/saddam)
#### Post date: [July 24, 2015, 4:28pm UTC](https://community.mp3tag.de/t/ws-itunes/13478/155 "2015-07-24T16:28:41Z")

</div>

Please check the attachment. Everything works with this script. Should you come across any issues, please do not hesitate to reach out to me. 😃

[New\_\_\_iTunes\_\_US\_.src](https://community.mp3tag.de/uploads/default/original/2X/3/37cb50c4fa8951eb2a8623ca628f5335deee8cc7.src) (3.66 KB)

---

<div class="post-metadata">

### Author: ![drquack32](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/ecc23a/32.png) [@drquack32](https://community.mp3tag.de/u/drquack32)
#### Post date: [August 12, 2015, 10:00pm UTC](https://community.mp3tag.de/t/ws-itunes/13478/156 "2015-08-12T22:00:21Z")

</div>

I have just come across this. What a fantastic item of beauty. Thank you to you all.

I prefer to manually write my own tags in a lot of cases because I find a few databases have their own little quirks of inaccuracies.

With that in mind, if I wanted to alter the .src so the only thing it wrote to the files is the cover art (I have read the thread and found the sizing comment around 600x600 vs 1200x1200) what would I leave in and/or take out?

---

<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: [August 13, 2015, 4:56am UTC](https://community.mp3tag.de/t/ws-itunes/13478/157 "2015-08-13T04:56:33Z")

</div>

> [@drquack32](#):
>
> ... if I wanted to alter the .src ... what would I leave in and/or take out?

Before you start to turn everything upside down, perhaps a different script for that purpose suits you just as well:  
[/t/2706/1](https://community.mp3tag.de/t/2706/1)

If that is ok, you might want to compare the 2 scripts and see what can be taken out.

---

<div class="post-metadata">

### Author: ![saddam](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/45deac/32.png) [@saddam](https://community.mp3tag.de/u/saddam)
#### Post date: [August 13, 2015, 5:06am UTC](https://community.mp3tag.de/t/ws-itunes/13478/158 "2015-08-13T05:06:47Z")

</div>

> [@drquack32](#):
>
> I have just come across this. What a fantastic item of beauty. Thank you to you all.
> 
> I prefer to manually write my own tags in a lot of cases because I find a few databases have their own little quirks of inaccuracies.
> 
> With that in mind, if I wanted to alter the .src so the only thing it wrote to the files is the cover art (I have read the thread and found the sizing comment around 600x600 vs 1200x1200) what would I leave in and/or take out?

ohrenkino directed you towards cover arts from other sources. If you’re still interested in iTunes:

If you look at the different sections of the .src file, you’ll see a heading called ‘Adjust Tag Information Dialog.’ Under that, keep until:

outputto "COVERURL"  
regexpreplace "100x100" "1200x1200"  
sayregexp "(?\<="artworkUrl100":").+?(?=")" ", " "}"

Remove everything below this until:

# TRACK LOOP

findline "wrapperType"" 2 1  
do

Essentially, it is reading everything but writing just the cover art, if that makes sense.

Attached a sample file for you as well. [Cover\_Art\_\_\_iTunes\_\_US\_.src](https://community.mp3tag.de/uploads/default/original/2X/8/8522f98b0a33a360d9e29cb4e4f23479cdaa421e.src) (2.49 KB)

[Cover\_Art\_\_\_iTunes\_\_US\_.src](https://community.mp3tag.de/uploads/default/original/2X/8/8522f98b0a33a360d9e29cb4e4f23479cdaa421e.src) (2.49 KB)

---

<div class="post-metadata">

### Author: ![drquack32](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/ecc23a/32.png) [@drquack32](https://community.mp3tag.de/u/drquack32)
#### Post date: [August 14, 2015, 2:28am UTC](https://community.mp3tag.de/t/ws-itunes/13478/159 "2015-08-14T02:28:09Z")

</div>

Gentlemen

Thank you both very much.

---

<div class="post-metadata">

### Author: ![amoune32](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/ee7513/32.png) [@amoune32](https://community.mp3tag.de/u/amoune32)
#### Post date: [August 23, 2015, 5:06am UTC](https://community.mp3tag.de/t/ws-itunes/13478/160 "2015-08-23T05:06:44Z")

</div>

Hello ,

Thanks for the very appreciated efforts to make the script work , the new modifications are great but still lack a lot of informations , especially the composer and the explicitness which is very important to every iTunes user . It has been years that i have been using a script which was uploaded to this forum some years ago until it broke lately . It had all the tags provided by iTunes . I have attached it to my comment hoping that someone who knows how to code finds what's there to modify in order for it to work . There's no need to rewrite everything because this script is just perfect.

The script for the US store of itunes is in the compressed file under the name "&iTunes#Music album US"

Thank you

[Mp3tag\_iTunes\_23\_03\_2013.zip](https://community.mp3tag.de/uploads/default/original/1X/f15fcbfa2a48b994ae989f77be995e681cacc6d1.zip) (11.5 KB)

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

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