14 Replies Latest reply: Dec 30, 2015 2:26 PM by Chris CA
Roy Harp Level 1 (15 points)
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
  • Chris CA Level 9 (78,695 points)
    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."
  • varjak paw Level 10 (169,822 points)
    Try this AppleScript, courtesy of the incredibly-useful Doug's AppleScripts for iTunes:

    http://dougscripts.com/itunes/scripts/ss.php?sp=trackdownpurchases
  • Roy Harp Level 1 (15 points)
    sweeeeet ... tanks 2 both of you
  • pgc03 Level 1 (0 points)
    I am trying to find out how to do the samething on my PC with windows 7. I have some of my old roomates music still on the computer and I wnat to find the music under his account and delete it because it is eating up GBs and I can't play or transfer it!
  • ACA Level 1 (0 points)
    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?
  • johndeere24 Level 1 (0 points)

    Same problem here - the script doesn't help if the name is identical. Is there any other script available to sort by account name? I imagine that the script mentioned above could be edited to select by account name instead of name, or am I wrong?

     

    Any solution would be appreciated!

  • varjak paw Level 10 (169,822 points)

    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.

  • milyz Level 1 (0 points)

    FYI, Doug has updated the "Track Down Purchases" script. Version 2 lets you choose whether to search by the purchaser's name or by the account ID. This solves the issue that ACA described in April. Download from http://dougscripts.com/449

  • Bo Regard Level 1 (0 points)

    Chris et all,

     

    Do you know of a similar program for Windows?

  • dgates12 Level 1 (0 points)

    Same problem here...anyone have a Windows solution for this?

  • lkjhfkjfk Level 1 (0 points)

    You can find all the content purchased by other users without any special scripts in iTunes (running on Windows or Mac). To do this create a smart playlist with the following criteria:

     

    "Kind" -> "contains" -> "protected AAC"

    AND

    "Playlist" -> "is not" -> "Purchased"

  • Chris CA Level 9 (78,695 points)

    6 years later,

    lkjhfkjfk wrote:

    You can find all the content purchased by other users without any special scripts

    So which accounts were these purchased with?

    Don't want to delete your own purchases.

  • lkjhfkjfk Level 1 (0 points)

    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.  

  • Chris CA Level 9 (78,695 points)

    Okay.

    Pretty sure there wasn't a purchased playlist 6 years ago (this thread)  like there is now.