Skip to content

Commit

Permalink
Upd: add log message
Browse files Browse the repository at this point in the history
  • Loading branch information
jcorporation committed Sep 27, 2024
1 parent b987a75 commit 18b39a0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1310,6 +1310,8 @@ check_stream_all_json() {
if [ "$ERROR_COUNT" -gt 31 ]
then
local M3U_NAME=$(trim_ext "$M3U")
echo ""
echo "Error count too high, removing $M3U_NAME"
delete_radio_by_m3u "$M3U_NAME"
else
printf "\"%s\":{\"date\":\"%s\",\"count\":%s,\"error\":%s}" "$M3U" "$DATE" "$ERROR_COUNT" "$OUT" >&3
Expand Down

0 comments on commit 18b39a0

Please sign in to comment.