Revert "spotify: do not expect an answer to DBus request"

This reverts commit 1342c2b227. Doesn't
work otherwise... Odd?
This commit is contained in:
Vincent Bernat 2016-04-29 19:52:16 +02:00
parent 572f39c0c1
commit 8b1417a75d

View file

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