+
+ vid_url_hd = string.match( line, '(http://embed%.koreus%.com/%d+/%d+/[%w-]*%-hd%.mp4)' )
+ if vid_url_hd then
+ path_url_hd = vid_url_hd
+ end
+
+ vid_url_webm = string.match( line, '(http://embed%.koreus%.com/%d+/%d+/[%w-]*%.webm)' )
+ if vid_url_webm then
+ path_url_webm = vid_url_webm
+ end
+
+ vid_url_flv = string.match( line, '(http://embed%.koreus%.com/%d+/%d+/[%w-]*%.flv)' )
+ if vid_ulr_flv then
+ path_url_flv = vid_url_flv
+ end
+
+ end
+
+ if path_url_hd then
+ return { { path = path_url_hd; name = name; description = description; artist = artist; arturl = arturl } }
+ elseif path_url then
+ return { { path = path_url; name = name; description = description; artist = artist; arturl = arturl } }
+ elseif path_url_webm then
+ return { { path = path_url_webm; name = name; description = description; artist = artist; arturl = arturl } }
+ elseif path_url_flv then
+ return { { path = path_url_flv; name = name; description = description; artist = artist; arturl = arturl } }
+ else
+ return {}