Fix variable substitution on 127.0.0.1 (#77)

This commit is contained in:
Johan Henkens
2021-12-08 00:14:05 -08:00
committed by GitHub
parent 7d7ef672e8
commit a64b617c24

View File

@@ -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