diff --git a/Jellyfin_Fix_and_Scan.sh b/Jellyfin_Fix_and_Scan.sh index 3dfb502..5412887 100644 --- a/Jellyfin_Fix_and_Scan.sh +++ b/Jellyfin_Fix_and_Scan.sh @@ -42,4 +42,15 @@ if [ -n "$error_found_1" ] || [ -n "$error_found_2" ]; then else echo "No error found in journal." 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