Gestion du temps total à zéro (webradios)

This commit is contained in:
Breizh 2022-08-13 02:35:23 +02:00
parent d1a65ac6cb
commit 2c95fc8044

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