Commit 390f4e74 authored by Rémi Duraffort's avatar Rémi Duraffort

lua_http: use playlist.pause as it's now available.

parent 427933aa
...@@ -44,7 +44,7 @@ end ...@@ -44,7 +44,7 @@ end
local status = vlc.playlist.status() local status = vlc.playlist.status()
if command == "in_play" then if command == "in_play" then
---[[ --[[
vlc.msg.err( "<options>" ) vlc.msg.err( "<options>" )
for a,b in ipairs(options) do for a,b in ipairs(options) do
vlc.msg.err(b) vlc.msg.err(b)
...@@ -57,8 +57,7 @@ elseif command == "in_enqueue" then ...@@ -57,8 +57,7 @@ elseif command == "in_enqueue" then
elseif command == "pl_play" then elseif command == "pl_play" then
vlc.playlist.goto(id) vlc.playlist.goto(id)
elseif command == "pl_pause" then elseif command == "pl_pause" then
vlc.msg.err("FIXME: pl_pause implementation is ugly") vlc.playlist.pause()
common.hotkey("key-play-pause") -- gruik
elseif command == "pl_stop" then elseif command == "pl_stop" then
vlc.playlist.stop() vlc.playlist.stop()
elseif command == "pl_next" then elseif command == "pl_next" then
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment