Even if url points to http://movies.apple.com/..., working
url for vlc is http://www.apple.com/...
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 )
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
if string.match( path, "320" ) then
extraname = " (320p)"
elseif string.match( path, "480" ) then