Correction du script mpd
This commit is contained in:
parent
21b8031d83
commit
ae614fc884
1 changed files with 1 additions and 1 deletions
|
@ -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%:*}")
|
||||
|
|
Loading…
Reference in a new issue