From: RĂ©mi Duraffort Date: Thu, 8 Apr 2010 14:36:45 +0000 (+0200) Subject: lua_http: use playlist.pause as it's now available. X-Git-Tag: 1.1.0-pre1~87 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=390f4e743640351563b6c6d4e4ef2fdc0d57b8e1;p=vlc lua_http: use playlist.pause as it's now available. --- diff --git a/share/lua/http/requests/status.xml b/share/lua/http/requests/status.xml index f4fc486bd6..e50ef4b4ce 100644 --- a/share/lua/http/requests/status.xml +++ b/share/lua/http/requests/status.xml @@ -44,7 +44,7 @@ end local status = vlc.playlist.status() if command == "in_play" then - ---[[ + --[[ vlc.msg.err( "" ) for a,b in ipairs(options) do vlc.msg.err(b) @@ -57,8 +57,7 @@ elseif command == "in_enqueue" then elseif command == "pl_play" then vlc.playlist.goto(id) elseif command == "pl_pause" then - vlc.msg.err("FIXME: pl_pause implementation is ugly") - common.hotkey("key-play-pause") -- gruik + vlc.playlist.pause() elseif command == "pl_stop" then vlc.playlist.stop() elseif command == "pl_next" then