Merge pull request #1012 from mstraube/gmusicbrowser

song: add support for gmusicbrowser
This commit is contained in:
Dylan Araps 2018-06-01 21:43:38 +00:00 committed by GitHub
commit 3fe0e1e65c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -410,6 +410,7 @@ disk_subtitle="mount"
# elisa # elisa
# exaile # exaile
# gnome-music # gnome-music
# gmusicbrowser
# Google Play # Google Play
# guayadeque # guayadeque
# iTunes # iTunes
@ -2324,6 +2325,7 @@ get_song() {
"elise" "elise"
"exaile" "exaile"
"gnome-music" "gnome-music"
"gmusicbrowser"
"Google Play" "Google Play"
"guayadeque" "guayadeque"
"iTunes" "iTunes"
@ -2385,6 +2387,7 @@ get_song() {
"sayonara"*) get_song_dbus "sayonara" ;; "sayonara"*) get_song_dbus "sayonara" ;;
"audacious"*) get_song_dbus "audacious" ;; "audacious"*) get_song_dbus "audacious" ;;
"vlc"*) get_song_dbus "vlc" ;; "vlc"*) get_song_dbus "vlc" ;;
"gmusicbrowser"*) get_song_dbus "gmusicbrowser" ;;
"cmus"*) "cmus"*)
song="$(cmus-remote -Q | awk 'BEGIN { ORS=" "}; song="$(cmus-remote -Q | awk 'BEGIN { ORS=" "};