mirror of https://code.videolan.org/videolan/vlc
minor fix in playback state
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
This commit is contained in:
parent
173c6b32af
commit
02041d4817
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue