summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorKevin Matthew <kevin@kevinmatthew.com>2019-03-15 23:59:42 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-03-16 06:53:27 +0700
commit67bf3a5a17bf988b0cb34628e88c8b7ba15584fa (patch)
tree9cd91ce3c4cb062241af63ba6b279cb54ccb9530 /multimedia
parent7dd211db9681728d7b4065c90ec9a2ab6c11caba (diff)
downloadslackbuilds-67bf3a5a17bf988b0cb34628e88c8b7ba15584fa.tar.gz
multimedia/plexmediaserver: Updated for version 1.15.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/plexmediaserver/README2
-rw-r--r--multimedia/plexmediaserver/plexmediaserver.SlackBuild12
-rw-r--r--multimedia/plexmediaserver/plexmediaserver.info10
-rw-r--r--multimedia/plexmediaserver/rc.plexmediaserver8
4 files changed, 20 insertions, 12 deletions
diff --git a/multimedia/plexmediaserver/README b/multimedia/plexmediaserver/README
index c964ec8f6e..b2a74c4f78 100644
--- a/multimedia/plexmediaserver/README
+++ b/multimedia/plexmediaserver/README
@@ -11,5 +11,5 @@ Plex Media Server runs as plex:plex (UID/GID 279) with its $HOME as
# groupadd -g 279 plex
# useradd -u 279 -d /var/lib/plexmediaserver -s /bin/false -g plex plex
-After installing, grab an account from https://my.plexapp.com/ and visit
+After installing, grab an account from https://www.plex.tv and visit
http://localhost:32400/manage to configure your server.
diff --git a/multimedia/plexmediaserver/plexmediaserver.SlackBuild b/multimedia/plexmediaserver/plexmediaserver.SlackBuild
index 0d00ebc0cf..bc8d609379 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.14.1.5488_cc260c476}
+VERSION=${VERSION:-1.15.1.791_8bec0f76c}
PKG_VERSION=$(echo $VERSION | tr _ -)
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -93,7 +93,7 @@ mkdir -p $TMP $PKG $OUTPUT
cd $PKG
rm -rf $PRGNAM-$PKG_VERSION
ar xv $CWD/${PRGNAM}_${PKG_VERSION}_${DEBARCH}.deb
-tar xvf data.tar.gz
+tar xvf data.tar.?z
rm -f debian-binary control.tar.gz data.tar.gz
rm -rf $PKG/etc/apt/ $PKG/etc/init $PKG/etc/init.d
chown -R root:root .
@@ -113,12 +113,12 @@ mkdir -p $PKG/usr/bin/
ln -s /opt/$PRGNAM/bin/start_pms \
$PKG/usr/bin/start_pms
-mv usr/share/applications/plexmediamanager.desktop $PKG/opt/$PRGNAM/
+mv usr/share/applications/plexmediaserver.desktop $PKG/opt/$PRGNAM/
sed -i -e "s/x-www-browser/xdg-open/" \
- $PKG/opt/$PRGNAM/plexmediamanager.desktop
+ $PKG/opt/$PRGNAM/plexmediaserver.desktop
mkdir -p $PKG/usr/share/applications
-ln -s /opt/$PRGNAM/plexmediamanager.desktop \
- $PKG/usr/share/applications/plexmediamanager.desktop
+ln -s /opt/$PRGNAM/plexmediaserver.desktop \
+ $PKG/usr/share/applications/plexmediaserver.desktop
rm -rf $PKG/etc/systemd $PKG/usr/share/doc $PKG/usr/sbin $PKG/usr/lib
diff --git a/multimedia/plexmediaserver/plexmediaserver.info b/multimedia/plexmediaserver/plexmediaserver.info
index cd79b4c56a..247c76812f 100644
--- a/multimedia/plexmediaserver/plexmediaserver.info
+++ b/multimedia/plexmediaserver/plexmediaserver.info
@@ -1,10 +1,10 @@
PRGNAM="plexmediaserver"
-VERSION="1.14.1.5488_cc260c476"
+VERSION="1.15.1.791_8bec0f76c"
HOMEPAGE="https://plex.tv/"
-DOWNLOAD="https://downloads.plex.tv/plex-media-server/1.14.1.5488-cc260c476/plexmediaserver_1.14.1.5488-cc260c476_i386.deb"
-MD5SUM="0022e681a680a2810ddd028790703e65"
-DOWNLOAD_x86_64="https://downloads.plex.tv/plex-media-server/1.14.1.5488-cc260c476/plexmediaserver_1.14.1.5488-cc260c476_amd64.deb"
-MD5SUM_x86_64="6b8121df88f486ab5f1b89a27c60bb63"
+DOWNLOAD="https://downloads.plex.tv/plex-media-server-new/1.15.1.791-8bec0f76c/debian/plexmediaserver_1.15.1.791-8bec0f76c_i386.deb"
+MD5SUM="790cab70dfbbacd1ca9a5b0dd54c203b"
+DOWNLOAD_x86_64="https://downloads.plex.tv/plex-media-server-new/1.15.1.791-8bec0f76c/debian/plexmediaserver_1.15.1.791-8bec0f76c_amd64.deb"
+MD5SUM_x86_64="bca2dafcb451b6629903428c87a186d6"
REQUIRES=""
MAINTAINER="Kevin Matthew"
EMAIL="kevin@kevinmatthew.com"
diff --git a/multimedia/plexmediaserver/rc.plexmediaserver b/multimedia/plexmediaserver/rc.plexmediaserver
index 5a9b797318..0ca0d327e4 100644
--- a/multimedia/plexmediaserver/rc.plexmediaserver
+++ b/multimedia/plexmediaserver/rc.plexmediaserver
@@ -43,6 +43,7 @@ plexmediaserver_stop() {
PGREP_TUNER=$(pgrep -f "Plex Tuner Service")
PGREP_EGP=$(pgrep -f "Plex EAE Service")
PGREP_TRANSCODER=$(pgrep -f "Plex Transcoder")
+ PGREP_PLEXRELAY=$(pgrep -f "Plex Relay")
if [ -z "$PIDOF" ] && [ -z "$PGREP_PLUGINS" ]; then
@@ -85,6 +86,13 @@ plexmediaserver_stop() {
done
fi
+ if [ -n "$PGREP_PLEXRELAY" ]; then
+ for i in "$PGREP_PLEXRELAY"; do
+ kill -9 $i
+ done
+ fi
+
+
echo "done"
fi