spotify: do not expect an answer to DBus request

Using os.execute makes awesome block during execution. Don't wait for
anything.
This commit is contained in:
Vincent Bernat 2016-04-29 16:38:56 +02:00
parent 1e993bfa10
commit 1342c2b227

View file

@ -32,7 +32,7 @@ end
local function cmd(command)
local client = spotify()
if client then
os.execute("dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify " ..
os.execute("dbus-send --dest=org.mpris.MediaPlayer2.spotify " ..
"/org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player." .. command)
end
end