vlc | branch: master | Ilkka Ollakka <[email protected]> | Sat Apr 27 17:04:14 2013 +0300| [f952b888018bc828defece373fa8cfa5342e0217] | committer: Ilkka Ollakka
appletrailer: small fix to get correct trailer type on playlist > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f952b888018bc828defece373fa8cfa5342e0217 --- share/lua/playlist/appletrailers.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/share/lua/playlist/appletrailers.lua b/share/lua/playlist/appletrailers.lua index d303ef7..d8c3cc2 100644 --- a/share/lua/playlist/appletrailers.lua +++ b/share/lua/playlist/appletrailers.lua @@ -64,8 +64,8 @@ function parse() line = vlc.readline() if not line then break end - if string.match( line, "h%d>.-</h%d" ) then - description = find( line, "h%d>(.+)</h%d") + if string.match( line, "h3>.-</h3" ) then + description = find( line, "h3>(.-)</h3") vlc.msg.dbg(description) end if string.match( line, 'img src=') then _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
