Commit 5327c007 authored by Vicente Jimenez Aguilar's avatar Vicente Jimenez Aguilar Committed by Derk-Jan Hartman

browse.xml from lua's HTTP interface include all keys from vlc.net.stat returned table

Signed-off-by: default avatarDerk-Jan Hartman <hartman@videolan.org>
parent 82358562
......@@ -38,7 +38,9 @@ if dir then
local df = common.realpath(dir..f)
local s = vlc.net.stat(df)
local path, name = vlc.strings.convert_xml_special_chars( df, f )
print("<element type='"..s.type.."' size='"..s.size.."' path='"..path.."' name='"..name.."'/>\n")
print("<element")
for k,v in pairs(s) do print(" "..k.."='"..v.."'") end
print(" path='"..path.."' name='"..name.."'/>\n")
end
end
end
......
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