item_info_name=title
item_info_from=@PARAM1@
item_info_build=CastAMP - %s

#item_info_name=f0
#item_info_from=@PARAM1@
#item_info_build=%s

item_info_name=pageUrl
item_info_from=@PARAM1@
item_info_convert=replace('%s',' ','')
item_info_build=http://castamp.com/embed.php?c=%s&vwidth=640&vheight=380

item_info_name=p0
item_info_from=pageUrl
#item_info_convert=getInfo('%s','.*["']\w+(_\w+)["']\+unescape\(["'](\w+)["']','@REFERER@','f1|f2')
item_info_convert=getInfo('%s','.*id=\'mediaspace2.+?>([^<]+)','@REFERER@')
item_info_convert=debug
item_info_build=%s

item_info_name=rtmp
item_info_from=pageUrl
item_info_convert=getInfo('%s','.*"(\\x72\\x74\\x6d[^"']+)"','@REFERER@')
item_info_convert=unicode_escape
item_info_build=%s

item_info_name=url
item_info_from=rtmp + ' playpath=' + p0 + ' swfUrl=http://p.castamp.com/cplayer.swf live=true timeout=15 swfVfy=1 pageUrl=' + pageUrl
item_info_build=%s
