Skip navigation

I can't get iTunes into iPhoto Slideshow.

3136 Views 3 Replies Latest reply: Nov 27, 2012 11:45 PM by Nic Benders RSS
bwolfy Level 1 Level 1 (0 points)
Currently Being Moderated
Feb 19, 2012 2:24 PM

Macbook Pro 13" OS Lion 10.7.3

Iphoto 11 version 9.2.1

Itunes 10 version 10.5.3


When I go to make a slideshow in iphoto from an album and I try to change my music to my playlist it just tells me to open Itunes so it can populate the list.  I tunes is open!  It has worked before, but not now.  I have tried to do this in iMovie as well and it says the same thing.



Any suggestions?

MacBook Pro, Mac OS X (10.7), Freeze on startup
  • BenFT Level 1 Level 1 (5 points)
    Currently Being Moderated
    Feb 22, 2012 8:36 AM (in response to bwolfy)

    This problem is typically from a defected or broken XML file in the Music library folder. In order to fix this, go to: ~/Music/iTunes/iTunes Library.xml


    Either delete this file (Move it the trash) or move it to the desktop. Either way, iTunes will have to recreate it. First, of course, QUIT iTUNES!


    If an error occurs (which is likely, because it is a broken file) and you cannot move or delete it, try deleting it with the Terminal.


    Be very careful not to delete the wrong file. The Terminal doesn't simply move the file to the trash, it DELETES IT. Here is what you need to do for this:


         Open up a new Shell and type: rm -rf

         Then, to eliminate confusion or accidents, just drag the file to the shell and the exact path will appear after it.

         Voila! It should be deleted.


    Then, go ahead and open up iTunes. Rename a song or something and the iTunes Library will recreate the iTunes Library.xml file.


    This works the same for just about any iLife application! If there is a problem accessing anything in the Media Browser, find the Library.xml file and delete it, then force the application to recreate a fresh, unbroken copy.


    Hope this helps!


    Here are a few links that should help you out: Deleting a File with Terminal

                                                                      iLife: Cannot See iPhoto Files

  • Nic Benders Calculating status...
    Currently Being Moderated
    Nov 27, 2012 11:45 PM (in response to BenFT)

    To follow up on what Ben said, for the benefit of others who may come here:


    The "iTunes Library.xml" file is a summary of your iTunes data for use by other applications (like iPhoto), you can delete it whenever you want and it can just be recreated.  Don't confuse it with the "iTunes Library.itl" file, which actually contains all of your playlists and other data.


    This support article has a good overview of the two files -


    I was also getting the "Open iTunes to populate this list" message.  In my case deleting the XML file did not fix my problem, because I actually had bad data in the library.  So every time iTunes recreated it, it just put the bad data back in there.  I was able to find the problem (a track with a bad file location) using the "xmllint" tool from the terminal.  If you are somewhat comfortable with the terminal, this will let you find the problem track or tracks very quickly.


    In a terminal window:


    xmllint --noout $HOME/Music/iTunes/iTunes\ Library.xml


    The output of xmllint listed a parser error on line 54334.  Using "less" I was able to pull up that part of the XML.


    less $HOME/Music/iTunes/iTunes\ Library.xml (type 54334 then G to go that line)


    Once I figured out what track it was, I was able to go into iTunes, find it and fix it.  As soon as it was fixed iPhoto was able to see tracks in iTunes again.


More Like This

  • Retrieving data ...

Bookmarked By (1)


  • 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.