Correction du calcul de la durée des musique
This commit is contained in:
parent
8c8c5d2439
commit
478ed2756f
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ do
|
|||
title="${infos[1]:-${infos[3]}}"
|
||||
album="${infos[2]}"
|
||||
file="${infos[3]}"
|
||||
[[ -n "${infos[4]}" ]] && length="$(( ${infos[4]%%:*} * 60 + ${infos[4]##*:} ))"
|
||||
[[ -n "${infos[4]}" ]] && length="$(( 10#${infos[4]%%:*} * 60 + 10#${infos[4]##*:} ))"
|
||||
|
||||
# Si on obtiens un chemin absolu, on n’affiche que le nom, pas
|
||||
# le chemin.
|
||||
|
|
Loading…
Reference in a new issue