Correction du script mpd

This commit is contained in:
Breizh 2019-09-09 20:18:01 +02:00
parent 21b8031d83
commit ae614fc884

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%:*}")