Skip to content

Shell script aimed at updating Plex Media Server on QNAP servers.

License

Notifications You must be signed in to change notification settings

barnumbirr/qnap-plex-updater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

qnap-plex-updater

Shell script aimed at updating Plex Media Server on QNAP servers.

Prerequisites:

Installation

Clone the repository:

$ cd /opt/
$ git clone https://github.com/barnumbirr/qnap-plex-updater.git
$ cd qnap-plex-updater
$ chmod +x bin/qnap-plex-updater

Usage

Manual

[~] # /opt/qnap-plex-updater/bin/qnap-plex-updater --channel public --notify
Downloading Plex Media Server 1.26.2.5797-5bd057d2b-x86_64...
Plex Media Server hasn't been enabled or started...
Installing and restarting Plex Media Server...
Plex Media Server 1.26.2.5797-5bd057d2b-x86_64 installed successfully!
[~] #

Cron job schedule

$ echo "0 */6 * * * /opt/qnap-plex-updater/bin/qnap-plex-updater --channel public --notify > /dev/null 2>&1" >> /etc/config/crontab
$ crontab /etc/config/crontab && /etc/init.d/crond.sh restart

License:

Copyright 2022-2023 Martin Simon

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Buy me a coffee?

If you feel like buying me a coffee (or a beer?), donations are welcome:

BTC : bc1qq04jnuqqavpccfptmddqjkg7cuspy3new4sxq9
DOGE: DRBkryyau5CMxpBzVmrBAjK6dVdMZSBsuS
ETH : 0x2238A11856428b72E80D70Be8666729497059d95
LTC : MQwXsBrArLRHQzwQZAjJPNrxGS1uNDDKX6

About

Shell script aimed at updating Plex Media Server on QNAP servers.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Languages