We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d60c9d3 commit a1eec17Copy full SHA for a1eec17
PMS_Updater.sh
@@ -161,11 +161,9 @@ webGet()
161
findLatest()
162
{
163
if [ $VERBOSE = 1 ]; then echo Using URL $TOKENURL; fi
164
- local SCRAPEFILE="plex.json"
165
166
echo Searching $TOKENURL for the FreeBSD download URL ..... | LogMsg -n
167
DOWNLOADURL="$(fetch $TOKENURL -o- | $PMSPARENTPATH/$PMSLIVEFOLDER/Plex\ Script\ Host -c 'import sys, json; myobj = json.load(sys.stdin); print(myobj["computer"]["FreeBSD"]["releases"][0]["url"]);')"
168
- echo Download URL is $DOWNLOADURL | LogMsg -n
169
170
if [ "x$DOWNLOADURL" = "x" ]; then {
171
# DOWNLOADURL is zero length, i.e. nothing matched PMSPATTERN. Error and exit
0 commit comments