Commit graph

18 commits

Author SHA1 Message Date
Vincent Bernat
7a6a4533b9 spotify: specifically control Spotify with playerctl 2020-09-24 21:20:07 +02:00
Vincent Bernat
77a5f0c008 spotify: update comments for accuracy 2018-12-14 07:53:04 +01:00
Vincent Bernat
bff16a840a spotify: use playerctl instead of dbus commands
The module is still spotify-specific, but a bit less
2018-10-05 11:21:54 +02:00
Vincent Bernat
ca4759b3d6 spotify: spawn a background process for DBus communication
Otherwise, we will block awesome if spotify isn't answering
2017-06-05 20:39:14 +02:00
Vincent Bernat
8b1417a75d Revert "spotify: do not expect an answer to DBus request"
This reverts commit 1342c2b227. Doesn't
work otherwise... Odd?
2016-04-29 19:52:16 +02:00
Vincent Bernat
1342c2b227 spotify: do not expect an answer to DBus request
Using os.execute makes awesome block during execution. Don't wait for
anything.
2016-04-29 16:38:56 +02:00
Vincent Bernat
2dc1f56751 bindings: add a binding to spawn pavucontrol 2015-10-20 09:45:13 +02:00
Vincent Bernat
cda3a6448f spotify: switch back to MPRIS2 DBUS interface
One less daemon to run.
2015-08-31 20:28:15 +02:00
Vincent Bernat
e3747d1b9f spotify: try to support the new version of Spotify
Use dbus-mediakeys to get an appropriate DBus interface. In future
versions, this should not be needed anymore. See:
 https://github.com/vincentbernat/dbus-mediakeys
2015-07-13 14:50:47 +02:00
Vincent Bernat
93a5cf16ba Revert "spotify: try to support the new version of Spotify"
This reverts commit 6c8985a9ae. Well, keep
old version of Spotify until MPRIS DBus support is updated.
2015-07-12 21:26:41 +02:00
Vincent Bernat
6c8985a9ae spotify: try to support the new version of Spotify
It doesn't provide a DBus interface. Try to use xdotool instead. For
some reason, not working.
2015-07-12 11:31:13 +02:00
Vincent Bernat
4b434e448f spotify: passing the option to disable notifications don't work 2014-06-01 15:36:46 +02:00
Vincent Bernat
8eb59a0c87 spotify: disable UI notifications
It seems they grab X11 for two seconds... See:
 http://community.spotify.com/t5/Help-Desktop-Linux-Mac-and/Spotify-0-9-10-for-GNU-Linux-Welcome-to-the-dark-side/td-p/556976
2014-05-22 09:57:36 +02:00
Vincent Bernat
af075eaac4 spotify: raise existing window if it exists 2013-11-02 19:06:51 +01:00
Vincent Bernat
5ac9727792 spotify: add a word about MPRIS D-BUS interface 2013-11-01 15:56:21 +01:00
Vincent Bernat
4d42414855 music: add the possibility to raise music player 2013-11-01 15:53:35 +01:00
Vincent Bernat
58adbac8dd music: Play method of Spotify seems buggy, just use PlayPause instead 2013-11-01 15:48:07 +01:00
Vincent Bernat
8f6b6733bc music: abstract the functions used to control music player
We still use Spotify but we isolate the music functions into a
specific module. Other music player would implement the same
interface.
2013-11-01 15:27:56 +01:00