From 8b1417a75dd5de40a101544ac58c49c0c5c92c80 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Fri, 29 Apr 2016 19:52:16 +0200 Subject: [PATCH] Revert "spotify: do not expect an answer to DBus request" This reverts commit 1342c2b227745f4ca501247a2e7379c67b89adae. Doesn't work otherwise... Odd? --- lib/spotify.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/spotify.lua b/lib/spotify.lua index 9dfe2f6..e47f573 100644 --- a/lib/spotify.lua +++ b/lib/spotify.lua @@ -32,7 +32,7 @@ end local function cmd(command) local client = spotify() 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) end end