Skip to content

Commit

Permalink
Removing mpdq from the build for right now because of the subshell pr…
Browse files Browse the repository at this point in the history
…oblem
  • Loading branch information
uriel1998 committed Oct 13, 2022
1 parent 8a34bc8 commit 5bcc9e8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions mpdq
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,14 @@ function main {
do
# Moving this here takes away a subshell problem. Killing needs to be
# done through relayfile now.
# maybe length of queue read here?
# pauseme=$(mpc --host $MPD_PASS@$MPD_HOST --port $MPD_PORT | tail -1 | ${grep_bin} "repeat: off" | ${grep_bin} "consume: on" | ${grep_bin} -c "random: off")
# if [ "$pauseme" == "1" ];then
# playlist_length=$(mpc --host $MPD_PASS@$MPD_HOST --port $MPD_PORT playlist | wc -l)

# if [ $playlist_length -lt $PLAYLIST_TRIGGER ];then
# need_next_song
# fi
#event=$(mpc --host $MPD_HOST --port $MPD_PORT idle)

if [ -f ${RelayName} ];then
Expand Down

0 comments on commit 5bcc9e8

Please sign in to comment.