Gestion du temps total à zéro (webradios)
This commit is contained in:
parent
d1a65ac6cb
commit
2c95fc8044
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