Up to now it look like there is two different problem with Home Sharing on the forums:
1) People loosing connection WHILE listening to something (From what I see it is 20-40 minutes)
2) People can't connect back to Home Sharing after iTune as been idling for a longer period. (1-2 hours or overnight)
Look like IPv6 corrected problem number #1 for you, as it was reported by other too, but now it look like you are stuck with the second problem, as I am.
You running iTunes on windows or a Mac ?
So you have issue on Windows 7 64bits, I have issues on Windows XP 32 bits and another user on the forums have the same problem as me and probably you while using a iMac. Look like it is not a OS problem and more related to iTune it self.
Other thread im on: https://discussions.apple.com/message/18451139#18451139
SUCCESS! I have had overnight success. Last changes were to effectively kill sleeping except for the monitor!! 5 hours between attempts. Response was quick with album art filling in quickly.
This is the first success, more testing required and I will post my power parameters. My next test will be connecting right after work. 10 hour break. Will keep advised.
Have not had to restart iTunes since 22 May - Thats a full 24 hours, more importantly it's been an overnight and a workday.
Remember I previously unchecked IPv6 option in NIC Card settings. This is still the case.
As promised, my power settings are:
Turn off hard disk after : 20min
Desktop background settings: Slide Show: Available
Wireless Adapter Settings - Power Saving Mode: Maximum Performance
Sleep after: Never
Allow hybrid sleep: Off
Hibernate after: Never
Allow wake timers: Enable
USB Selective suspend setting: Enabled
PCI Express - Link State Power Management: Off
Processor Power Management - Minimum: 90% - Maximum: 100%
Turn Off Display after: 10 Minutes
Multimedia Settings - When Sharing Media: Prevent idling to sleep
When playing video - Optimize video quality
FYI. I have a Mac mini and my connection keeps getting lost after a while. I can stream for some time but I let when I stop and try the next day it doesn't work and can't connect until I restart iTunes.
I've been sharing my library since the apple tv 1 and never had any problems. This is such a joke. I now have a Mac mini, at3, shared through an airport extreme. I have the mini with a static ip and have tried turning off sleeping. No luck.
The plot thickens!
Tried an experiment today.
Started Itunes on the "master". Logged on to the shared library form my laptop - no problem with loading library or playing a song. Left the shared library open in local Itunes - not playing song, just connected - for several hours.
After the several hours I could search the shared library, look at play lists etc., but when I tried to play a song I got a small window with Opening URL and a Connecting message - no song played.
The master computer does not sleep.
Quitting the local Itunes and clicking on the shared library brings up the list of songs etc., but still I get the Opening URL window and no song playing.
Quiting the Master Itunes and restarting Home Sharing works fast - as it should.
So I believe that the issue it with Itunes forgeting it is supposed to be sharing if there is not activity - I do not have the issue where it just stops during a stream.
Davids8477: Your testing suggests that there is a cache that previously loaded on the target device (laptop, iPhone, iPad, etc) The cache holds Album artwork and everything except the actual songs. The songs are not called up until you specifically request them. (forgive me if you know all this already). I discovered the same issue on my iPhone when I tried that same testing methodology.
Concerning your last two statements. Mine did not quit during a stream - at least I did not test anything that long.
But I did notice that each time I would completely close the app on my iPhone and reopen it, the information to be cached downloaded to my device at a slower pace than the last time, until it wouldn't load at all. Changing the IPv6 setting seemed to fix that issue. However it would still quit connecting after an extended idle.
(ex. Over night or while I was away at work). Then I changed my power config to leave everything on including Hard Drives and Monitor. Test still failed predictibly and the external SATA drive was getting quite warm.
I then decided to change the config to let the drives and monitor sleep, and it all started working again. It's been working since the 22nd. There have been no degrading info loads and no lost connections since then.
I don't have IP6 enabled.
So I talked to an Apple support representative this morning for some time. We went through everything and so far no fix in sight. At present I've reinstalled itunes to see if that helps (one of the few things I hadn't done, and I'm doubtful it will help). Next I'll try setting up itunes on another user.
Overall even he seemed doubtful as he talked to a senior support person who mentioned she is also having the same issues with her apple tv connecting to itunes .
In terms of caching I've noticed when streaming a tv show I can finish the show without issue due to caching, it's always then next show that the apple tv gets stuck on. Also if I get out of my shared library and try to get back in the spinner goes until timeout.
cendrizzi: I guess I should have put down the fact that I completely scrubbed my hard drive and started from scratch and that this did not work either.
Today will be day two of testing. If i get home and get a connection right away I will do a reboot - First one since it started working again, and do another overnight\work test. If i get a connection right away after that i can consider my system fully functional again.
Also there may be some BIOS Suspension/Hibernation settings playing a part in this issue - I just though about the fact that I have mine set to MINIMUM sleep / Restore faster - What I'd call the "Lightest Possible Sleeper" state.