Merge pull request #1030 from mstraube/song

Song: Add Dragon Player and SMPlayer
This commit is contained in:
Dylan Araps 2018-06-14 06:44:37 +10:00 committed by GitHub
commit dfafca9f62
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -424,6 +424,7 @@ disk_subtitle="mount"
# cmus # cmus
# deadbeef # deadbeef
# deepin-music # deepin-music
# dragon
# elisa # elisa
# exaile # exaile
# gnome-music # gnome-music
@ -442,6 +443,7 @@ disk_subtitle="mount"
# quodlibet # quodlibet
# rhythmbox # rhythmbox
# sayonara # sayonara
# smplayer
# spotify # spotify
# Spotify # Spotify
# tomahawk # tomahawk
@ -2303,6 +2305,7 @@ get_song() {
"cmus" "cmus"
"deadbeef" "deadbeef"
"deepin-music" "deepin-music"
"dragon"
"elise" "elise"
"exaile" "exaile"
"gnome-music" "gnome-music"
@ -2321,6 +2324,7 @@ get_song() {
"quodlibet" "quodlibet"
"rhythmbox" "rhythmbox"
"sayonara" "sayonara"
"smplayer"
"spotify" "spotify"
"Spotify" "Spotify"
"tomahawk" "tomahawk"
@ -2371,6 +2375,8 @@ get_song() {
"gmusicbrowser"*) get_song_dbus "gmusicbrowser" ;; "gmusicbrowser"*) get_song_dbus "gmusicbrowser" ;;
"pragha"*) get_song_dbus "pragha" ;; "pragha"*) get_song_dbus "pragha" ;;
"amarok"*) get_song_dbus "amarok" ;; "amarok"*) get_song_dbus "amarok" ;;
"dragon"*) get_song_dbus "dragonplayer" ;;
"smplayer"*) get_song_dbus "smplayer" ;;
"cmus"*) "cmus"*)
song="$(cmus-remote -Q | awk 'BEGIN { ORS=" "}; song="$(cmus-remote -Q | awk 'BEGIN { ORS=" "};