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.
Page 1 / 1
It sounds like your Mac is set to automatically log you out after a period of inactivity. Open System Preferences from the Apple menu in the top-left corner. Open the "Security & Privacy" preference pane. Click on the "Advanced..." button in the bottom-right corner. You may need to unlock the pane using the padlock icon in the bottom-left corner. I think you'll find "Log out after XX minutes of inactivity" ticked. Untick it. Good luck!
I just checked. That box wasn't ticked. Issue remains unsolved. Thanks for trying though!
That would make the connection stay alive. But I want the computer to sleep when not in use like it did before. I don't want my computer to always be awake wasting energy for no reason. It should stay awake when Sonos is accessing the library and sleep when not in use. This is how it worked in all version prior to to 5.4. I've been using Sonos in this exact setup for over 2 years now. No issues with this until the new update.
On previous version (havent been able to confirm) when adding the music library you had the option " Allow Sonos to set computer's sleep setting to never" in essence what Max P advices, just a different way of doing, my guess is that this setting has been reset, if the library is not too large and you have time on your hands, remove it and add it again! When prompted make sure the box is ticked
As mentioned in my original post, I know I can make the connection stay by adjusting my computer energy saver settings so the computer never sleeps. That is not an acceptable solution. My computer needs to sleep when not in use. I don't need the extra wear and tear on the hard drive and processors and the extra energy usage if I'm not using my computer. That is the whole point of having energy saver settings.
And I didn't update my Mac since before I updated the Sonos controller app. The only thing that has changed between when it was working properly and not working is the Sonos App controller version. It changed immediately after updating from 5.3 to 5.4. Why?
And I didn't update my Mac since before I updated the Sonos controller app. The only thing that has changed between when it was working properly and not working is the Sonos App controller version. It changed immediately after updating from 5.3 to 5.4. Why?
But the harddisk needs to be accessible and spinning for you to access the music that is stored on the harddisk, so your Mac cannot go to sleep! You can let the display go to sleep, this is what we are trying to say, if the harddisk goes to sleep, the music will stop! Does that make sense? The sonos components do not store the songs.
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.
There is no way the Sonos system has ever controlled the sleep settings on your Mac to keep it awake when Sonos needs it. That is why the music library setup still does ask if you want to set the hard disk never to go to sleep - because it has no way of managing it thereafter. Nothing in this respect is different in 5.4 than in any previous version.
Thanks for the reply, John. However, I am going to have to respectfully disagree. Although I wouldn't say Sonos was ever "controlling" the sleep settings on my computer. I would say that Sonos impacted the sleep settings in relation to how the sleep settings recognize when the computer has gone truly "idle" and, thus, starts the timer to go to sleep at whatever interval has been selected in the energy saver settings.
In prior controller versions, the Sonos system accessing the files on the hard drive was enough to keep the system from ever going idle. Therefore, when the system went to grab the next file, the connection was still alive and the song played as expected. If I stopped playing music for a few minutes, the computer would idle and the sleep settings would kick in based on the energy settings. If I wanted to start playing music again later, I would have to go wake up the computer before starting again, but it would then stay awake for the entire listening session, assuming i never stopped the playback manually (although the display would always still sleep, which admittedly seems a bit odd now that I think about it. I have both display and computer set to sleep after 1 minute of inactivity and have had it this way since i got my first Sonos component over 2 years ago.)
For some reason since updating to 5.4, the Sonos activity of accessing the files on my hard drive is not enough to prevent the computer from idling. It still will go idle and then after a minute sleep and wind down the hard drives, resulting in the Sonos being unable to connect to my library to play the next track in the queue. However, it will always finish the current song, which leads me to believe there is temporary local caching on the Sonos system for at least the current track, contrary to what afroviking stated in his most recent post. Although I'm not truly sure.
It behaved as described for over 2 years and multiple controller versions. I promise you I am not making things up. Behavior changed immediately after upgrading to 5.4. I'm hard pressed to believe this is merely a coincidence. I'll time machine back to 5.3 and prove it to you if I must.
RIght now I'm just using Caffeine to keep my iMac awake while playing music without altering my sleep settings, but would prefer to find a real solution rather than a workaround. It may seem like a minor issue on the face, but it can have a significant impact on the life of my iMac components and the size of my energy bill.
OK. I'm sure you aren't making it up. Whether you are right or not, my certainty that you were wrong was unjustified. I will keep an eye out for other users having similar experiences.
I appreciate it. I will continue researching the issue on my end as well to see if i can pinpoint what has changed. Thanks!
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.
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?
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.
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.
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!! 🙂
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.
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.
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. 😠
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. 😠
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.
Yo! I was just curious....did anyone try scheduling sleep settings for the hard disks? I'm including a screenshot of my energy saver settings. You'll see "Computer sleep" is set to NEVER, and "Put hard disks to sleep when possible" is NOT CHECKED.
The next screenshot is in the "Schedule" settings window. I've selected options that are when I'm least likely to use the computer...unless we stay up a little later than usual drinking something good! ;)
I haven't found out yet if the "Computer Sleep" being set to NEVER will override the scheduled sleep settings or vice-versa. If the scheduled sleep takes precedence over the slider scale, then this might be an acceptable compromise for those of us who want the best of both instant access and computer sleepy time.
The next screenshot is in the "Schedule" settings window. I've selected options that are when I'm least likely to use the computer...unless we stay up a little later than usual drinking something good! ;)
I haven't found out yet if the "Computer Sleep" being set to NEVER will override the scheduled sleep settings or vice-versa. If the scheduled sleep takes precedence over the slider scale, then this might be an acceptable compromise for those of us who want the best of both instant access and computer sleepy time.
It seems like Ryan's link from above is now deleted. Does anyone know how set up his solution?
https://sonos.custhelp.com/app/answers/detail/a_id/2414/?_ga=1.157266552.295230311.1445729031
https://sonos.custhelp.com/app/answers/detail/a_id/2414/?_ga=1.157266552.295230311.1445729031
I need the solution as well. This has been as issue for a long time.
That's weird, but I found the working one see: https://sonos.custhelp.com/app/answers/detail/a_id/2413
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.
Hi there,
I've enabled SMB in sharing settings and turned on sharing for my music folder but it comes up with the error 'Access to the shared folder [folder path] is denied - please check username and password' - I am certain I have the correct path and username/password, and my firewall is turned off.
Any ideas? I am using Sonos controller version 6.4 and am running OS X El Capitan 10.11.6
Many thanks
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.