Gestion du temps total à zéro (webradios)

This commit is contained in:
Breizh 2022-08-13 02:35:23 +02:00
parent 9e79da4fad
commit 1df325c1f8

View file

@ -167,6 +167,7 @@ do
declare -i time_elapsed time_total time_left declare -i time_elapsed time_total time_left
time_total="${o["Time"]:--1}" time_total="${o["Time"]:--1}"
[[ "$time_total" -eq 0 ]] && time_total=-1
if [[ "${o["state"]}" == "stop" ]] if [[ "${o["state"]}" == "stop" ]]
then then
time_elapsed=-1 time_elapsed=-1