Failed to read iTunes Music Library File
Win7, iTunes 9. I get an error when I launch beaTunes (iTunes is
running):
Failed to read iTunes Music Library file. It either does not exist
or cannot be read. Will use C:\Users\Alan\Music\iTunes\iTunes Music
Library.xml
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by hendrik on 02 Jan, 2010 05:24 AM
Hi Alan,
Thanks for your mail.
Did you ever move your iTunes library by any chance?
After you get that message, does beaTunes work correctly?
Which version of beaTunes are you using?
Thanks,
-hendrik
2 Posted by alanjstr on 02 Jan, 2010 05:33 AM
beaTunes 2.1.0
Yes, once I click OK on the dialog, things seem to work ok.
iTunes Path: C:\Users\Alan\Music\iTunes
Yes, I did move my library. When I upgraded from Vista to Win7, my username
changed, and music moved from under My Documents. Indeed, the following is
in my preferences2.xml file
<component id="beatunes">
<embed-audiometadata>false</embed-audiometadata>
<itunes-file
persistentid="E7D724E63341F256">C:\Users\Alan\Documents\My
Music\iTunes\iTunes Music Library.xml</itunes-file>
<itunes-file persistentid="E7D724E63341F256"
selected="true">C:\Users\alanjstr\Music\iTunes\iTunes
Music Library.xml</itunes-file>
<itunes-file
persistentid="E7D724E63341F256">C:\Users\Alan\Music\iTunes\iTunes Music
Library.xml</itunes-file>
<theme>com.tagtraum.beatunes.plaf.GradientBackgroundTheme:-986896</theme>
<amazon>
<locale language="en" country="US" variant=""/>
</amazon>
<minimizeitunes>false</minimizeitunes>
<synchronize>true</synchronize>
</component>
Support Staff 3 Posted by hendrik on 02 Jan, 2010 07:15 PM
Hi,
do all of these files exist?
C:\Users\alanjstr\Music\iTunes\iTunes Music Library.xml
,C:\Users\Alan\Music\iTunes\iTunes Music Library.xml
andC:\Users\Alan\Documents\My Music\iTunes\iTunes Music Library.xml
?-hendrik
4 Posted by alanjstr on 02 Jan, 2010 08:42 PM
Nope. Only the one in C:\Users\Alan\Music\iTunes.
Support Staff 5 Posted by hendrik on 03 Jan, 2010 09:46 AM
Hi Alan,
does deleting the preference2.xml file solve the problem?
Or do all three files show up again in the preference2.xml file after
it is recreated when restarting beaTunes?
Thanks,
-hendrik
6 Posted by alanjstr on 03 Jan, 2010 05:16 PM
Deleting preferences2.xml from C:\Users\Alan\AppData\Local\tagtraum
industries\beaTunes did the trick.
Support Staff 7 Posted by hendrik on 03 Jan, 2010 05:38 PM
Good.
I will add some code to the next update that hopefully works around the problem of multiple
iTunes Music Library.xml
files with the same id.-hendrik
hendrik closed this discussion on 03 Jan, 2010 05:38 PM.
alanjstr re-opened this discussion on 03 Jan, 2010 05:44 PM
8 Posted by alanjstr on 03 Jan, 2010 05:44 PM
In the UI, you can select a new one, but it doesn't look like you can delete
from that list.
Support Staff 9 Posted by hendrik on 04 Jan, 2010 09:10 AM
Yeah - that's right - no option to delete. And usually, you actually don't want to delete.
What happens is, that beaTunes asks iTunes which library it is using. iTunes returns an id. beaTunes then checks the configured
iTunes Music Library.xml
files and chooses the one with the correct id. Now, if you have multiple files with the same id, one is pretty much chosen at random. In the next update the behavior will change - beaTunes will select the one with the correct id that is newest, as that file is constantly modified by iTunes. This should take care of most (if not all) cases like yours.Thanks,
-hendrik
hendrik closed this discussion on 04 Jan, 2010 09:10 AM.