]> git.sesse.net Git - vlc/commitdiff
appletrailers: fix arturl, seems that appletrailers-page changed littlebit
authorIlkka Ollakka <ileoo@videolan.org>
Thu, 27 May 2010 17:45:15 +0000 (20:45 +0300)
committerIlkka Ollakka <ileoo@videolan.org>
Thu, 27 May 2010 17:45:22 +0000 (20:45 +0300)
share/lua/sd/appletrailers.lua

index 3fd25a87d6108a08c255bb7ed539616013632201..92beddab999496c54644df6df01fb687ab18ede9 100644 (file)
@@ -39,6 +39,7 @@ function main()
          if string.match( line, "title" ) then 
             title = vlc.strings.resolve_xml_special_chars( find( line, "title\":\"(.-)\""))
             art = find( line, "poster\":\"(.-)\"")
+            art = "http://trailers.apple.com"..art
 
             url = find( line, "url\":\"(.-)\"")
             playlist = vlc.stream( "http://trailers.apple.com"..url.."includes/playlists/web.inc" )