Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

AlexBooHu

macrumors newbie
Original poster
Jun 4, 2011
8
0
Hey,

i got the following problem:

I have a MacBook Pro 13" and on its HDD are all my movies and TV shows stored. The Energy Saving Options are still the standart ones (i only turned WOL off to prevent my MacBook turning on every two hours). To watch TV shows and movies i have an Apple TV 2 with XBMC connected to the MacBook via Samba3 (installed via Macports: http://www.johnlarge.co.uk/2011/07/19/osx-lion-samba-smb-shares-broken-xbmc-not-working/). The problem is that when i watch a movie the MacBook is not going to sleep for longer than the normal time, but on some point (most of the time after 60-90 minutes) it is going to sleep anyway. Is it possible to keep the macbook awake as long as some client accesses its smb server? For example with a script, that checks if a client is connected and if keeps the macbook alive. I found something like that for ubuntu.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.