Song: Use audtool before falling back to dbus

This commit is contained in:
Dylan Araps 2017-02-17 10:23:12 +11:00
parent fefad4f98c
commit b952030011
1 changed files with 1 additions and 1 deletions

View File

@ -1290,7 +1290,7 @@ get_song() {
"deadbeef"*) song="$(deadbeef --nowplaying-tf '%artist% - %title%')" ;;
"xmms2d"*) song="$(xmms2 current -f '${artist} - ${title}')" ;;
"qmmp"*) song="$(qmmp --nowplaying '%p - %t')" ;;
"audacious"*) get_song_dbus "audacious" ;;
"audacious"*) audtool current-song || get_song_dbus "audacious" ;;
"gnome-music"*) get_song_dbus "GnomeMusic" ;;
"lollypop"*) get_song_dbus "Lollypop" ;;
"clementine"*) get_song_dbus "clementine" ;;