[vlc-commits] commit: appletrailers: fix arturl, seems that appletrailers-page changed littlebit (Ilkka Ollakka )

git at videolan.org git at videolan.org
Thu May 27 19:45:26 CEST 2010


vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Thu May 27 20:45:15 2010 +0300| [8e82d024ca0136b6b849910fd48c18a3de42eb16] | committer: Ilkka Ollakka 

appletrailers: fix arturl, seems that appletrailers-page changed littlebit

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8e82d024ca0136b6b849910fd48c18a3de42eb16
---

 share/lua/sd/appletrailers.lua |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/share/lua/sd/appletrailers.lua b/share/lua/sd/appletrailers.lua
index 3fd25a8..92bedda 100644
--- a/share/lua/sd/appletrailers.lua
+++ b/share/lua/sd/appletrailers.lua
@@ -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" )



More information about the vlc-commits mailing list