From 929dbb951485d802b2fd07feaab6c1b87ecd24e3 Mon Sep 17 00:00:00 2001 From: tarkah Date: Mon, 2 Mar 2020 19:37:55 -0800 Subject: [PATCH] m3u needs to be updated via API (#9) --- cronjob.sh | 2 ++ 1 file changed, 2 insertions(+) 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/