Commit 5a19e06f authored by Pierre Ynard's avatar Pierre Ynard

youtube.lua: fix commit 9a746cfa

parent 06c9784a
......@@ -25,12 +25,11 @@ function get_url_param( url, name )
end
function get_arturl()
-- FIXME: vlc.strings() is not a function, it should probably be
-- vlc.strings.decode_uri()
--if string.match( vlc.path, "iurl=" ) then
-- return vlc.strings( get_url_param( vlc.path, "iurl" ) )
--end
video_id = get_url_param( vlc.path, "v" )
local iurl = get_url_param( vlc.path, "iurl" )
if iurl then
return iurl
end
local video_id = get_url_param( vlc.path, "v" )
if not video_id then
return nil
end
......
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