Correction du script mpd
This commit is contained in:
parent
4b71bae1e9
commit
c1d1f57386
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ then
|
||||||
fi
|
fi
|
||||||
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)"
|
| cut -d' ' -f2)"
|
||||||
|
|
||||||
time_elapsed=$(human_time "${time%:*}")
|
time_elapsed=$(human_time "${time%:*}")
|
||||||
|
|
Loading…
Reference in a new issue