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
1 changed files with 1 additions and 0 deletions

View File

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