-
All replies
-
Helpful answers
-
Jul 17, 2012 1:23 PM in response to Mr Blond Qcby whatheck,Try re-creating your iTunes library, you can use this as a guide -> iTunes: How to re-create your iTunes library and playlists
Does iTunes keep creating the temp files after re-creating the library?
-
Jul 17, 2012 5:10 PM in response to whatheckby Mr Blond Qc,mmm.
Ok I will try your suggestion. So tell me if I'm right with this, but doing this task
I create a new library and import playlist after.
But what will happen with the mobile apps with my iPhone and iPad.
I'm assuming that the first time I plug it, it will take more time to transfert the content in to iTunes.
Can you confirm me that I'm right?
THanks!
-
Sep 29, 2012 1:33 AM in response to Mr Blond Qcby Niall Mallyon,The temp files keep getting created because the original iTunes Music Library.xml file has a pemissions issue. This seems to arise because both iTunes and another process try and access this file at the same time. The iTunes Music Library.xml file is used by iTunes to let other apps know what is in the library. I keep getting this issue on and off and have yet to find a complete fix, only a work around.
For what its worth this article may be of interest :-
http://support.apple.com/kb/HT1451?viewlocale=en_US&locale=en_US
The XML file can simply be deleted and it gets recreated from the itl file automagically.
That said the XML is effectively locked because of permissions issues so deleting ALL the .tmp files is OK and then using terminal to remove the iTunes Music Library.xml file is probably still required.
The XML is then recreated by iTunes at next launch and then hopefully keeps the permissions properly(?)
Basically then, with iTunes closed, you can delete ALL the temp files but you'll need to issue a terminal command to remove the iTunes Music Library.xml file that has corrupt permissions.
rm music/itunes/'iTunes Music Library.xml'
This assumes you are connected to terminal using the accoun that manages iTunes AND that your iTunes Library is in the default location under your Music folder. Alter the command accordingly if not.
Good luck and be sure to take a backup before proceeding if you are concerned about using terminal.
The above assumes the file is called iTunes Music Library.xml obviously. Some implementations use iTunes Library.xml so just substitute that instead.
P.S if you are happy using AppleScript you can create an application that you can run to do it all for you. Here is what I used in the AppleScript editor and then exported as an application.
tell application "Terminal"
activate
do script "rm music/itunes/'iTunes Music Library.xml'"
quit
end tell
-
Sep 30, 2012 10:55 AM in response to Niall Mallyonby Mr Blond Qc,Refering an article that on the same topic might be helpful.
https://discussions.apple.com/thread/3954138?start=0&tstart=0