Module Expr Str Assign NameStore Str Import alias Import alias Import alias Import alias Import alias Import alias Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr While NameLoad body Assign NameStore Dict Str Str Str Num Num Num Assign NameStore ListLoad TupleLoad Str Num Num Num For TupleStore NameStore NameStore NameStore NameStore NameLoad body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str Str attr Str Str Assign SubscriptStore NameLoad Index BinOpAdd NameLoad Str Call NameLoad NameLoad Assign SubscriptStore NameLoad Index BinOpAdd NameLoad Str Call NameLoad NameLoad Assign SubscriptStore NameLoad Index BinOpAdd NameLoad Str Call NameLoad NameLoad AugAssignAdd SubscriptStore NameLoad Index Str NameLoad AugAssignAdd SubscriptStore NameLoad Index Str NameLoad AugAssignAdd SubscriptStore NameLoad Index Str BinOpMult NameLoad NameLoad For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TupleLoad TupleLoad Str AttributeLoad NameLoad attr TupleLoad Str NameLoad TupleLoad Str Call AttributeLoad NameLoad attr NameLoad TupleLoad Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Print NameLoad Print Call AttributeLoad NameLoad attr Raise Print Str NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad Call AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Num
N/A N/A Connect to the streamti.me server and report our stats. N/A __author__ mithro@mithis.com (Tim 'mithro' Ansell) N/A datetime N/A json N/A time N/A urllib N/A urllib2 N/A argparse N/A parser N/A N/A argparse ArgumentParser N/A N/A N/A parser add_argument --server help server to register on action store default http://localhost:8000/tracker/endpoint/register N/A N/A N/A parser add_argument --secret help secret to use to register action store default move me to config.private.json N/A N/A N/A parser add_argument --group help group to register on the server action store default example N/A N/A N/A parser add_argument --ip help IP to pretend to be action store default N/A N/A __name__ __main__ N/A N/A args N/A N/A parser parse_args N/A True N/A N/A data N/A overall_clients overall_bitrate overall_cbitrate 0 0 0 N/A totals N/A N/A ogg_high 4 1000000.0 2000000.0 N/A N/A name clients bitrate streambitrate totals N/A N/A fixed_name N/A N/A N/A N/A name replace http- replace - _ N/A N/A data N/A N/A fixed_name _clients N/A int clients N/A N/A data N/A N/A fixed_name _bitrate N/A float bitrate N/A N/A data N/A N/A fixed_name _cbitrate N/A float bitrate N/A N/A data N/A overall_clients clients N/A N/A data N/A overall_bitrate bitrate N/A N/A data N/A overall_cbitrate N/A clients streambitrate N/A group N/A N/A N/A args group split , N/A N/A N/A N/A req N/A N/A urllib2 Request N/A args server N/A N/A urllib urlencode N/A N/A secret N/A args secret N/A group group N/A data N/A N/A json dumps data N/A REMOTE_ADDR N/A args ip N/A r N/A N/A urllib2 urlopen req N/A N/A N/A N/A urllib2 HTTPError N/A e N/A N/A e N/A N/A N/A e read N/A N/A Registered group at N/A N/A N/A datetime datetime now result N/A N/A N/A N/A r read strip N/A N/A N/A time sleep 1