Merge pull request #980 from mstraube/sayonara

song: add support for sayonara
This commit is contained in:
Dylan Araps 2018-05-10 07:21:26 +00:00 committed by GitHub
commit 965940f57e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -435,6 +435,7 @@ disk_subtitle="mount"
# tomahawk # tomahawk
# xmms2d # xmms2d
# yarock # yarock
# sayonara
music_player="auto" music_player="auto"
# Format to display song information. # Format to display song information.
@ -2389,7 +2390,8 @@ get_song() {
-e "spotify" \ -e "spotify" \
-e "tomahawk" \ -e "tomahawk" \
-e "xmms2d" \ -e "xmms2d" \
-e "yarock")" -e "yarock" \
-e "sayonara")"
[[ "$music_player" && "$music_player" != "auto" ]] && \ [[ "$music_player" && "$music_player" != "auto" ]] && \
player="$music_player" player="$music_player"
@ -2424,6 +2426,7 @@ get_song() {
"deepin-music"*) get_song_dbus "deepinmusic" ;; "deepin-music"*) get_song_dbus "deepinmusic" ;;
"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" ;;
"audacious"*) "audacious"*)
song="$(audtool current-song)" song="$(audtool current-song)"