diff options
author | Kevin Matthew <kevin@kevinmatthew.com> | 2018-05-05 09:47:58 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-05-12 06:58:22 +0700 |
commit | 52feb0a4d6ecd866115b95bd603645fe874b30c0 (patch) | |
tree | befc349058750e01ed8da2ba555e3665efb135dd /multimedia | |
parent | c3bd9e1934b8085e18dace9dcf2e1bbb79183de1 (diff) |
multimedia/plexmediaserver: Updated for v 1.12.3.4973_215c28d86.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/plexmediaserver/plexmediaserver.SlackBuild | 4 | ||||
-rw-r--r-- | multimedia/plexmediaserver/plexmediaserver.info | 14 | ||||
-rw-r--r-- | multimedia/plexmediaserver/rc.plexmediaserver | 30 |
3 files changed, 39 insertions, 9 deletions
diff --git a/multimedia/plexmediaserver/plexmediaserver.SlackBuild b/multimedia/plexmediaserver/plexmediaserver.SlackBuild index 1f7e3d7a3abbc..66c38a1a46425 100644 --- a/multimedia/plexmediaserver/plexmediaserver.SlackBuild +++ b/multimedia/plexmediaserver/plexmediaserver.SlackBuild @@ -26,7 +26,7 @@ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=plexmediaserver -VERSION=${VERSION:-1.4.2.3400_ab906953b} +VERSION=${VERSION:-1.12.3.4973_215c28d86} PKG_VERSION=$(echo $VERSION | tr _ -) BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -103,7 +103,7 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -mkdir -p $PKG/opt/$PRGNAM/bin/ +mkdir -p $PKG/opt/$PRGNAM/bin/ mv $PKG/usr/lib/plexmediaserver $PKG/opt/$PRGNAM/lib mv usr/sbin/start_pms $PKG/opt/$PRGNAM/bin/ diff --git a/multimedia/plexmediaserver/plexmediaserver.info b/multimedia/plexmediaserver/plexmediaserver.info index 6982b5cc17f03..4193a2040808a 100644 --- a/multimedia/plexmediaserver/plexmediaserver.info +++ b/multimedia/plexmediaserver/plexmediaserver.info @@ -1,10 +1,10 @@ PRGNAM="plexmediaserver" -VERSION="1.4.2.3400_ab906953b" +VERSION="1.12.3.4973_215c28d86" HOMEPAGE="https://plex.tv/" -DOWNLOAD="https://downloads.plex.tv/plex-media-server/1.4.2.3400-ab906953b/plexmediaserver_1.4.2.3400-ab906953b_i386.deb" -MD5SUM="ee28027ebffe94c11d259701add4a3d2" -DOWNLOAD_x86_64="https://downloads.plex.tv/plex-media-server/1.4.2.3400-ab906953b/plexmediaserver_1.4.2.3400-ab906953b_amd64.deb" -MD5SUM_x86_64="a8b3d50edb7363091400d85b806a6dbb" +DOWNLOAD="https://downloads.plex.tv/plex-media-server/1.12.3.4973-215c28d86/plexmediaserver_1.12.3.4973-215c28d86_i386.deb" +MD5SUM="bacc710d4afa1fdc731c5f40963cf6ce" +DOWNLOAD_x86_64="https://downloads.plex.tv/plex-media-server/1.12.3.4973-215c28d86/plexmediaserver_1.12.3.4973-215c28d86_amd64.deb" +MD5SUM_x86_64="4b71685a9750c791e72283f6ddbd97fa" REQUIRES="" -MAINTAINER="Marcel Saegebarth" -EMAIL="marc@mos6581.de" +MAINTAINER="Kevin Matthew" +EMAIL="kevin@kevinmatthew.com" diff --git a/multimedia/plexmediaserver/rc.plexmediaserver b/multimedia/plexmediaserver/rc.plexmediaserver index c7432fd49541d..5a9b79731824d 100644 --- a/multimedia/plexmediaserver/rc.plexmediaserver +++ b/multimedia/plexmediaserver/rc.plexmediaserver @@ -39,6 +39,11 @@ plexmediaserver_stop() { # plugins may still running when stopping plexmediaserver on its startup # process PGREP_PLUGINS=$(pgrep -f "Plex Plug-in") + PGREP_DLNA=$(pgrep -f "Plex DLNA Server") + PGREP_TUNER=$(pgrep -f "Plex Tuner Service") + PGREP_EGP=$(pgrep -f "Plex EAE Service") + PGREP_TRANSCODER=$(pgrep -f "Plex Transcoder") + if [ -z "$PIDOF" ] && [ -z "$PGREP_PLUGINS" ]; then echo "plexmediaserver is not running..." @@ -56,6 +61,31 @@ plexmediaserver_stop() { done fi + if [ -n "$PGREP_DLNA" ]; then + for i in "$PGREP_DLNA"; do + kill -9 $i + done + fi + + if [ -n "$PGREP_TUNER" ]; then + for i in "$PGREP_TUNER"; do + kill -9 $i + done + fi + + if [ -n "$PGREP_EGP" ]; then + for i in "$PGREP_EGP"; do + kill -9 $i + done + fi + + if [ -n "$PGREP_TRANSCODER" ]; then + for i in "$PGREP_TRANSCODER"; do + kill -9 $i + done + fi + + echo "done" fi } |