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

vimeo.lua: remove useless test

This was only useful when we had several URLs to handle
parent ecddf0b6
......@@ -42,7 +42,6 @@ end
-- Parse function.
function parse()
if string.match ( vlc.path, "vimeo.com/%d+$" ) then
_,_,id = string.find( vlc.path, "vimeo.com/([0-9]*)")
prefres = get_prefres()
ishd = false
......@@ -106,6 +105,4 @@ function parse()
end
path = "http://player.vimeo.com/play_redirect?quality="..quality.."&codecs="..codec.."&clip_id="..id.."&time="..tstamp.."&sig="..rsig.."&type=html5_desktop_local"
return { { path = path; name = name; arturl = arturl, duration = duration } }
end
return {}
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