From 1342c2b227745f4ca501247a2e7379c67b89adae Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Fri, 29 Apr 2016 16:38:56 +0200 Subject: [PATCH] spotify: do not expect an answer to DBus request Using os.execute makes awesome block during execution. Don't wait for anything. --- lib/spotify.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/spotify.lua b/lib/spotify.lua index e47f573..9dfe2f6 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 --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