Commit graph

265 commits

Author SHA1 Message Date
Geoff Appleby
ade4ddfeae Merge remote-tracking branch 'origin/master' into dsm7 2021-08-06 14:50:51 -07:00
Geoff Appleby
388ff66589 Compatibility with Synology DSM7 2021-08-06 14:17:09 -07:00
Simone Karin Lehmann
9a3019223b fixed comment about naming scheme on Raspberry Pi 2021-06-09 13:09:26 -04:00
Simone Karin Lehmann
b7b301852d naming scheme for Raspberry Pi package changed again. Now it's armv7neon instead of armv7hf_neon 2021-06-09 13:09:26 -04:00
Alex Malinovich
4d13feb6b1
Test run should run with sudo if installed as root (#278)
* Test run should run with sudo if installed as root. Fixes #277

* Make cron logic in installer more readable

* Style fix for conditional

* Be sure CRON option is actually set
2020-07-21 14:17:30 -04:00
Alex Malinovich
7231223070 Fix branchname switching errors 2020-04-22 15:23:08 -04:00
Alex Malinovich
887602ac85 Generalize Raspberry Pi support to all "armv7l" architectures 2020-04-22 15:23:08 -04:00
lisanet
fdbc94faf4
patch for Raspberry Pi 4 reporting as armv7l, whereas Plex only offers armv7hf_neon (#268) 2020-02-04 11:31:13 -08:00
Elliott Partridge
9e25638a2f
Expanded plex token characters to include '-' and '_' (#271)
Solves issue updating private builds
2020-02-04 11:30:12 -08:00
Max
c2037952a6
suppress AUTOSTART warning for synology
AUTOSTART is needed on synology
2019-06-19 16:11:24 -04:00
Max
a83f077d4a
move around cron file creation
Easier to see what /etc/cron.d/plexupdate will look like
2019-06-19 15:48:37 -04:00
Max
26c65ff711
Also copy MAILTO from crontab 2019-06-19 15:33:59 -04:00
Max
fa31574de7
remove comment 2019-06-19 15:27:11 -04:00
Max
e9cecfcc96
remove duplicated code for saving config 2019-06-19 15:25:41 -04:00
Max
35fea18230
Add PATH variable to cron file 2019-06-19 15:19:24 -04:00
Max
508e7dd184
Update cron support
Use new crontab file file in cron.d instead of cron.daily to support more devices
2019-06-19 14:39:19 -04:00
Max
e5b65cec37
enable AUTODELETE by default 2019-06-14 21:55:09 -04:00
Max
848f56c9af
dont repeat code 2019-06-14 21:51:30 -04:00
Max
2c91c80a58
enable AUTOSTART for synology 2019-06-14 13:04:35 -04:00
Max
335cf82957 remove color from error message 2019-06-14 11:53:17 -05:00
myellen
569adbb857
do not show plexpass password on entry
use -s option "do not echo input coming from a terminal" to hide password
2019-06-13 03:39:20 -04:00
myellen
6f40555c9a
add synology handling to AUTOSTART 2019-06-13 03:25:38 -04:00
myellen
cb33e7b67f
change info to echo -e 2019-06-13 03:11:53 -04:00
myellen
cc9ee5cf44
Add message to add plex certificate in error 2019-06-13 03:09:10 -04:00
Alex Malinovich
3e25035a19
Remove REDHAT variable and use DISTRO instead 2019-06-05 20:58:54 -07:00
myellen
1aba28a7f0
Add synology section to readme
Add link to "How to add Plex’s package signing public key to Synology NAS Package Center"
2019-06-05 23:21:44 -04:00
myellen
70888ea8bd
remove redundant line of code
BUILD="linux-${ARCH}" is already done at line 56

Co-Authored-By: Alex Malinovich <alexmalinovich@gmail.com>
2019-06-05 19:48:15 -04:00
Max
ec89f90547
remove old build values
remove check for plexpass version as now public versions also use new build versions.
2019-06-05 15:02:24 -04:00
Max
b6fc5403f4
indent with tabs instead of spaces
changed spaces to tabs
2019-06-05 14:46:52 -04:00
myellen
a5d183fe5f
add spaces
add spaces before closing brackets
2019-06-05 14:39:42 -04:00
myellen
5bfb7d45e8
update installer.sh
add ability to detect if running on synology in installer.sh
2019-06-05 14:39:38 -04:00
myellen
9124a438ce
detect synology
update plexupdate.sh to automatically determine if we're running on a synology
2019-06-05 14:39:34 -04:00
myellen
117f92269d
include build identifier in FILE_VERSION
change cut to return field 2 and 3 instead of just 2
2019-06-05 14:39:24 -04:00
myellen
9fc45daa26
Update plex-core to support synology packages
checks DISTRO variable in getPlexVersion and parseVersion
2019-06-05 14:39:06 -04:00
Alex Malinovich
54da6bca99
Switch to new API endpoint for public downloads. Fixes #254 2019-03-17 19:26:45 -07:00
Alex Malinovich
7723dfc97b
Switch to new API endpoint for PlexPass downloads. Fixes #224 2019-02-11 22:22:36 -08:00
Alex Malinovich
180fc1687f Use numeric ids instead of names for user/group in installer. Fixes #217 2018-04-22 18:43:07 -07:00
Alex Malinovich
293e6d5ecb
Improve version handling to prevent inadvertent downgrades (#226)
* Improve version handling to prevent inadvertent downgrades
* Add verbose output for version checking
* Improved git branch handling for testing
* Stay on current branch unless BRANCHNAME is set
* Add verbose output for in-use check
2018-04-14 20:42:23 -07:00
Alex Malinovich
17cac380b1 Make extras/installer install dependencies even when run as root 2018-04-14 19:30:39 -07:00
Alex Malinovich
a6953f1217 Fix quoting in running(). Fixes #227 2018-03-10 13:32:51 -08:00
Alex Malinovich
815e53122b
Merge pull request #221 from mrworf/in-use-check
In use check
2018-03-08 18:32:41 -08:00
Alex Malinovich
6932ee924d
Update FORCE option to only redownload if checksum fails 2018-02-09 19:21:45 -08:00
Alex Malinovich
69c5e52cea
Improve server in use check when using live TV/DVR
Monitor live TV and DVR sessions in addition to regular streams when
doing a in use check for the server. Paused streams are not considered
to be "in use" so if all streams that are playing are currently paused,
the updated will continue regardless.

Closes #177
2018-02-09 18:37:37 -08:00
Cody Cook
ec5e3b7fa4 Add SYSTEMDUNIT description to README.md (#210) 2017-11-05 12:57:51 -08:00
Cody Cook
551e664262 Add support for $SYSTEMDUNIT (#209)
Default SYSTEMDUNIT = plexmediaserver.service
Can be overwritten with configuration file.
2017-11-05 10:51:57 -08:00
Felix
aad9934099 Depricated wording (#207)
If the script exits on deprecated config-entries it should explicitly tell the user, that they have to remove the option.
2017-10-25 14:26:57 -07:00
guyincognito24601
cfb805b298 Split local variable declaration from assignment (#205)
This allows the return code to be correctly set.  Previously, RET was always being set to 0... the result of assigning the local variable.
2017-10-09 18:46:38 -07:00
Alex Malinovich
193f8f832a Check if server activity call requires a token before asking for one (#202) 2017-09-21 06:49:51 -07:00
Alex Malinovich
ab7f4052b1 Skip activity check if TOKEN is unavailable. Fixes #198 (#199) 2017-09-18 14:26:12 -07:00
Alex Malinovich
76416d1a25 Better error handling for wget (#194)
* Improved error handing for wget
2017-09-18 06:45:17 -07:00