Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

iTunes 10.5 does not load shared library files

Since today's update to iTunes 10.5 from 10.4.1. iTunes can no longer access the shared music library I have on my iomega NAS disk. It sees the disk and lists it as a shared library, but when I click on the library it goes into an endless loading cycle. In the past it might take a minute or so to load the library, but since the update, iTunes never actually does load it.


There is no error message, not even an operation time-out. I can't see anything rrelevant in the console. It just goes on for ever trying to load the shared library.


It was loading the shsred library just fine until this evening when the update downloaded.


Any ideas?

Mac Pro, Mac OS X (10.6.8), iTunes 10.5

Posted on Oct 11, 2011 9:56 PM

Reply
239 replies

Mar 8, 2012 5:12 PM in response to s_d_graham

Gentlemen,


I just got off the phone with an Apple tech. My request was not only to find out the NAS compatibility concern but to ask why the many files of converted home movies (M4V), I saved to my hard drive and to my NAS drive, do not allow me to "TV OUT" to any TV I cable my IPhone to. Basically I was told that Apple, hasn't perfected the "save on your computer, play on another" concept and that it is the fault of the 3rd party.

While I realize that what I'm asking is beyond the present Apple technology, I'm hoping that they will listen. I'm sure that there are many people out there that would love to play thier home movies on any screen through a cloud, at least,

What are your thoughts?


Don Seddio

Mar 8, 2012 6:03 PM in response to Droppingin

Understood Drop, however my guess here is that it's because your iMac has iTunes configured to share it's iTunes Library to the LAN. This will still work even if the actual media files exist on your NAS rather than your iMac. In fact I can do the same if I wish.


That is not the same as running iTunes "server" software directly on the NAS. Here is a test. Try turning your iMac off and then see if the laptop can still access the Library listed under "Shared".

Mar 8, 2012 7:49 PM in response to DarkClown

That is true and thought about it later but did not think it made a difference, however on the laptop it shows two things: one is upper left under Library in Music and one is under shared called whatever I said. I am at my iMac at the moment.


The iMac only shows the in the upper left side like the laptop.


I am double checking the paths on both those items on the laptop and found something a little strange:


  1. Top left Music: path in Get Info shows the entire or detailed path to the NAS.
  2. Shared: path in Get Info shows only "my name's Library". The path used to be same as the 1. above but it seems to have changed after shutting down both 'puters for the test mentioned on my other post.


I am not trying anything funny or being cute, this is how it is set and working.

Mar 8, 2012 8:01 PM in response to Droppingin

Another thing I forgot, just trying to move to fast, but I read in the Apple support that you can copy files from the external device and put them up into that Music location in the upper left-without actually moving the files there; much like an Alias but then do not have typical simple Mac uses for Alias's. That is how I put them there but unclear as to why right now.




This can only happen when in the Advanced Preference dialog when "Copy files to iTunes Media folder when adding to library", is unchecked.


This and another article are what set me in this direction but it took a lot of reading and searching.

Mar 8, 2012 8:17 PM in response to Droppingin

I the risk sounding like a moron, and I sincerely apologize for the confusion BUT, both the puters are showing the same things on the left side of the iTunes window. I do not know what to say because I could have sworn it was not there before.


I not trying to jerk anybody around but going back and forth has either messed me up or something funny is going on. Having played with these things since the first pc's came or since 1984/85, I know funny things can happen but most of the time it is operator error.


The machines are functioning just I have said before though, that has not changed.


As another test, got the laptop sitting at the iMac with me:

I ejected, in the left window, the library under Shared by clicking the up-arrow- on the iMac.

The laptop still worked and retained its library under Shared.

Mar 8, 2012 8:21 PM in response to Droppingin

There are two potential problems with sharing the music via a network mounted drive, depending on how you're doing it.


If the the whole iTunes folder is shared, complete with the iTunes Library XML file, then there is the potential for it to become corrupted if separate copies of iTunes need to update it (e.g. by importing new music files into the library) at the same time or become inconsistent if modified at two different times by two different processes.


If only the music files are shared but separate iTunes Library XML files are maintained on the separate computers, then the XML files will become out of date as changes are made until the Library files are rebuilt.


When the music is stored on a NAS that supports sharing via iTunes Server protocol, none of that is an issue.

Mar 9, 2012 7:12 AM in response to Brahm

This is as frustrating for me as it must be for others. I will start with questions:


Brahm, did you see me post upstream regarding what files are on the NAS?

  • if so, do see what is wrong or right about it?
  • each of my machines have music files shown in the itunes window but no music files stored locally.
  • although each machine has an itunes folder with the same itunes files but looking at the size, they do not seem to change.
  • what is meant by "itunes server", that is, do you mean the itunes app or the xml file?
  • if setup with the server on the NAS, would there be libraries showing up under the Shared list on each computer?


I want to understand what I did, why it is working, and the difference between the two solutions. By merely relocating the library files seems to function, well, function as I expected but this is new ground for me.

Mar 9, 2012 8:39 AM in response to Droppingin

Droppingin,


Based on your earlier post, it looks like the all the files, including the the iTunes Music Library.xml file are stored on the NAS. That file contains a bunch of information about the music in your library, including the location of the files (which may actually reside in different locations if you don't keep your library consolidated) as well as much of the meta data (such as artist, title, genre, bit rate, play count, etc.). It does this because reading each file individually and parsing each file to extract the ID3 tag data is a time consuming process. If it had to do that every time it launched, it would take a very long time for large libraries. So usually this process is done once when you first use iTunes (or sometimes upgrade), then incrementally as changes are made (e.g. adding new music, incrementing play count, editing album names, etc.).


The problem with sharing the .xml file between multiple instances of iTunes comes not when the file is read, but when it needs to be updated by two different instances of iTunes. Each instance of iTunes will read that file into memory when it launches. If one instance of iTunes makes a change to that file on the shared network drive, the other instance of iTunes will not see that change because it has already loaded the contents of the .xml file into memory. Unless Apple has developed iTunes to check whether that file has been modified since it was loaded into memory (which I have no reason to believe it has, though I have not verified this), any changes made by that second instance of iTunes would overwrite the changes made by the first. You would need to quit that second instance of iTunes and then re-open it for it to pick up the original changes. This also becomes dangerous if the two instances of iTunes try to update the file at the same time, which may lead to file corruption. This wouldn't necessarily be the end of the world; it would probably just require having iTunes rebuild the library file again. That said, if you do not use two instances of iTunes simulateously, you should be fine with this set-up.


Getting back on topic, that set-up is not what this thread is about. This thread concerns the Home Sharing or Library Sharing feature of iTunes. iTunes has the ability to act as a server on your local network in order to share the contents of your library available to other instances of iTunes on the network. This is sharing at a different level of abstraction (sharing music and playlists versus files) and therefore uses a different network protocol than whatever network file system protocol your NAS uses (e.g. SMB, AFP, NFS, etc.). Some NAS devices are capable of mimicking the behavior of the official iTunes sharing capabilities, though often to a limited extent (e.g. streaming only (no copy), limited playlist support, no playcount updating). The advantage, though, is that you don't need to have another computer up and running iTunes in order to have your music collection shared. Most NAS devices that support this function are relatively inexpensive, low power, and running all the time anyway.


If your NAS does not support the iTunes server functionality, or if you do not have it enabled, you will not see it listed in the Shared list. Based on your screen shots, it looks like it is supported.


This thread is how iTunes 10.5 stopped functioning properly with the iTunes server implementations on many NAS devices. The NAS's iTunes server is listed under the Sharing section of iTunes but fails to properly list the music on that NAS when selected. Some people were able to upgrade their firmware on their NAS to fix the issue from that end. For some, the NAS is old enough and no longer supported with firmware upgrades or one just hasn't been provided by the manufacturer. For those of us in that camp, 10.5.1 and 10.6 restored that functionality. For others, functionality still hasn't been restored.

iTunes 10.5 does not load shared library files

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.