Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
2205d8f8
Commit
2205d8f8
authored
Apr 09, 2010
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lua_rc: fix 'stats' and 'info' commands.
parent
489f60b1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
share/lua/intf/rc.lua
share/lua/intf/rc.lua
+4
-2
No files found.
share/lua/intf/rc.lua
View file @
2205d8f8
...
...
@@ -313,7 +313,8 @@ function help(name,client,arg)
end
function
input_info
(
name
,
client
)
local
item
=
vlc
.
item
()
local
item
=
vlc
.
input
.
item
()
if
(
item
==
nil
)
then
return
end
local
categories
=
item
:
info
()
for
cat
,
infos
in
pairs
(
categories
)
do
client
:
append
(
"+----[ "
..
cat
..
" ]"
)
...
...
@@ -327,7 +328,8 @@ function input_info(name,client)
end
function
stats
(
name
,
client
)
local
item
=
vlc
.
item
()
local
item
=
vlc
.
input
.
item
()
if
(
item
==
nil
)
then
return
end
local
stats_tab
=
item
:
stats
()
client
:
append
(
"+----[ begin of statistical info"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment