Fixed Plex DVR refresh variables (#39)
* Added use_plexAPI environment variable * Updated if statement to use env var
This commit is contained in:
@@ -91,7 +91,7 @@ fi
|
|||||||
# update Plex via API
|
# update Plex via API
|
||||||
if [ "$use_plexAPI" = "yes" ]; then
|
if [ "$use_plexAPI" = "yes" ]; then
|
||||||
echo "Updating Plex..."
|
echo "Updating Plex..."
|
||||||
if [ -z "$plexIP" ]; then
|
if [ -z "$plexUpdateURL" ]; then
|
||||||
echo "no Plex credentials provided"
|
echo "no Plex credentials provided"
|
||||||
else
|
else
|
||||||
curl -s -X POST "$plexUpdateURL"
|
curl -s -X POST "$plexUpdateURL"
|
||||||
|
|||||||
@@ -42,5 +42,5 @@ embyID=
|
|||||||
# Guide" link in Plex and then look at the developer tools window. The first request listed should start
|
# Guide" link in Plex and then look at the developer tools window. The first request listed should start
|
||||||
# with "reloadGuide?". Right click the line and go to copy -> Copy link address. Paste the result below as
|
# with "reloadGuide?". Right click the line and go to copy -> Copy link address. Paste the result below as
|
||||||
# plexUpdateURL.
|
# plexUpdateURL.
|
||||||
|
use_plexAPI=no
|
||||||
plexUpdateURL=
|
plexUpdateURL=
|
||||||
|
|||||||
Reference in New Issue
Block a user