# \[WS\] Apple Music

**URL:** <https://community.mp3tag.de/t/ws-apple-music/51184>\
**Category:** Web Sources Scripts\
**Created:** [December 14, 2020, 12:58am UTC](https://community.mp3tag.de/t/ws-apple-music/51184 "2020-12-14T00:58:26Z")\
**Posts on this page:** 20\
**Page:** 24

<div class="post-metadata">

**Author:** ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)\
**Post date:** [April 5, 2025, 4:53pm UTC](https://community.mp3tag.de/t/ws-apple-music/51184/489 "2025-04-05T16:53:18Z")

</div>

7 posts were split to a new topic: [Overwrite existing cover when importing from Apple Music or iTunes](https://community.mp3tag.de/t/overwrite-existing-cover-when-importing-from-apple-music-or-itunes/68111)

---

<div class="post-metadata">

**Author:** ![djwilmer107](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/3da27b/32.png) [@djwilmer107](https://community.mp3tag.de/u/djwilmer107)\
**Post date:** [April 28, 2025, 10:36pm UTC](https://community.mp3tag.de/t/ws-apple-music/51184/490 "2025-04-28T22:36:06Z")

</div>

I am having an issue when I try to download the id3tag for songs. The error is **ERROR(L484/findline): text not found.**. Does anyone know how to correct this issue? Thanks.

---

<div class="post-metadata">

**Author:** ![rboss](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/r/5f9b8f/32.png) [@rboss](https://community.mp3tag.de/u/rboss)\
**Post date:** [April 29, 2025, 5:28pm UTC](https://community.mp3tag.de/t/ws-apple-music/51184/491 "2025-04-29T17:28:13Z")

</div>

> [@djwilmer107](#):
>
> The error is **ERROR(L484/findline): text not found.**

Hello,

this error means that something is wrong with the script, and it's not finding the expected data.  
Please try the following general troubleshooting steps:

- replace the current script you're using with the most up-to-date ones, and try again;
- if you are still getting the same error, post the following information:  
\> in which script are you getting the error (Apple Music, iTunes, Apple Music classical, etc.)  
\> your OS (Windows / Mac);  
\> what version of Mp3Tag you are running the script in;  
\> if possible, what query were you using that generated the error (ignore this if it happens in every search).

If the issue persists, this info will help guide the developer to a solution.

---

<div class="post-metadata">

**Author:** ![djwilmer107](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/3da27b/32.png) [@djwilmer107](https://community.mp3tag.de/u/djwilmer107)\
**Post date:** [April 30, 2025, 12:40am UTC](https://community.mp3tag.de/t/ws-apple-music/51184/492 "2025-04-30T00:40:30Z")

</div>

Please see below. Seems this started with the latest version. Thanks.

Operating System

 ![Screenshot 2025-04-29 at 8.30.27 PM](https://community.mp3tag.de/uploads/default/original/3X/f/6/f64cde78ac44eb70ea107853bc521fe2548c74ee.jpeg)

Version of Apple Source  
 ![Screenshot 2025-04-29 at 8.38.59 PM](https://community.mp3tag.de/uploads/default/optimized/3X/1/1/1109bbef957eeab273657bf35499bebab947416a_2_690x40.png)

Settings and version of Mp3Tag

 ![Screenshot 2025-04-29 at 8.29.50 PM](https://community.mp3tag.de/uploads/default/original/3X/b/5/b5e5e3ee18f04729ef4dff10c26d17deb1fef6d3.jpeg)

Finds the song

 ![Screenshot 2025-04-29 at 8.28.44 PM](https://community.mp3tag.de/uploads/default/original/3X/0/c/0cdd2e89cf232360edade6ca34feca51cc099f44.png)

Error when I pick the song to get tagged

 ![Screenshot 2025-04-29 at 8.28.56 PM](https://community.mp3tag.de/uploads/default/original/3X/e/c/ec25400e8b6f29e4c05c681eab3513ca4b5adee1.png)

---

<div class="post-metadata">

**Author:** ![rboss](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/r/5f9b8f/32.png) [@rboss](https://community.mp3tag.de/u/rboss)\
**Post date:** [April 30, 2025, 2:11am UTC](https://community.mp3tag.de/t/ws-apple-music/51184/493 "2025-04-30T02:11:01Z")

</div>

Thank you for the screenshots.

I'm not the developer of this script, and I won't modify it without permission.

Using the Windows version of the script, I'm also having an error using the search terms you shared.  
However, in this instance, selecting/searching the _album_ where the song 'Mala Suerte' is present - 'Latinaje' - will return the correct tags.

There seems to be an issue when getting tags from 'Song' entries, but not with 'Album' entries, since I'm seeing the same error with other files (in Windows).

As a temporary measure, if you can get data with 'Album' results in macOS, you can make do with using 'Album' instead of 'Song' as tag source (seen in the 'Kind' column), until the developer addresses this.

Hope this helps.

---

<div class="post-metadata">

**Author:** ![AreDigg](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/bbe5ce/32.png) [@AreDigg](https://community.mp3tag.de/u/AreDigg)\
**Post date:** [April 30, 2025, 10:45pm UTC](https://community.mp3tag.de/t/ws-apple-music/51184/494 "2025-04-30T22:45:38Z")

</div>

> [@djwilmer107](#):
>
> Does anyone know how to correct this issue?

Try now with the latest version

---

<div class="post-metadata">

**Author:** ![johnemc](https://community.mp3tag.de/user_avatar/community.mp3tag.de/johnemc/32/12312_2.png) [@johnemc](https://community.mp3tag.de/u/johnemc)\
**Post date:** [May 1, 2025, 1:18am UTC](https://community.mp3tag.de/t/ws-apple-music/51184/495 "2025-05-01T01:18:13Z")

</div>

The latest version is working for me. Thanks!

---

<div class="post-metadata">

**Author:** ![djwilmer107](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/3da27b/32.png) [@djwilmer107](https://community.mp3tag.de/u/djwilmer107)\
**Post date:** [May 1, 2025, 2:37am UTC](https://community.mp3tag.de/t/ws-apple-music/51184/496 "2025-05-01T02:37:12Z")

</div>

The latest version is working for me as well. Thank You.

---

<div class="post-metadata">

**Author:** ![djwilmer107](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/3da27b/32.png) [@djwilmer107](https://community.mp3tag.de/u/djwilmer107)\
**Post date:** [May 1, 2025, 2:37am UTC](https://community.mp3tag.de/t/ws-apple-music/51184/497 "2025-05-01T02:37:40Z")

</div>

Thank You for your guidance.

---

<div class="post-metadata">

**Author:** ![bookmark](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/9dc877/32.png) [@bookmark](https://community.mp3tag.de/u/bookmark)\
**Post date:** [May 16, 2025, 1:44am UTC](https://community.mp3tag.de/t/ws-apple-music/51184/498 "2025-05-16T01:44:39Z")

</div>

I got my User-media-token  
where should i fill it in ?

---

<div class="post-metadata">

**Author:** ![Jigatron](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/j/8dc957/32.png) [@Jigatron](https://community.mp3tag.de/u/Jigatron)\
**Post date:** [May 19, 2025, 12:11am UTC](https://community.mp3tag.de/t/ws-apple-music/51184/499 "2025-05-19T00:11:34Z")

</div>

Thanks for this amazing script, it works flawlessly! One tiny request, would the COMPILATION, XID, ITUNESGAPLESS, ITUNESGENREID, and ITUNESCOMPOSERID tags be possible to add? For reference, I'm using the Apple Music web script. Also I noticed there is no Canada storefront, is there a way to add it? Thanks again 🙂

---

<div class="post-metadata">

**Author:** ![ceo54](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/77aa72/32.png) [@ceo54](https://community.mp3tag.de/u/ceo54)\
**Post date:** [July 15, 2025, 5:48pm UTC](https://community.mp3tag.de/t/ws-apple-music/51184/500 "2025-07-15T17:48:15Z")

</div>

The latest version of the Apple Web script i.e. 3.20, doesn't write the UPC, ISRC value nor Language value. Even though all are available on the website.

Is there a way to append the script to add the following two values ?

[Screenshot from the website](https://i.postimg.cc/Tw35NYcK/Capture.png)

Kind regards

---

<div class="post-metadata">

**Author:** ![AreDigg](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/bbe5ce/32.png) [@AreDigg](https://community.mp3tag.de/u/AreDigg)\
**Post date:** [July 16, 2025, 11:00am UTC](https://community.mp3tag.de/t/ws-apple-music/51184/501 "2025-07-16T11:00:25Z")

</div>

> [@ceo54](#):
>
> Even though all are available on the website.

Don't show images, but links if you think this is actually available on the Apple Music website. All fields are available from the API and you can use the API script for that.

---

<div class="post-metadata">

**Author:** ![ceo54](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/77aa72/32.png) [@ceo54](https://community.mp3tag.de/u/ceo54)\
**Post date:** [July 16, 2025, 3:09pm UTC](https://community.mp3tag.de/t/ws-apple-music/51184/502 "2025-07-16T15:09:29Z")

</div>

@AreDigg  
I apologize if I offended you in any way, I assure you that was not my intension. I just used a Javascript in TemperMonkey that shows album's metadata on the Apple web page and ISRC, UPC and locale seems to be there. I don't know any scripting so it's beyond my skills to use the API version.

Thank you for your fabulous work.

Kind regards

---

<div class="post-metadata">

**Author:** ![AreDigg](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/bbe5ce/32.png) [@AreDigg](https://community.mp3tag.de/u/AreDigg)\
**Post date:** [July 16, 2025, 3:22pm UTC](https://community.mp3tag.de/t/ws-apple-music/51184/503 "2025-07-16T15:22:20Z")

</div>

> [@ceo54](#):
>
> Javascript in TemperMonkey

It performs lookup into Apple API. It loads and show it into your web-browser, _not the Apple Music web-page_. MP3Tag don't support Javascript, that is why you have to run something external to authorize access to Apple API.

---

<div class="post-metadata">

**Author:** ![ceo54](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/77aa72/32.png) [@ceo54](https://community.mp3tag.de/u/ceo54)\
**Post date:** [July 16, 2025, 3:55pm UTC](https://community.mp3tag.de/t/ws-apple-music/51184/504 "2025-07-16T15:55:02Z")

</div>

Thank you for the response once again. Seems like the API way to go is the only solution. I will research how can I make use of your API script as I don't know how to use this in MP3Tag.

Many thanks for your continued support and work. Highly appreciated.

Kind regards

---

<div class="post-metadata">

**Author:** ![ceo54](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/77aa72/32.png) [@ceo54](https://community.mp3tag.de/u/ceo54)\
**Post date:** [July 17, 2025, 9:33pm UTC](https://community.mp3tag.de/t/ws-apple-music/51184/505 "2025-07-17T21:33:54Z")

</div>

@AreDigg

Got the API version of the script working. It has all the tags that I requested. It's much more complete and mimic the iTunes tags as closely as possible.

Thank you very much for your phenomenal work.

@Florian

Is it possible to explore the possibility to allow the javascript handling within MP3Tag itself so we don't have to run a separate python script ?

Many thanks and kind regards

---

<div class="post-metadata">

**Author:** ![briansgriggs](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/f475e1/32.png) [@briansgriggs](https://community.mp3tag.de/u/briansgriggs)\
**Post date:** [July 17, 2025, 10:03pm UTC](https://community.mp3tag.de/t/ws-apple-music/51184/506 "2025-07-17T22:03:11Z")

</div>

@ceo54 - Is there a chance you could share any of the details about how to get the AM API script working? I've been trying and cannot figure it out. Any help would be appreciated. Thx.

---

<div class="post-metadata">

**Author:** ![ceo54](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/77aa72/32.png) [@ceo54](https://community.mp3tag.de/u/ceo54)\
**Post date:** [July 17, 2025, 10:06pm UTC](https://community.mp3tag.de/t/ws-apple-music/51184/507 "2025-07-17T22:06:12Z")

</div>

@briansgriggs

Hello Mr. Brian.

Yes, absolutely. But it's 3 AM and I have to get up early tomorrow for Friday prayers. I shall do it Tomorrow evening.

Kind regards

---

<div class="post-metadata">

**Author:** ![ceo54](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/77aa72/32.png) [@ceo54](https://community.mp3tag.de/u/ceo54)\
**Post date:** [July 18, 2025, 3:51pm UTC](https://community.mp3tag.de/t/ws-apple-music/51184/508 "2025-07-18T15:51:51Z")

</div>

A brief guide to use @AreDigg API script on Windows.

Install Python from here -\> [Download Python | Python.org](https://www.python.org/downloads/)  
Make sure to check `Add to path` during installation.  
Open Windows Terminal, type `python --version`  
If the command returns the correct version then it installed correctly and we're ready to move to the next step.

Get your access token from your Apple account. You need to elevate your account to developer to do this (costs some quids based on your region)

> **[Apple Developer Program - Apple Developer](https://developer.apple.com/programs/)**
>
> Join the Apple Developer Program to reach customers around the world on the App Store for iPhone, iPad, Mac, Apple TV, Apple Vision Pro, and Apple Watch.

Once your account is elevated, go here -\>[Sign In - Apple](https://developer.apple.com/account/resources/identifiers/)  
Create a Musickit identifier, make sure to choose `Musickit` when creating an identifier.  
Once your identifier is created, go here -\>[Sign In - Apple](https://developer.apple.com/account/resources/authkeys/list)  
Generate a new key, make sure to enable Musickit capability  
Download your key file `xxxx.p8`  
Go to -\>[https://jwt.io/](https://jwt.io/) to generate the access token from your key file  
(Remember your keyfile will be out in the open, you can also use other methods but since I personally didn't care, I chose this method as this was straight forward and simple)

Now grab @AreDigg API script. Extract the archive. Open `mp3tag_proxy.py` with Notepad++  
Search for `Authorization`, replace your access token with `TOKEN`  
Make sure to put the entire string in quotation marks  
It should look like this or else you will get errors when script attempts to access the metadata  
`"Authorization": "Bearer your_access_token",`  
Pay attention to punctuation and spaces, save the script.  
Inside the same archive, you should also find `localhost.pem`, copy this file to temperory location, change the extension from `.pem` to `.crt`  
Double click this `.crt` file to install. Choose `Local Machine` & place the certificate in this folder `Trusted Root Certification Authorities`  
You can open Certificate manager on Windows and it should show in the specific folder as `localhost`  
(Make sure you trust the author, @AreDigg , you're totally doing this at your own risk, I trust the author so I did it, what you choose to do is entirely up to you)  
Bact the folder where we extracted the script's files. Move the `Apple Music 4.src` to MP3Tag's sources folder.  
Now run the proxy by opening the terminal, CD'ing to the location of extracted files and type `mp3tag_proxy.py`  
Keep the terminal running, open MP3Tag, open some music files, select the new script that you recently moved from sources folder. Watch as you fail.  
Go back, read everything slowly and repeat the process until MP3Tag can call the data from the API, once you see that magical preview Window of tag data, you're all done.  
Give credits to the author, comment or make suggestion.

DISCLAIMER:  
The above method was what worked for me on a Windows machine. There are other ways to do this too but IF you're following above guide, make sure you understand the risk of sharing your key file on the open web and installing SSL certificates from Random scripts you downloaded from the web. If anything goes wrong or anything else happens, it's entire on you. I will have absolutely no responsibility.

If you have read this far, you're surely going to try this anyway. In that case, here are couple of tricks you can do make things easier.  
Get Apple developer account from Argentina, Turkey or India. It would (not entirely sure) cost you much less than what it costs from EU/US  
The Access token expires every once in a while, so you need to generate a new one using your xxxxx.p8 file like you did before.

For the last time, I don't take any responsibility for anthing that may or may not happen following this guide. This is the method that worked for me. There must be ample ways to do this based on the system configuration, coding skills, geo-location and stuff.

And please don't quote me on anything.

@briansgriggs

`

[Previous page](https://community.mp3tag.de/t/ws-apple-music/51184.md?page=23)

[Next page](https://community.mp3tag.de/t/ws-apple-music/51184.md?page=25)
