diff --git a/cronjob.sh b/cronjob.sh index 37483da..a224d3a 100644 --- a/cronjob.sh +++ b/cronjob.sh @@ -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/