[vlc-commits] koreus.lua: small fix-up

Pierre Ynard git at videolan.org
Sun Sep 30 17:06:59 CEST 2012


vlc | branch: master | Pierre Ynard <linkfanel at yahoo.fr> | Sun Sep 30 17:01:21 2012 +0200| [4491de9a6b93ac1838eaa0ef89ad97eddbcf4960] | committer: Pierre Ynard

koreus.lua: small fix-up

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

 share/lua/playlist/koreus.lua |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/share/lua/playlist/koreus.lua b/share/lua/playlist/koreus.lua
index bb09588..d849f03 100644
--- a/share/lua/playlist/koreus.lua
+++ b/share/lua/playlist/koreus.lua
@@ -47,9 +47,10 @@ function parse()
 			_,_,arturl = string.find( line, "href=\"(.-)\"" )
 		end
 
-        vid_url = string.match( line, '(http://embed.koreus.com/%d+/%d+/[%w-]*%.mp4)' )
+        vid_url = string.match( line, '(http://embed%.koreus%.com/%d+/%d+/[%w-]*%.mp4)' )
 		if vid_url then
 			return { { path = vid_url; name = name; description = description; artist = artist; arturl = arturl } }
 		end
 	end
+    return {}
 end



More information about the vlc-commits mailing list