~hnaguski/aart

ccb921cb00611130e2808a8c19f535d572f94bc8 — Henry Naguski 1 year, 10 months ago 4af0ce8
fix mpc not respecing it's -q option
1 files changed, 1 insertions(+), 1 deletions(-)

M aart
M aart => aart +1 -1
@@ 90,7 90,7 @@ first_start() {

	# check status of mpd, if it's stopped then wait for mpd to start playing
	# a song. Maybe only check for playing, I leave mpd paused quite often
	mpc status | grep -o "playing\|paused" > /dev/null || mpc -q current --wait
	mpc status | grep -o "playing\|paused" > /dev/null || mpc current --wait > /dev/null

	# set the art
	set_art "$(mpc -q current -f %file%)"