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