From: Ilkka Ollakka Date: Tue, 6 Oct 2009 13:17:26 +0000 (+0300) Subject: appletrailers.lua: trailers come from http://www nowdays X-Git-Tag: 1.1.0-ff~3012 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=04a890862d17a41d65a16aea5ae03b64e0194276;p=vlc 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/... --- diff --git a/share/lua/playlist/appletrailers.lua b/share/lua/playlist/appletrailers.lua index 754425533a..c2fa43100d 100644 --- a/share/lua/playlist/appletrailers.lua +++ b/share/lua/playlist/appletrailers.lua @@ -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