[vlc-commits] Koreus: fix on broken pages
Jean-Baptiste Kempf
git at videolan.org
Fri Oct 19 11:59:37 CEST 2012
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Oct 19 11:59:26 2012 +0200| [12baf681cade7228219964d5b43fa5fc8ca2c3ce] | committer: Jean-Baptiste Kempf
Koreus: fix on broken pages
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=12baf681cade7228219964d5b43fa5fc8ca2c3ce
---
share/lua/playlist/koreus.lua | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/share/lua/playlist/koreus.lua b/share/lua/playlist/koreus.lua
index 06d3b51..ce6a793 100644
--- a/share/lua/playlist/koreus.lua
+++ b/share/lua/playlist/koreus.lua
@@ -40,7 +40,9 @@ function parse()
end
if string.match( line, "<meta name=\"description\"" ) then
_,_,description = string.find( line, "content=\"(.-)\"" )
- description = vlc.strings.resolve_xml_special_chars( description )
+ if (description ~= nil) then
+ description = vlc.strings.resolve_xml_special_chars( description )
+ end
end
if string.match( line, "<meta name=\"author\"" ) then
_,_,artist = string.find( line, "content=\"(.-)\"" )
More information about the vlc-commits
mailing list