]> git.sesse.net Git - vlc/commitdiff
appletrailer: small fix to get correct trailer type on playlist
authorIlkka Ollakka <ileoo@videolan.org>
Sat, 27 Apr 2013 14:04:14 +0000 (17:04 +0300)
committerIlkka Ollakka <ileoo@videolan.org>
Sat, 27 Apr 2013 14:04:33 +0000 (17:04 +0300)
share/lua/playlist/appletrailers.lua

index d303ef79db170f748dac85e40fb38f467b29f865..d8c3cc24b9e86746dad53f79d1ae6a5522b318ce 100644 (file)
@@ -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