]> git.sesse.net Git - vlc/blobdiff - share/lua/http/requests/status.xml
mtime: Minimize imprecision and prevent overflow on darwin.
[vlc] / share / lua / http / requests / status.xml
index f4fc486bd6b1ba2743957ff86c7a39da952f0429..123861fea7b406e14f82c5b115d4eec3d81d4cd3 100644 (file)
@@ -44,7 +44,7 @@ end
 local status = vlc.playlist.status()
 
 if command == "in_play" then
-  ---[[
+  --[[
   vlc.msg.err( "<options>" )
   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
@@ -85,7 +84,7 @@ elseif command == "pl_sd" then
     vlc.sd.add(val)
   end
 elseif command == "fullscreen" then
-  vlc.fullscreen()
+  vlc.video.fullscreen()
 elseif command == "snapshot" then
   common.snapshot()
 elseif command == "volume" then