Commit graph

7 commits

Author SHA1 Message Date
Alex Malinovich
92c151dd7d Fix printf 2018-04-14 18:54:38 -07:00
Alex Malinovich
aeb0a342d7 Add verbose output for in-use check 2018-04-14 18:23:24 -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