diff --git a/ptgdp b/ptgdp index d45069b..285883d 100755 --- a/ptgdp +++ b/ptgdp @@ -189,7 +189,7 @@ backend-enqueue() { # Enqueues a song ;; mpd) file=${1##$_mpdroot/} - if ! mpc add "$file"; then + if ! mpc add "$file" > /dev/null 2>&1; then error "Could not add file: \"$file\" ($?)" fi return 0