Gestion du temps total à zéro (webradios)
This commit is contained in:
parent
9e79da4fad
commit
1df325c1f8
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue