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

Tonsko

macrumors 6502
Original poster
Aug 19, 2010
293
1
Wonder if you can help.

I'm running this, and around about 30-40 minutes in, the plex server shuts down.

I've tried running it with caffeinate thus:

alias plex='caffeinate -i open -W -a "Plex Media Server.app" &' and put it into my .bash_profile so that I can run it easily - but even with caffeinate it shuts down.

Any ideas on how I can stop it doing this?
 

xfjx

macrumors newbie
Oct 25, 2014
1
0
I just wrote a little wrapper shell script to use caffeinate while the Plex Transcoder is running as I found that the Transcoder is running even when I'm watching on my XBOX ONE, Amazon Fire TV and of cause on my iPad.

Here is a little howto:

Go into /Applications/Plex Media Server.app/Contents/Resources

Rename "Plex New Transcoder" to "Plex New Transcoder Real"

Create a shell script "Plex New Transcoder" :

#!/bin/sh

/usr/bin/caffeinate -i '/Applications/Plex Media Server.app/Contents/Resources/Plex New Transcoder Real' "$@

chmod 755 on the new script

I think it would be great if there was an option to use caffeinate with the transcoder out of the box but this hack did the trick for me.
 

johnap987

macrumors newbie
Nov 9, 2014
1
0
I just wrote a little wrapper shell script to use caffeinate while the Plex Transcoder is running as I found that the Transcoder is running even when I'm watching on my XBOX ONE, Amazon Fire TV and of cause on my iPad.

Here is a little howto:

Go into /Applications/Plex Media Server.app/Contents/Resources

Rename "Plex New Transcoder" to "Plex New Transcoder Real"

Create a shell script "Plex New Transcoder" :

#!/bin/sh

/usr/bin/caffeinate -i '/Applications/Plex Media Server.app/Contents/Resources/Plex New Transcoder Real' "$@

chmod 755 on the new script

I think it would be great if there was an option to use caffeinate with the transcoder out of the box but this hack did the trick for me.
Could you elaborate a little more how to do shell script. I've had the same problem, have been playing around darkwake, but mac goes to sleep every minute, when screen is off, and is just streaming. Thanks.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.