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

Pierre Ynard git at videolan.org
Sun Sep 30 17:15:02 CEST 2012


vlc/vlc-2.0 | branch: master | Pierre Ynard <linkfanel at yahoo.fr> | Sun Sep 30 17:01:21 2012 +0200| [6c71e02b0523a63b67c5f7cb6304e46be35eec5c] | committer: Pierre Ynard

koreus.lua: small fix-up
(cherry picked from commit 4491de9a6b93ac1838eaa0ef89ad97eddbcf4960)

Signed-off-by: Pierre Ynard <linkfanel at yahoo.fr>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=6c71e02b0523a63b67c5f7cb6304e46be35eec5c
---

 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