song: audacious: remove audtool, closes #986

This commit is contained in:
Michael Straube 2018-05-12 13:53:23 +02:00
parent 71104d7e25
commit bd0e62d5f3
1 changed files with 1 additions and 5 deletions

View File

@ -2428,11 +2428,7 @@ get_song() {
"tomahawk"*) get_song_dbus "tomahawk" ;; "tomahawk"*) get_song_dbus "tomahawk" ;;
"elisa"*) get_song_dbus "elisa" ;; "elisa"*) get_song_dbus "elisa" ;;
"sayonara"*) get_song_dbus "sayonara" ;; "sayonara"*) get_song_dbus "sayonara" ;;
"audacious"*) get_song_dbus "audacious" ;;
"audacious"*)
song="$(audtool current-song)"
[[ -z "$song" || "$song_shorthand" == "on" ]] && get_song_dbus "audacious"
;;
"cmus"*) "cmus"*)
song="$(cmus-remote -Q | awk 'BEGIN { ORS=" "}; song="$(cmus-remote -Q | awk 'BEGIN { ORS=" "};