1
mirror of https://code.videolan.org/videolan/vlc synced 2024-10-03 01:31:53 +02:00

cli: use make_uri()

This commit is contained in:
Pierre Ynard 2011-04-03 18:47:38 +02:00
parent e816d6a963
commit 823aae0fce

View File

@ -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 )