From a64b617c24cc79ed1640c080f87df6b0f455ec95 Mon Sep 17 00:00:00 2001 From: Johan Henkens Date: Wed, 8 Dec 2021 00:14:05 -0800 Subject: [PATCH] Fix variable substitution on 127.0.0.1 (#77) --- root/cronjob.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/root/cronjob.sh b/root/cronjob.sh index 431b00c..bdb1c01 100755 --- a/root/cronjob.sh +++ b/root/cronjob.sh @@ -89,9 +89,9 @@ if [ "$use_xTeveAPI" = "yes" ]; then echo "Updating xTeVe..." curl -s -X POST -d '{"cmd":"update.m3u"}' http://127.0.0.1:$XTEVE_PORT/api/ # sleep 1 - curl -s -X POST -d '{"cmd":"update.xmltv"}' http://$127.0.0.1:$XTEVE_PORT/api/ + curl -s -X POST -d '{"cmd":"update.xmltv"}' http://127.0.0.1:$XTEVE_PORT/api/ sleep 1 - curl -s -X POST -d '{"cmd":"update.xepg"}' http://$127.0.0.1:$XTEVE_PORT/api/ + curl -s -X POST -d '{"cmd":"update.xepg"}' http://127.0.0.1:$XTEVE_PORT/api/ sleep 30 fi