[vlc-commits] cli: use make_uri()
Pierre Ynard
git at videolan.org
Sun Apr 3 18:47:43 CEST 2011
vlc | branch: master | Pierre Ynard <linkfanel at yahoo.fr> | Sun Apr 3 18:47:38 2011 +0200| [823aae0fce350fb1c5a15489bc8cb3dbc05640b2] | committer: Pierre Ynard
cli: use make_uri()
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=823aae0fce350fb1c5a15489bc8cb3dbc05640b2
---
share/lua/intf/cli.lua | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/share/lua/intf/cli.lua b/share/lua/intf/cli.lua
index dc0a55c..f544987 100644
--- a/share/lua/intf/cli.lua
+++ b/share/lua/intf/cli.lua
@@ -182,7 +182,8 @@ function add(name,client,arg)
table.insert(options,o)
end
arg = string.gsub(arg," +:.*$","")
- f({{path=arg,options=options}})
+ local uri = vlc.strings.make_uri(arg)
+ f({{path=uri,options=options}})
end
function playlist_is_tree( client )
More information about the vlc-commits
mailing list