Merge pull request #987 from mstraube/audacious

song: audacious: remove audtool, closes #986
This commit is contained in:
Dylan Araps 2018-05-13 21:51:51 +00:00 committed by GitHub
commit 293633d5ab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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