Commit 04a89086 authored by Ilkka Ollakka's avatar Ilkka Ollakka

appletrailers.lua: trailers come from http://www nowdays

Even if url points to http://movies.apple.com/..., working
url for vlc is http://www.apple.com/...
parent f2c8101b
......@@ -40,6 +40,7 @@ function parse()
if not line then break end
for path in string.gmatch( line, "http://movies.apple.com/movies/.-%.mov" ) do
path = vlc.strings.decode_uri( path )
path = string.gsub( path, "http://movies", "http://www" )
if string.match( path, "320" ) then
extraname = " (320p)"
elseif string.match( path, "480" ) then
......
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