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:
parent
e816d6a963
commit
823aae0fce
@ -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 )
|
||||
|
Loading…
Reference in New Issue
Block a user