Correction du script mpd

This commit is contained in:
Breizh 2019-09-09 20:18:01 +02:00
parent 4b71bae1e9
commit c1d1f57386
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ then
fi
fi
time="$(echo -e 'status\nclose' | nc -U .mpd/socket | grep time \
time="$(echo -e 'status\nclose' | nc -U $MPD_HOST | grep time \
| cut -d' ' -f2)"
time_elapsed=$(human_time "${time%:*}")