vlc/vlc-2.0 | branch: master | Pierre Ynard <linkfa...@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 <linkfa...@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

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to