Commit 02041d48 authored by Akash Mehrotra's avatar Akash Mehrotra Committed by Jean-Baptiste Kempf

minor fix in playback state

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 173c6b32
......@@ -41,8 +41,6 @@ local function stripslashes(s)
return string.gsub(s,"\\(.)","%1")
end
local status = vlc.playlist.status()
if command == "in_play" then
--[[
vlc.msg.err( "<options>" )
......@@ -113,7 +111,7 @@ local vout = input and vlc.object.find(input,'vout','child')
<volume><?vlc print(vlc.volume.get()) ?></volume>
<length><?vlc if input then print(math.floor(vlc.var.get(input,"length"))) else print(0) end?></length>
<time><?vlc if input then print(math.floor(vlc.var.get(input,"time"))) else print(0) end?></time>
<state><?vlc print(status) ?></state>
<state><?vlc print(vlc.playlist.status()) ?></state>
<position><?vlc if input then print(vlc.var.get(input,"position")) else print(0) end?></position>
<fullscreen><?vlc if vout then vlc.var.get(vout,"fullscreen") else print(0) end?></fullscreen>
<random><?vlc print(vlc.var.get(playlist,"random")) ?></random>
......
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