Added force update live TV

This commit is contained in:
Clay 2024-09-17 14:44:52 -04:00
parent 8c174fb611
commit f2105d6f4f
1 changed files with 11 additions and 0 deletions

View File

@ -42,4 +42,15 @@ if [ -n "$error_found_1" ] || [ -n "$error_found_2" ]; then
else else
echo "No error found in journal." echo "No error found in journal."
fi fi
#Even if no DB curruption, update the live TV, why not?
# Trigger Live TV / M3U scan
echo "Triggering Live TV / M3U scan..."
curl -X POST \
-H "Content-Type: application/json" \
-H "X-Emby-Token: $API_KEY" \
"$JELLYFIN_URL/ScheduledTasks/Running/bea9b218c97bbf98c5dc1303bdb9a0ca"
echo "Live TV / M3U scan triggered."
exit 0 exit 0