Just wondering if something has changed recently as my Plex Server seems to have gone a bit funny with my Macs Sleep mode.
In the past if my mac was in sleep mode i could still access my Plex library and the Mac would stay sleep with the screen off. Now when my macs in sleep mode and i open my plex library my screen will come on straight away - any one any ideas why?
Seemed to work perfect before I'm not too sure whats changed.
Installed plex server and now the machine will not shut off. It gets to the grey screen right before shutoff should occur, but it never completely shuts off.
I would be surprised if Plex Media Server prevents the machine from shutting down properly. You can look at Console.app (in /Applications/Utilities) at messages logged approximately when you shut down to see if anything logged an error. You can also create a new user account, log in as that user, (not install PMS to that user), and shut down, to see if it's really PMS or something else. As far as I know, PMS runs under the logged-in user account, and does not run until you log in as a user with PMS set to automatically run at login, or manually start PMS.
The Mac has to be awake in order for PMS to work. Keep in mind that PMS doesn't transcode everything. So it's entirely likely that you access PMS, start to play some content, PMS hands off the delivery of the file to your viewing device, and the Mac is allowed to go to sleep (depending on your sleep settings). But if you are navigating the PMS menus, as far as I know, the Mac has to be awake. You may be confusing the screen being on with the Mac being awake; just because the Mac's primary monitor is off, doesn't mean the Mac is asleep.
If what you're saying is that you access PMS on your Mac, and this in and of itself causes the screen to come on? That doesn't make much sense to me. Unless you are also using the Mac as your Plex client via a VNC or screen sharing app. I can try to offer more insight if you give me more details about how you're using PMS. Is the media local to the Mac or on a network share? How are you getting to PMS on your viewing device - through the dedicated Plex app, through AppleTV, through a DLNA device like xbox?
If what you're saying is that you access PMS on your Mac, and this in and of itself causes the screen to come on? That doesn't make much sense to me. Unless you are also using the Mac as your Plex client via a VNC or screen sharing app. I can try to offer more insight if you give me more details about how you're using PMS. Is the media local to the Mac or on a network share? How are you getting to PMS on your viewing device - through the dedicated Plex app, through AppleTV, through a DLNA device like xbox?
Hi,
My iMac is setup my plex server and the media is stored locally on the mac. I'm using the plex app on roku and iOS and have the same result on both.
I set my mac to sleep mode and it does this fine and the hard drive spins down, if I open plex on my roku / iOS device my iMac hard drives spin up (as I would expect) but the screen will then turn on.
In the past when I accessed plex through my roku / iOS device I would hear the hard drive spin up but the screen would stay off, I've no idea what could have changed.
Just a bump to see if anyone has any idea what could cause or how to fix this?
Whilst its not a huge issue it does cause annoyance as the iMac is in my room so when others in the house access the movies it has the tendency to wake me up when it lights up the room with the screen!
Im really not to sure what more to try apart from Reinstaling OSX but hopping it won't get to that!
I have an iMac and since I upgraded to Yosemite and attempt to connect to the server it is not possible while the iMac is asleep. Before this it would connect fine. If I'm in the middle of a stream and the iMac goes to sleep it will then interrupt the stream.
yes. having the same issue - will fall asleep while streaming. Not problem on Mavericks - i.e. streaming video would keep server awake. But now on Yosemite 10.10, and the current PMS server (9.9.11.678) will go to sleep (because idle?). On Mavericks, the client would sent an assertion and prevent sleep. On yosemite it is broken. I can see the PMS server is sending an assertion to (try to) keep awake - but it seems something in PowerMangement changed and now ignoring the request? (run pmset -g assertions a few times and can see it there and gone).
Yeah, this was resolved for me by keeping the hard disk drives awake in power settings. It's not a great solution, but so far it's the only thing that keeps my external hard drive (with Plex collection) from spinning down while buffering.
yes. having the same issue - will fall asleep while streaming. Not problem on Mavericks - i.e. streaming video would keep server awake. But now on Yosemite 10.10, and the current PMS server (9.9.11.678) will go to sleep (because idle?). On Mavericks, the client would sent an assertion and prevent sleep. On yosemite it is broken. I can see the PMS server is sending an assertion to (try to) keep awake - but it seems something in PowerMangement changed and now ignoring the request? (run pmset -g assertions a few times and can see it there and gone).
This.
Same OS X 10.10, PMS 0.9.11.678 and same findings with pmset -g assertionslog
My mini goes back to sleep after a few seconds in, stopping the stream. Even when browsing through web interface it will fall asleep again, always around 10-20 seconds after having been awaken through bonjour/GDM. PM assertions seem not to be working for some reason in Yosemite. I can reproduce it every time and only workaround I found is to ssh in first and run caffeinate for an amount of time.
Turning off "Put hard disks to sleep when possible" does not fix it for me.
For anyone that's still looking for a solution, I've just stumbled on a tidy little app named Wimoweh.
I Installed from the App Store, selected 'Show all processes', picked out Plex Media Server and selected the Never Sleep and Display Sleep options. I then let my iMac go to sleep (computer sleep and display sleep) after setting it to 1 minute in Preferences > Energy Saving. Acessed plex library on my phone and the iMac display remained off.
Best 69p I've spent in a while. Does what it says on the tin and probably a bit more, but it's served its purpose for me.
I used wimoweh app and found out that plex media server is not handeling nosleep assertions correctly while direct playing. Disabling direct playing in your app, will force server to direct stream or transcode, and this will fix sleep issues. Your mac will keep awake while transcoding. Wimoweh is not actually needed for this to work, it just showed me that the Nosleep assertion stays on 100% of the time while transcoding; but goes on and off randomly while direct playing (mostly off). Hope this helps. I´m sure that PMS developers will fix this in some of the following updates; seems to me that it has something to do with new code and new power management handling in Yosemite.
my macbook air goes to sleep while streaming to a rasplex setup too.. It should be direct play most of the time, and i'd like to avoid transcoding where possible.. Any help?
I'm having the same issue. It's pretty annoying when I'm trying to watch a show on my iPad in another room and it freezes halfway through, requiring me to get up and go the computer room each time. Shouldn't someone have addressed this by now, after three months? Or let us know they're working on it? I can't imagine we're the only ones who find this an issue.
A bump for this issue as I am facing it too.
I disabled ‘Direct Play’ on the iOS client and was streaming a 30 min episode and when it finished, the library was blank and I could not connect to my Mac since it is set to sleep after 15 mins. Anyone found a working solution for this or any comment from the DEVs?
Did anybody find a solution for this? I’m having the same issue. This only started a few weeks back I believe. Have’t been using Plex much lately. Running latest version of Yosemite and PMS. My iMac is about a year old and uses an SSD drive. Use Roku hooked up to my TV. Energy savings settings are default and all look good.
Plex no longer wakes my iMac up when it’s sleeping and a lot of the time when I’m streaming my iMac goes to sleep and cuts the stream off.
I’m assuming an update to Plex caused the issue as this used to work perfectly fine with no issues.
For those with the issue of the Mac sleeping during streaming, I have found the following app which works great. It is free and you simply tell it to keep awake while there is a process with ‘Plex New’ in the name.