diff --git a/fetch b/fetch index a8f5fc95..20565e8c 100755 --- a/fetch +++ b/fetch @@ -1107,6 +1107,9 @@ getsong () { song=${song/tag title/-} song=${song//[[:space:]]/ } + elif type -p mocp >/dev/null 2>&1; then + song="$(mocp -Q "%artist - %song")" + else song="Unknown" fi