Commit 823aae0f authored by Pierre Ynard's avatar Pierre Ynard

cli: use make_uri()

parent e816d6a9
...@@ -182,7 +182,8 @@ function add(name,client,arg) ...@@ -182,7 +182,8 @@ function add(name,client,arg)
table.insert(options,o) table.insert(options,o)
end end
arg = string.gsub(arg," +:.*$","") arg = string.gsub(arg," +:.*$","")
f({{path=arg,options=options}}) local uri = vlc.strings.make_uri(arg)
f({{path=uri,options=options}})
end end
function playlist_is_tree( client ) function playlist_is_tree( client )
......
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