SilverSevens

Q: None of my iDevices can read my iTunes library after an hour of availibility. When I first start iTunes I can read the library, but after about 30 minutes my iPad's and iPhones can no longer access the library. I see it in the shared list, but no access.

None of my iDevices can read my iTunes library after about 30 minutes. My iDevices lose connection to my library and  I have to do one of the three following things in iTunes to regain connectivity: 1. Restart iTunes 2: Stop / Start Home Services 3: Start playing a song.

I'ts as if iTunes goes into a background or sleep mode. During the loss of connectivity my iDevices show that there's a library shared, but I cannot connect to it.

iPhone 4, iOS 5

Posted on May 13, 2012 1:34 PM

Close

Q: None of my iDevices can read my iTunes library after an hour of availibility. When I first start iTunes I can read the library, bu ... more

  • All replies
  • Helpful answers

first Previous Page 14 of 15 last Next
  • by SilverSevens,

    SilverSevens SilverSevens Jul 29, 2012 7:42 PM in response to SilverSevens
    Level 1 (0 points)
    Jul 29, 2012 7:42 PM in response to SilverSevens

    The No Sleep option seems to be working!!

    Unit stays warm, but it works.

  • by SilverSevens,

    SilverSevens SilverSevens Aug 1, 2012 12:03 AM in response to SilverSevens
    Level 1 (0 points)
    Aug 1, 2012 12:03 AM in response to SilverSevens

    No sleep is still the answer!! And so is wireless ATV's

  • by TimHart,

    TimHart TimHart Aug 1, 2012 7:40 AM in response to SilverSevens
    Level 1 (0 points)
    Aug 1, 2012 7:40 AM in response to SilverSevens

    it's worked for me too.. this has been bugging me for months !

     

    I put my ATV3 back to wireless from wired ét Violá - no homeshare issues now for 3 days.

     

    what bugs me about all of this is that I recall putting my old ATV2 onto a wired network to resolve wi-fi issues.. now it looks like ATV3 has the opposite problem. Regardless, I wish Apple would test things like this a bit better, before they release their updates on the unsuspecting world.

  • by mireki1975,

    mireki1975 mireki1975 Aug 1, 2012 8:18 AM in response to TimHart
    Level 1 (0 points)
    Aug 1, 2012 8:18 AM in response to TimHart

    Yes wireless, or never sleep wired

     

    No solution for me.....come on Apple do something

  • by mmarionsd1,

    mmarionsd1 mmarionsd1 Aug 2, 2012 11:01 AM in response to aut0maticdan
    Level 1 (9 points)
    Aug 2, 2012 11:01 AM in response to aut0maticdan

    Your script has been quite helpful, many thanks.  Here's a suggested patch though

     

     

    --- homesharing-keepalive.rb.orig     2012-08-02 10:55:13.000000000 -0700
    +++ homesharing-keepalive.rb     2012-08-02 10:55:13.000000000 -0700
    @@ -20,6 +20,16 @@
       puts "Home sharing is broken.  I am going to restart iTunes."
       `osascript -e 'tell application "iTunes" to quit'` # exit iTunes
       sleep 10 # give iTunes time to shut down
    +  cont = 1
    +  while cont == 1 do
    +      if `ps -eo uid,pid,comm | egrep 'iTunes$'` != ""
    +           puts "iTunes failed to stop.. continuing loop"
    +           sleep 10
    +      else
    +           puts "Ok, iTunes successfully stopped"
    +           cont = 0
    +      end
    +  end
       `open -a iTunes` # start iTunes
       sleep 30 # to avoid getting into an iTunes restart loop
       puts "iTunes restarted"
    

     

    I added this after several times coming home (or waking up) to a case where the script had attempted to stop iTunes and either due to it thinking devices were active homesharing, active downloads, or it asking for a password (to check for downloads) and there would be a cascade of tons of windows asking me to confirm the Quit or Don't Quit.

     

    Now the script loops until you interact with whatever popup is there and iTunes actually does exit.  Then it continues on as before.  Plus you don't yank it out from under an active store download if you force quit.  I'm not a ruby coder at all, so please excuse any lame syntax.

  • by SilverSevens,

    SilverSevens SilverSevens Aug 11, 2012 5:45 AM in response to mmarionsd1
    Level 1 (0 points)
    Aug 11, 2012 5:45 AM in response to mmarionsd1

    Thank you mmarionsd1, I'm sure your patch will be put to good use.

  • by rmcq1,

    rmcq1 rmcq1 Aug 18, 2012 12:15 AM in response to mireki1975
    Level 1 (0 points)
    Aug 18, 2012 12:15 AM in response to mireki1975

    I am so glad I found this thread.

     

    I have two Apple TVs, one wireless one wired. Also have a few iPhones, iPads, iPod. Frequent problems with iTunes Home Sharing failing to respond on any Apple TV or iDevice, requiring restarting iTunes on my (headless) Mac Mini. Annoying to say the least.

     

    So, tried the script from SilverSevens which reduced the incidence but not 100%, I still had one instance where Home Sharing would fail.

     

    Continued reading the thread to the end, and found the later advice: Make sure any wired Apple TVs are set to never sleep.

     

    So, wired Apple TV: Set it to never sleep, and guess what? 7 days straight now without one Home Sharing failure. The script has sat there silently without any output for that whole week.

     

    Now, there's been a number of iTunes and Apple TV updates, so I'm not sure exactly which version it started failing, or whether it was when I added a second Apple TV to the network. But who cares! With the help of you guys, my networked home is back to its old self!

     

    Thanks everyone.

  • by SilverSevens,

    SilverSevens SilverSevens Aug 18, 2012 12:43 AM in response to rmcq1
    Level 1 (0 points)
    Aug 18, 2012 12:43 AM in response to rmcq1

    Rmcq1: Thank you, but script credit should go to aut0maticdan as it is his creation and an excellent creation. Mmarionsd1 also made a patch for the script. We actually found the 'wired' resolution on another thread and incorporated it into ours after doing some exhaustive research on the issue.

    But again, thank you for posting that this worked for you. Spread the word that you found a fix that can work. We're looking for all the help we can get and growing the thread so that maybe, oh maybe apple will notice.

  • by SilverSevens,

    SilverSevens SilverSevens Aug 18, 2012 12:46 AM in response to TimHart
    Level 1 (0 points)
    Aug 18, 2012 12:46 AM in response to TimHart

    TimHart: my apologies for taking so long to respond. I'm glad you found some resolution in our information. I have been wired - no sleep for weeks now. No issues at all.

    Thank you again for posting that this worked for you.

  • by Cell-666,

    Cell-666 Cell-666 Aug 29, 2012 10:03 PM in response to SilverSevens
    Level 1 (0 points)
    Aug 29, 2012 10:03 PM in response to SilverSevens

    Hi all just thought I'd thank you all for giving me some light reading while I've been sat awake since 3am.

     

    So this problem has been bugging me so much for a few months now, it hasn't been so bad as I use splashtop desktop on my iPad so it's easy to port in to my Mac Mini (which I have as my media server) and reboot iTunes, even if I'm out of the house.

     

    After reading nearly all the previous posts then seeing the potential, and now confirmed "fix" I thought I would try the method here.

     

    My Set Up

    Mac Mini using a shared library for all my media, photos sharing etc.

    2 ATV2 In two bedrooms, wi-fi

    1 ATV3 Main TV wired

    3 iPads ( 2's and one 3)

    3 iPhones

    1 iPod touch

     

    Right I thought, iTunes has bombed again after a restart about 6 hours ago I'll go make a coffee and try the ATV3 on wifi. Coffee in hand I unplugged the ATV3 while I had iTunes open on my TV. Just out of curiosity I tried to connect my iPad to the shared Video library without having restarted iTunes, and BAM, connected straight away no loading time it just connected straight up!

     

    I find this hard to believe that Apple can't fix this if it does indeed appear to be a ATV3 sticking open ports. Wonder how many first time Apple users there are out there who are getting frustrated at something like this.

     

    btw I have noticed the high number of time the ATV3 seems to flick on and off all the time. Is this the cause of the sticking problem I wonder ?

  • by SilverSevens,

    SilverSevens SilverSevens Sep 9, 2012 6:31 PM in response to Cell-666
    Level 1 (0 points)
    Sep 9, 2012 6:31 PM in response to Cell-666

    Cell-666: We seem to think it's something in the ATV3 sleeping issue. When you disable Sleep mode everything seems to work fine.

  • by cendrizzi,

    cendrizzi cendrizzi Sep 25, 2012 10:01 AM in response to SilverSevens
    Level 1 (0 points)
    Sep 25, 2012 10:01 AM in response to SilverSevens

    So I updated, but haven't turned on sleeping again. Can anyone confirm that the update effects this issue? I know Apple TV's aren't know to suck electricity but it would be nice to be able to turn sleep on again.

     

    Anyone? I will try and findout tonight if no one else has.

  • by mireki1975,

    mireki1975 mireki1975 Sep 26, 2012 12:23 PM in response to cendrizzi
    Level 1 (0 points)
    Sep 26, 2012 12:23 PM in response to cendrizzi

    Seems to work now

    I have updated all my atv's

     

    Connections goes to

     

    16

    14

    13.......

     

     

    Never seen a countdown before...

  • by mireki1975,

    mireki1975 mireki1975 Sep 26, 2012 9:42 PM in response to mireki1975
    Level 1 (0 points)
    Sep 26, 2012 9:42 PM in response to mireki1975

    Morning....

     

    Overnight...it says 11 :)))

  • by SilverSevens,

    SilverSevens SilverSevens Sep 26, 2012 9:46 PM in response to mireki1975
    Level 1 (0 points)
    Sep 26, 2012 9:46 PM in response to mireki1975

    Hmmm, I'll have to give it a shot. Hopefully it is fully addressed now.

first Previous Page 14 of 15 last Next