Commit graph

9 commits

Author SHA1 Message Date
Elliott Partridge
9e25638a2f
Expanded plex token characters to include '-' and '_' (#271)
Solves issue updating private builds
2020-02-04 11:30:12 -08: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
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
a6953f1217 Fix quoting in running(). Fixes #227 2018-03-10 13:32:51 -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
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
37f75bcd32 Switch to using only tokens for plexupdate.sh (#169)
* Extract token fetching to extras/get-plex-token
* Have installer store TOKEN instead of EMAIL/PASS
* Provide easy way to pass git owner/branch while testing
* Use path when sourcing get-web-token
* Don't force interactive mode for EMAIL/PASS if they're already stored
* Re-enable getting plex token from server
* Try to read server token as sudo if possible
* Specify branch to clone in installer.sh
* Better checking of where token came from
* Make VERBOSE useful again
* Fix getPlexServerToken if installer.sh is being run from wget
* Extract functions into plexupdate-core
* Use plexupdate-core in installer
* Clean up usage and add --help
* Deprecate FORCEALL
* Make CHECKUPDATE check all program files
* Verify plex.tv is providing a checksum before downloading
* Add some more logging for release handling
* Use info/warn/error in plexupdate-core
* Remove outdated instructions from plexupdate.sh
* Only store tokens if PMS token is unavailable
* Warn users if fetching Plex token fails in installer
* Use local vars in functions and fix getRemoteSHA
* Update README
* Deprecate EMAIL/PASS and add token command-line option
* Quote option names
* Update FAQs
* Add link to FAQ in deprecation notice
* Remove trailing whitespace
* Make cron return 0 when plexupdate returns 10
2017-03-06 21:22:37 -08:00