Added force update live TV
This commit is contained in:
parent
8c174fb611
commit
f2105d6f4f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue