You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

📰 Newsroom Update

Billie Eilish is Apple Music’s Artist of the Year for 2024. Learn more >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

search itunes library by account name

i have gathered many songs over the years. often i will get a message saying i can not play a song because i am not authorized.

i woud like to clean the library once and for all.

how can i search or sort by account name or purchased by?

imac g5

Posted on Feb 3, 2010 2:15 PM

Reply
Question marked as Top-ranking reply

Posted on Feb 3, 2010 2:25 PM

See this script -> Track Down Purchases v1.0
"This script will examine each track in a selection of tracks or a playlist to determine if it was purchased from the iTunes Store and then copies it to a discrete playlist named for the person who purchased it, eg: "Steve Ballmer's Purchased Music". Recognizes song, video, and audiobook purchases. Purchaser information is gleaned by examining the track's file. Takes about one second per track, give or take, depending on computer speed, just so you know."
14 replies
Question marked as Top-ranking reply

Feb 3, 2010 2:25 PM in response to Roy Harp

See this script -> Track Down Purchases v1.0
"This script will examine each track in a selection of tracks or a playlist to determine if it was purchased from the iTunes Store and then copies it to a discrete playlist named for the person who purchased it, eg: "Steve Ballmer's Purchased Music". Recognizes song, video, and audiobook purchases. Purchaser information is gleaned by examining the track's file. Takes about one second per track, give or take, depending on computer speed, just so you know."

Apr 10, 2011 12:19 PM in response to Roy Harp

The script mentioned above is great if you want to sort by name, but worthless for sorting by ACCOUNT. I have three accounts with itunes, the name on all three accounts is the same, mine, but the account names are different. I want playlists based on account name, not on user name. Anyone have any idea?

Jun 14, 2011 1:57 PM in response to johndeere24

It might be possible, but it's not a simple modification. The script extracts the purchaser's name via a shell script using grep, so to change it so that the playlist is named for the iTunes Store account name, someone would have to be able to figure out how to extract the account name via a grep. That's not something I have yet figured out. You could email Doug and ask if this is something he could consider for a future version:


http://dougscripts.com/itunes/faq_cont.php


Regards.

Dec 30, 2015 1:05 PM in response to Chris CA

You can see which accounts these were purchased with by right clicking on the file, going to "get info" and selecting the "File" tab. The account it was purchased with shows up under "purchased by".


All of the songs that are your "own" purchases should show up in your purchased playlist. By creating a smart playlist as I described above, you are sorting on songs that are AAC protected but that you have not purchased with "your" account. I used this to find songs in my iTunes library that were purchased with someone else's iTunes account. In order to play these songs I would have to authorize my iTunes library using the other persons credentials. I no longer wanted to/can do this and wanted to delete these songs that I cant play from my library. The smart playlist described above allowed me to do this.

search itunes library by account name

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.