Commit 51a9225e authored by Rémi Duraffort's avatar Rémi Duraffort

lua_rc: print the item uri.

parent 5c29e5fc
......@@ -359,7 +359,10 @@ function stats(name,client)
end
function playlist_status(name,client)
client:append( "( new input: " .. "FIXME" .. " )" )
local item = vlc.input.item()
if(item ~= nil) then
client:append( "( new input: " .. vlc.strings.decode_uri(item:uri()) .. " )" )
end
client:append( "( audio volume: " .. tostring(vlc.volume.get()) .. " )")
client:append( "( state " .. vlc.playlist.status() .. " )")
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