Skip to main content
Trending Lyricist I
July 16, 2015

My iMac won't stay awake when my Sonos is playing since update to 5.4

  • July 16, 2015
  • 25 replies
  • 10427 views
Ever since upgrading to the new controller, my iMac no longer stays awake while using my Sonos. I have my music library stored on my iMac and have it set to sleep after only a few minutes. In all previous versions on the controller, as long as I had music playing in Sonos, my iMac would stay awake so the the connection could stay alive and the music would keep playing song after song until i paused it or the end of the queue was reached, at which point the iMac would sleep after a few minutes of inactivity per the energy saver settings.

However, since upgrading to the newest controller (5.4), this is no longer the case. It now sleeps even if music is playing if i am not also using the iMac for computing. As a result, Sonos loses the connection to my music library and is unable to play the next track in my queue.

Is there a fix for this issue? I know I can set my energy settings so my iMac never sleeps, thus fixing the connection loss issue. However, I do not want to do this because I do not want to have my iMac awake when not in use and also do not want to have to physically sleep it after each use of my Sonos.

Thank You.
    This topic has been closed for further comments. You can use the search bar to find a similar topic, or create a new one by clicking Create Topic at the top of the page.

    25 replies

    Trending Lyricist I
    July 16, 2015
    I think you are missing my point. I don't want it to sleep while playing music. I want it to stay awake while playing music. However, when not playing music, the sleep settings should kick in. This is how it operated in all versions prior to 5.4. What changed in 5.4? And why? By 'not in use' I also mean not being used by sonos. I understand that the computer needs to be awake to access the music library. That's the whole issue. It's not staying awake. It used to behave similar to iTunes. If I am playing music in iTunes, the sleep settings won't kick in. When I stop playing music, the timer starts for the sleep settings. I just want it to go back to this so I don't have to have my computer awake 24/7 unless I manually sleep it.
    I appreciate it. I will continue researching the issue on my end as well to see if i can pinpoint what has changed. Thanks!
    Ryan S
    Retired Sonos Staff
    July 16, 2015
    I think you are missing my point. I don't want it to sleep while playing music. I want it to stay awake while playing music. However, when not playing music, the sleep settings should kick in. This is how it operated in all versions prior to 5.4. What changed in 5.4? And why? By 'not in use' I also mean not being used by sonos. I understand that the computer needs to be awake to access the music library. That's the whole issue. It's not staying awake. It used to behave similar to iTunes. If I am playing music in iTunes, the sleep settings won't kick in. When I stop playing music, the timer starts for the sleep settings. I just want it to go back to this so I don't have to have my computer awake 24/7 unless I manually sleep it.
    We updated our file sharing protocols with version 5.4 to move away from the standard SMB file sharing we've used before. The new format is running off of HTTP sharing for the players to connect to. This has been much more robust then the SMB shares, and in general has been more reliable all around. 

    You can still set up an SMB share off of that computer to Sonos, you'll just need to do it slightly different from how you've done so in the past. This would be a good test to see if it's an issue with the new sharing protocol being unable to keep the drive awake.

    The steps for setting up the share off of SMB are documented here. Basically, you'll be turning sharing on for that music folder, enabling SMB in sharing settings, and then in the Sonos software, choose a network location (third sharing option) and select type in the name of the computer and share name.

    Also, I don't see it listed here anywhere, but what version of OS X are you running?

    Let us know how it goes.
    Mark good posts by pressing the like button, and select the best answer on questions you've asked to help others find solutions.
    Lyricist I
    July 16, 2015
    I am having the same problem as WalkyChalky since the new update. And I can't find a work around. I am completely unable to play my own music library on my Sonos system.
    Ryan S
    Retired Sonos Staff
    July 16, 2015
    I am having the same problem as WalkyChalky since the new update. And I can't find a work around. I am completely unable to play my own music library on my Sonos system.
    Hi Kristine,

    Have you tried the steps I posted above to manually add the share instead of using the new protocol?
    Mark good posts by pressing the like button, and select the best answer on questions you've asked to help others find solutions.
    Lyricist I
    July 16, 2015
    I am having the same problem as WalkyChalky since the new update. And I can't find a work around. I am completely unable to play my own music library on my Sonos system.
    Not yet. I've spent most of yesterday trying to fix it, and really don't want to lose much of today, so will try again later.
    Trending Lyricist I
    July 16, 2015
    I think you are missing my point. I don't want it to sleep while playing music. I want it to stay awake while playing music. However, when not playing music, the sleep settings should kick in. This is how it operated in all versions prior to 5.4. What changed in 5.4? And why? By 'not in use' I also mean not being used by sonos. I understand that the computer needs to be awake to access the music library. That's the whole issue. It's not staying awake. It used to behave similar to iTunes. If I am playing music in iTunes, the sleep settings won't kick in. When I stop playing music, the timer starts for the sleep settings. I just want it to go back to this so I don't have to have my computer awake 24/7 unless I manually sleep it.
    Thanks for the response. I won't have time to try this out until tomorrow evening probably, but I will let you know how it goes!

    Thanks!

    P.S. I am Running OS X Yosemite Version 10.10.4. I last updated on 7/4.
    Trending Lyricist I
    July 17, 2015
    I think you are missing my point. I don't want it to sleep while playing music. I want it to stay awake while playing music. However, when not playing music, the sleep settings should kick in. This is how it operated in all versions prior to 5.4. What changed in 5.4? And why? By 'not in use' I also mean not being used by sonos. I understand that the computer needs to be awake to access the music library. That's the whole issue. It's not staying awake. It used to behave similar to iTunes. If I am playing music in iTunes, the sleep settings won't kick in. When I stop playing music, the timer starts for the sleep settings. I just want it to go back to this so I don't have to have my computer awake 24/7 unless I manually sleep it.
    Hey Ryan,

    I tried out your suggestion and the issue appears to be resolved so far. It was a surprisingly quick and easy solution. Thanks for the help!! 🙂
    Lyricist I
    October 6, 2015
    Will this issue be fixed. I have the same issue. When my Mac goes to sleep my music stops. This is new since I updated the Sonos software. The music would continue playing after my Mac went to sleep. I can get round it by extending the time to how ever long I think I will be playing my music for. But obviously this is a bit of a faff!! I then need to change it back after I have stopped playing my music and use my mac for routine use.
    I hope you understand that this is new. There was no problem of the music stopping when the mac went to sleep before the new software version.
    I have deleted my music library and added it again, but also no resolution.
    Please confirm that this problem is understood and is being addressed.
    Lyricist I
    November 15, 2015
    This worked for me 😳.
    Thank you WalkyChalky for being persistent.
    Sonos - it took me months of annoyance and searching to solve this issue as I thought it was an problem of my mac. 😠
    Lyricist I
    January 2, 2016
    Just found this and set up the system as Ryan S suggested. Not tested it yet but thanks in advance, just what I wanted too.