The urge to upgrade to a Pro 6 box just keeps growing...
http://elan.plexapp.com/2011/05/14/the- ... ia-server/

I downloaded the file and unzipped it. Where do I copy the directory to? the root
do I need to ssh in to the box I assume I do since I have to run the start.sh script.
My understanding is this will transcode as well if this works bye bye dlna

# cat /etc/init.d/plexapp
#!/bin/sh
#
# Copyright (C) 2008-2010 by JCF Ploemen <linux@jp.pp.ru>
# released under GPL, version 2 or later
################################################
# #
# TO CONFIGURE EDIT /etc/default/plexapp #
# #
################################################
### BEGIN INIT INFO
# Provides: plexapp
# Required-Start: $local_fs $network $remote_fs
# Required-Stop: $local_fs $network $remote_fs
# Should-Start: NetworkManager
# Should-Stop: NetworkManager
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: plexapp streaming service
### END INIT INFO
DAEMON=/usr/bin/plexapp
SETTINGS=/etc/default/plexapp
DESC="plexapp streaming services"
PIDFILE=/var/run/plexapp.pid
SETTINGS_LOADED=FALSE
# these are only accepted from the settings file
unset USER CONFIG HOST PORT EXTRAOPTS
. /lib/lsb/init-functions
check_retval() {
if [ $? -eq 0 ]; then
log_end_msg 0
return 0
else
log_end_msg 1
exit 1
fi
}
is_running() {
# returns 0 when running, 1 otherwise
PID=`ps -ef |grep "\./Plex Media Server"|grep -v grep |awk '{print $2}'`
RET=$?
[ $RET -gt 1 ] && exit 1 || return $RET
}
start_plex() {
cd /c/plex/current
./start.sh > /dev/null 2>&1 &
}
stop_plex() {
kill `ps -ef |grep -i plex |grep -v grep |awk '{print $2}'`
}
case "$1" in
start)
start_plex
sleep 5
is_running
echo $PID > $PIDFILE
;;
stop)
stop_plex
;;
force-reload|restart)
stop_plex
start_plex
;;
status)
if is_running; then
log_success_msg "$DESC: running (pid $PID)"
else
log_success_msg "$DESC: not running"
[ -f $PIDFILE ] && exit 1 || exit 3
fi
;;
*)
log_failure_msg "Usage: $0 {start|stop|restart|force-reload|status}"
exit 3
;;
esac
exit 0
# update-rc.d plexapp defaults
TeknoJnky wrote:I see some python files, does anyone know if this will affect who cares? python/sabnzbd/sickbeard addons?
sphardy wrote:yoh-dah wrote:Community add-on, anyone???
http://forums.plexapp.com/index.php/top ... _p__170152
Users browsing this forum: No registered users and 0 guests