m3u needs to be updated via API (#9)

This commit is contained in:
tarkah
2020-03-02 19:37:55 -08:00
committed by GitHub
parent 9ef1fe49e0
commit 929dbb9514

View File

@@ -90,6 +90,8 @@ if [ "$use_xTeveAPI" = "yes" ]; then
if [ -z "$xTeveIP" ]; then
echo "no xTeve credentials provided"
else
curl -X POST -d '{"cmd":"update.m3u"}' http://$xTeveIP:$xTevePORT/api/
sleep 1
curl -X POST -d '{"cmd":"update.xmltv"}' http://$xTeveIP:$xTevePORT/api/
sleep 1
curl -X POST -d '{"cmd":"update.xepg"}' http://$xTeveIP:$xTevePORT/api/