Skip navigation

How to learn which iTunes Library is connected with my devices?

451 Views 9 Replies Latest reply: Nov 16, 2012 11:23 PM by Karl Pfeiffer (.at) RSS
Karl Pfeiffer (.at) Level 3 Level 3 (625 points)
Currently Being Moderated
Nov 16, 2012 1:24 AM

I do not love it when my Mac deletes files.

 

Karl

  • Limnos Level 8 Level 8 (36,705 points)

    Didn't it ask you first if you wanted to replace the content?  Didn't you say no or cancel?

  • turingtest2 Level 8 Level 8 (44,150 points)

    If you see that message it is generally becuase you're trying to sync with a new library on a new computer, or you've failed to migrate your exisitng library properly from one computer to another, or your library has been rebuilt following a crash and so appears "new" to the device. Restoriing the library from a good backup should work. If that isn't possible see Recover your iTunes library from your iPod or iOS device.

     

    tt2

  • Limnos Level 8 Level 8 (36,705 points)

    tt2: FYI there's a partner topic to this asking about identifying with which library a device is synced.

     

    I haven't seen mention of a way to determine with which library a device is synced.

  • turingtest2 Level 8 Level 8 (44,150 points)

    You'd have to check the LibraryPersistent IDs of each library against the one on the device. There is a webpage here that claims to be able to extract your ID by processing one of the device backup files, info.plist. It's probably safe, but a quick look at the file we're going to upload shows that it includes the device IMEI & phone numbers, a list of Wi-Fi syncing profiles, info on iBooks, Media and Apps synced to the device along with the presumably obscured ID we want and who knows what else? There is, I suppose, a risk that the data could include AppleID info so I'm somewhat reluctant to test the site.

     

    According to one posting the data should also exist in /private/var/mobile/Media/iTunes_Control/iTunes/iTunesPrefs.plist on the device but I'm having a hard time finding an app to explore the my iPhone's file system and there is no certainty the value is human readable there either.

     

    It's not too hard to read the LibraryPersistentID of an iTunes library from the accompanying XML file (line 12 in plain text for me), but reading every one you have on every machine might take some time.


    OK, in the interests of confirming whether the site does what it claims to I'm going to test my iPad backup's Info.plist file. If my AppleID gets hijacked at least it was in a good cause.

     

    Bingo! The website brought back:

    <key>Library Persistent ID</key><string>CCF046191585EA85</string> which matches

    <key>Library Persistent ID</key><string>CCF046191585EA85</string> from my xml.

     

    tt2

  • Limnos Level 8 Level 8 (36,705 points)

    Interesting results, thanks.  I suspect, however, the OP is looking for something which when plugging in the device says, "You are connected to the wrong library, you need to connect to the library on your iMac" or something similar.

  • turingtest2 Level 8 Level 8 (44,150 points)

    If it's the wrong library you just get the warning about iTunes want to delete all content and replace. No hints as to where you might find the correct file. It would be nice if it said something like "This device was last synced with Steve's Library, 2012-11-16 20:40 running on the computer Steve-WinXP", but I suspect that would be asking for too much.

     

    tt2

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.