Module Expr Str ImportFrom alias alias alias Import alias ImportFrom alias Import alias Import alias Import alias Import alias ImportFrom alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Str Assign NameStore Num Assign NameStore BinOpMod Str NameLoad Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore TupleLoad Str Str Str Str Str Assign NameStore Call AttributeLoad Call NameLoad Call AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Str Num body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list Assign NameStore Call NameLoad Str FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str Str Str Str Str NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str ClassDef bases NameLoad body Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore Str Assign NameStore Num FunctionDef arguments args NameParam defaults body Pass decorator_list decorator_list Return NameLoad decorator_list Assign NameStore Call NameLoad NameLoad Str Assign NameStore Call NameLoad NameLoad Str Assign NameStore Call NameLoad NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareEq NameLoad Str body Return Call NameLoad NameLoad Call NameLoad NameLoad NameLoad orelse TryExcept body Return Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Raise Call NameLoad decorator_list ClassDef bases NameLoad body Expr Str decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr AttributeStore NameLoad attr TupleLoad NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Raise NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Raise NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad For TupleStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr body If CompareEq Call AttributeLoad NameLoad attr NameLoad NameLoad body Return NameLoad Raise Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareLt Call NameLoad AttributeLoad NameLoad attr Num body Return BinOpSub Call NameLoad AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num BinOpSub Call NameLoad AttributeLoad NameLoad attr Num While CompareEq NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num BinOpSub Call NameLoad AttributeLoad NameLoad attr Num Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Return AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Return Call AttributeLoad NameLoad attr Return BinOpAdd AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Return AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Return Call AttributeLoad NameLoad attr Return BinOpSub AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call NameLoad Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Raise Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If CompareEq NameLoad AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr NameLoad orelse Assign AttributeStore NameLoad attr NameLoad Raise Call NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If BoolOpAnd AttributeLoad NameLoad attr UnaryOpNot AttributeLoad NameLoad attr body For NameStore NameLoad body Expr Yield BinOpAdd Str NameLoad orelse For NameStore Call NameLoad NameLoad body If Call AttributeLoad NameLoad attr Str body Expr Yield BinOpAdd Str SubscriptLoad NameLoad Slice Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If BoolOpAnd AttributeLoad NameLoad attr UnaryOpNot AttributeLoad NameLoad attr body For NameStore Call NameLoad NameLoad body If Call AttributeLoad NameLoad attr Str body Assign NameStore SubscriptLoad NameLoad Slice Num If CompareNotIn NameLoad NameLoad body Expr Yield BinOpAdd Str NameLoad orelse Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Yield TupleLoad BinOpAdd Str Call NameLoad AttributeLoad NameLoad attr BinOpAdd Str Call NameLoad Call NameLoad AttributeLoad NameLoad attr BinOpAdd Str Call NameLoad Call NameLoad AttributeLoad NameLoad attr BinOpAdd Str Call NameLoad AttributeLoad NameLoad attr BinOpAdd Str Call NameLoad Call NameLoad AttributeLoad NameLoad attr BinOpAdd Str Call NameLoad AttributeLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr Num body Assign NameStore Str orelse If AttributeLoad NameLoad attr body Assign NameStore Str orelse Assign NameStore Str Expr Yield BinOpAdd Str NameLoad If CompareNotEq AttributeLoad NameLoad attr Num body Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr Expr Yield BinOpAdd Str Call NameLoad AttributeLoad NameLoad attr Expr Yield BinOpAdd Str Call NameLoad NameLoad If AttributeLoad NameLoad attr body Expr Yield BinOpAdd Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad If BoolOpOr CompareLt NameLoad NameLoad CompareGt NameLoad NameLoad body Raise Call NameLoad NameLoad Str Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad If CompareLt NameLoad Num body Raise Call NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr ListLoad AugAssignAdd AttributeStore NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad TryExcept body Delete SubscriptDel AttributeLoad NameLoad attr Index NameLoad handlers ExceptHandler type NameLoad body Raise Call NameLoad AugAssignAdd AttributeStore NameLoad attr Num If CompareEq AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse If CompareLt NameLoad AttributeLoad NameLoad attr body AugAssignSub AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad handlers ExceptHandler type NameLoad body Raise Call NameLoad If CompareEq NameLoad AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr NameLoad orelse If CompareLtLtE NameLoad AttributeLoad NameLoad attr NameLoad body AugAssignSub AttributeStore NameLoad attr Num orelse If CompareGtGtE NameLoad AttributeLoad NameLoad attr NameLoad body AugAssignAdd AttributeStore NameLoad attr Num AugAssignAdd AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad TryExcept body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad handlers ExceptHandler type NameLoad body Raise Call NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad If CompareEq AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr NameLoad orelse If CompareEq AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr NameLoad AugAssignAdd AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Pass decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Num body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad If CompareEq NameLoad Num body For NameStore AttributeLoad NameLoad attr body Expr Yield Call AttributeLoad NameLoad attr NameLoad orelse TryExcept body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad handlers ExceptHandler type NameLoad body Raise Call NameLoad Expr Yield Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Num body Return Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str For TupleStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr body Expr Yield BinOpAdd Str Call NameLoad NameLoad Expr Yield BinOpAdd Str Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareNotEq AttributeLoad NameLoad attr Num body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr Expr Yield Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr If CompareGtE AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr body Return Call AttributeLoad NameLoad attr NameLoad orelse Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr If CompareLt AttributeLoad NameLoad attr Num body Return Call AttributeLoad NameLoad attr NameLoad orelse Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str If CompareIs NameLoad NameLoad body Assign AttributeStore NameLoad attr UnaryOpNot AttributeLoad NameLoad attr orelse Assign AttributeStore NameLoad attr Call NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Num body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad If BoolOpOr CompareLt NameLoad Num CompareGt NameLoad Call NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad If CompareEq NameLoad Num body If UnaryOpNot AttributeLoad NameLoad attr body Return Call AttributeLoad NameLoad attr NameLoad If CompareEq AttributeLoad NameLoad attr Num body Assign AttributeStore NameLoad attr Num orelse Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Num body Assign NameStore Call NameLoad NameLoad NameLoad If CompareEq NameLoad Num body Assign NameStore Num orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad If BoolOpOr CompareLt NameLoad Num CompareGtE NameLoad Call NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str ImportFrom alias Assign NameStore Call AttributeLoad Call NameLoad attr Expr Call NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If Call NameLoad NameLoad NameLoad body Assign NameStore ListLoad NameLoad Assign NameStore BinOpAdd Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Slice Num If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Expr Yield Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Yield Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr orelse Expr Yield Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Yield Call AttributeLoad NameLoad attr NameLoad Assign NameStore NameLoad While NameLoad body Assign NameStore Yield Call AttributeLoad AttributeLoad NameLoad attr attr If UnaryOpNot NameLoad body Break Assign NameStore Call AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Break Expr Call AttributeLoad NameLoad attr Str NameLoad If CompareIsNot NameLoad NameLoad body If CompareEq NameLoad NameLoad body Expr Yield Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign NameStore NameLoad orelse Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad orelse If BoolOpOr CompareEq NameLoad NameLoad CompareEq NameLoad NameLoad body Assign NameStore Call NameLoad ListLoad CompareEq NameLoad NameLoad orelse TryExcept body Expr Yield Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Return decorator_list FunctionDef arguments args NameParam NameParam defaults body FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr decorator_list Return NameLoad decorator_list NameLoad decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Num Assign AttributeStore NameLoad attr ListLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Slice Call AttributeLoad NameLoad attr For NameStore NameLoad body If SubscriptLoad NameLoad Index Num body Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str Str attr Str Str orelse Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore BinOpAdd Str AttributeLoad NameLoad attr If UnaryOpNot Call NameLoad AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad NameLoad Str AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad If BoolOpAnd AttributeLoad AttributeLoad NameLoad attr attr UnaryOpNot AttributeLoad NameLoad attr CompareNotIn AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad NameLoad Str TryExcept body Assign NameStore BinOpAdd ListLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad If NameLoad body For NameStore NameLoad body Expr Yield Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Raise NameLoad ExceptHandler type NameLoad body Raise ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr NameLoad Raise Call NameLoad NameLoad Str AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str If NameLoad body For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str For TupleStore NameStore NameStore Call NameLoad NameLoad body TryExcept body Expr Yield Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Assign AttributeStore NameLoad attr NameLoad Raise NameLoad If AttributeLoad NameLoad attr body Expr Yield Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body TryExcept body ImportFrom alias handlers ExceptHandler type NameLoad name NameStore body If Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Str body Raise Call NameLoad orelse Raise Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore ListLoad BinOpAdd Str Call AttributeLoad NameLoad attr keyword NameLoad BinOpAdd Str Call NameLoad Call NameLoad AttributeLoad NameLoad attr BinOpAdd Str AttributeLoad NameLoad attr BinOpAdd Str AttributeLoad NameLoad attr BinOpAdd Str AttributeLoad NameLoad attr BinOpAdd Str AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body AugAssignAdd NameStore BinOpAdd Str Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpAdd Str NameLoad Expr Call AttributeLoad NameLoad attr BinOpAdd Str Call NameLoad AttributeLoad NameLoad attr TryExcept body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpAdd Str Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Pass Expr Call AttributeLoad NameLoad attr BinOpAdd Str Call NameLoad AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Str body Expr Str Expr Call NameLoad Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore AttributeLoad NameLoad attr For NameStore NameLoad body If UnaryOpNot NameLoad body Continue If Call NameLoad NameLoad NameLoad body Raise Call NameLoad If CompareIn NameLoad AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad orelse If CompareIn NameLoad AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad orelse Raise Call NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore BinOpAdd BinOpAdd NameLoad Str NameLoad Return Call AttributeLoad Call AttributeLoad NameLoad attr Str Str attr Str Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Str body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If Call NameLoad NameLoad NameLoad body Raise Call NameLoad NameLoad Str orelse For TupleStore NameStore NameStore Call NameLoad Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Yield Call AttributeLoad NameLoad attr NameLoad For TupleStore NameStore NameStore Call NameLoad Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If Call AttributeLoad NameLoad attr Str body Assign NameStore SubscriptLoad NameLoad Slice Num Expr Yield BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str If Call NameLoad NameLoad NameLoad body If NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Yield Call AttributeLoad NameLoad attr NameLoad orelse Expr Yield BinOpAdd Str NameLoad orelse For TupleStore NameStore NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad For NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad body Expr Yield NameLoad For TupleStore NameStore NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Yield BinOpAdd Str NameLoad For NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad body Expr Yield NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Str body Expr Str Return Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Str body Expr Str Return Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If Call NameLoad NameLoad NameLoad body Expr Yield Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse For TupleStore NameStore NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr body For NameStore Call AttributeLoad NameLoad attr NameLoad body Expr Yield NameLoad For TupleStore NameStore NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr body For NameStore Call AttributeLoad NameLoad attr NameLoad body Expr Yield NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str For NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If NameLoad body Expr Yield BinOpAdd Str Call NameLoad AttributeLoad NameLoad attr AugAssignAdd AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body For NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad body Expr Yield NameLoad If CompareGt AttributeLoad NameLoad attr Num body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr Expr Yield BinOpAdd Str Call NameLoad BinOpDiv AttributeLoad NameLoad attr Num Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Yield BinOpAdd BinOpAdd BinOpAdd Str Call NameLoad NameLoad Str Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str With Call AttributeLoad AttributeLoad NameLoad attr attr NameStore body Assign NameStore Str Assign TupleStore NameStore NameStore NameStore NameStore SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index Num Expr Yield TupleLoad BinOpAdd Str Call NameLoad NameLoad BinOpAdd Str Call NameLoad NameLoad BinOpAdd Str Call NameLoad NameLoad BinOpAdd Str Call NameLoad Call NameLoad BinOpSub Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr BinOpAdd Str Str BinOpAdd Str Call NameLoad Call NameLoad NameLoad BinOpAdd Str Call NameLoad Call NameLoad AttributeLoad NameLoad attr decorator_list Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str FunctionDef arguments args NameParam NameParam defaults body Expr Str For NameStore AttributeLoad NameLoad attr body Expr Yield BinOpAdd Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If CompareEq Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr body Return TupleLoad NameLoad NameLoad Raise Call NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str If NameLoad body Assign NameStore ListLoad Assign NameStore Call NameLoad NameLoad For TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad body If CompareEq Call AttributeLoad NameLoad attr Str body If NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad NameLoad orelse Raise Call NameLoad NameLoad Str orelse Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults vararg body Expr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Yield Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults vararg body Expr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Yield Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults vararg body Expr Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd Str NameLoad Str NameLoad Str NameLoad With Call AttributeLoad AttributeLoad NameLoad attr attr NameStore body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad For NameStore NameLoad body Expr Yield BinOpAdd BinOpAdd NameLoad Str Call NameLoad SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Num Assign NameStore Num For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad body AugAssignAdd NameStore Num AugAssignAdd NameStore AttributeLoad NameLoad attr Expr Yield BinOpAdd Str Call NameLoad NameLoad Expr Yield BinOpAdd Str Call NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Yield TupleLoad Str Str Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad NameLoad If CompareNotEq NameLoad Num body Raise Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad NameLoad If CompareEq NameLoad Num body Raise Call NameLoad NameLoad Str orelse Raise Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Num body Assign NameStore BoolOpAnd CompareNotEq NameLoad Num CompareNotEq NameLoad AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad If CompareGt AttributeLoad NameLoad attr Num body If BoolOpAnd NameLoad UnaryOpNot NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr orelse If AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr BinOpDiv Call NameLoad NameLoad Num decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str Str Str Str Str Num Str NameLoad Assign AttributeStore SubscriptLoad AttributeLoad NameLoad attr Index Str attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body Expr Str If NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr TryExcept body Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str keyword Str keyword Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore IfExp NameLoad Call AttributeLoad NameLoad attr Num Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr NameLoad Assign NameStore IfExp NameLoad Call AttributeLoad NameLoad attr Num Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr NameLoad If NameLoad body Raise Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr NameLoad Assign NameStore Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr NameLoad Assign NameStore BoolOpOr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Call NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list Assign AttributeStore NameLoad attr NameLoad Return ListLoad NameLoad decorator_list decorator_list
N/A N/A A clone of the Music Player Daemon (MPD) that plays music from a
Beets library. Attempts to implement a compatible protocol to allow
use of the wide range of MPD clients.
 __future__ division absolute_import print_function N/A re string Template N/A traceback N/A random N/A time N/A beets beets.plugins BeetsPlugin N/A beets.ui beets logging beets vfs beets.util bluelet beets.library Item beets dbcore beets.mediafile MediaFile N/A PROTOCOL_VERSION 0.13.0 N/A BUFSIZE 1024 N/A HELLO N/A OK MPD %s PROTOCOL_VERSION N/A CLIST_BEGIN command_list_begin N/A CLIST_VERBOSE_BEGIN command_list_ok_begin N/A CLIST_END command_list_end N/A RESP_OK OK N/A RESP_CLIST_VERBOSE list_OK N/A RESP_ERR ACK N/A NEWLINE N/A ERROR_NOT_LIST 1 N/A ERROR_ARG 2 N/A ERROR_PASSWORD 3 N/A ERROR_PERMISSION 4 N/A ERROR_UNKNOWN 5 N/A ERROR_NO_EXIST 50 N/A ERROR_PLAYLIST_MAX 51 N/A ERROR_SYSTEM 52 N/A ERROR_PLAYLIST_LOAD 53 N/A ERROR_UPDATE_ALREADY 54 N/A ERROR_PLAYER_SYNC 55 N/A ERROR_EXIST 56 N/A VOLUME_MIN 0 N/A VOLUME_MAX 100 N/A SAFE_COMMANDS N/A close commands notcommands password ping N/A ITEM_KEYS_WRITABLE N/A N/A N/A set N/A N/A MediaFile fields intersection N/A N/A N/A Item _fields keys N/A log N/A N/A logging getLogger beets.bpd N/A global_log N/A N/A logging getLogger beets NoGstreamerError N/A Exception N/A N/A N/A BPDError N/A Exception N/A N/A An error that should be exposed to the client to the BPD
    server.
     __init__ N/A N/A self code message cmd_name index N/A 0 N/A N/A N/A self code code N/A N/A self message message N/A N/A self cmd_name cmd_name N/A N/A self index index N/A N/A template N/A Template $resp [$code@$index] {$cmd_name} $message response N/A N/A self N/A N/A N/A Returns a string to be used as the response code for the
        erring command.
         N/A N/A N/A N/A self template substitute N/A resp code index cmd_name message RESP_ERR N/A self code N/A self index N/A self cmd_name N/A self message N/A N/A make_bpd_error N/A N/A s_code s_message N/A N/A N/A Create a BPDError subclass for a static code and message.
     NewBPDError N/A BPDError N/A N/A code s_code N/A message s_message N/A cmd_name N/A index 0 __init__ N/A N/A self N/A N/A N/A N/A N/A N/A NewBPDError N/A N/A ArgumentTypeError N/A make_bpd_error ERROR_ARG invalid type for argument N/A ArgumentIndexError N/A make_bpd_error ERROR_ARG argument out of range N/A ArgumentNotFoundError N/A make_bpd_error ERROR_NO_EXIST argument not found cast_arg N/A N/A t val N/A N/A N/A Attempts to call t on val, raising a ArgumentTypeError
    on ValueError.

    If 't' is the special string 'intbool', attempts to cast first
    to an int and then to a bool (i.e., 1=True, 0=False).
     N/A N/A t intbool N/A N/A N/A cast_arg bool N/A cast_arg int val N/A N/A N/A N/A N/A t val N/A N/A N/A ValueError N/A N/A N/A ArgumentTypeError N/A BPDClose N/A Exception N/A N/A Raised by a command invocation to indicate that the connection
    should be closed.
     N/A BaseServer N/A object N/A N/A A MPD-compatible music player server.

    The functions with the `cmd_` prefix are invoked in response to
    client commands. For instance, if the client says `status`,
    `cmd_status` will be invoked. The arguments to the client's commands
    are used as function arguments following the connection issuing the
    command. The functions may send data on the connection. They may
    also raise BPDError exceptions to report errors.

    This is a generic superclass and doesn't support many commands.
     __init__ N/A N/A self host port password N/A N/A N/A Create a new server bound to address `host` and listening
        on port `port`. If `password` is given, it is required to do
        anything significant on the server.
         N/A N/A N/A self host N/A self port N/A self password N/A host port password N/A N/A self random False N/A N/A self repeat False N/A N/A self volume VOLUME_MAX N/A N/A self crossfade 0 N/A N/A self playlist N/A N/A N/A self playlist_version 0 N/A N/A self current_index -1 N/A N/A self paused False N/A N/A self error None N/A N/A self random_obj N/A N/A random Random N/A run N/A N/A self N/A N/A N/A Block and start listening for connections from clients. An
        interrupt (^C) closes the server.
         N/A N/A self startup_time N/A N/A time time N/A N/A N/A bluelet run N/A N/A bluelet server N/A self host N/A self port N/A N/A Connection handler self N/A _item_info N/A N/A self item N/A N/A N/A An abstract method that should response lines containing a
        single song's metadata.
         N/A NotImplementedError N/A _item_id N/A N/A self item N/A N/A N/A An abstract method returning the integer id for an item.
         N/A NotImplementedError N/A _id_to_index N/A N/A self track_id N/A N/A N/A Searches the playlist for a song with the given id and
        returns its index in the playlist.
         N/A track_id N/A cast_arg int track_id N/A N/A index track N/A enumerate N/A self playlist N/A N/A N/A N/A N/A self _item_id track track_id N/A N/A index N/A N/A ArgumentNotFoundError N/A _random_idx N/A N/A self N/A N/A N/A Returns a random index different from the current one.
        If there are no songs in the playlist it returns -1.
        If there is only one song in the playlist it returns 0.
         N/A N/A N/A len N/A self playlist 2 N/A N/A N/A N/A len N/A self playlist 1 N/A new_index N/A N/A N/A self random_obj randint 0 N/A N/A len N/A self playlist 1 N/A N/A new_index N/A self current_index N/A N/A new_index N/A N/A N/A self random_obj randint 0 N/A N/A len N/A self playlist 1 N/A new_index N/A _succ_idx N/A N/A self N/A N/A N/A Returns the index for the next song to play.
        It also considers random and repeat flags.
        No boundaries are checked.
         N/A N/A self repeat N/A N/A N/A self current_index N/A N/A self random N/A N/A N/A N/A self _random_idx N/A N/A N/A self current_index 1 N/A _prev_idx N/A N/A self N/A N/A N/A Returns the index for the previous song to play.
        It also considers random and repeat flags.
        No boundaries are checked.
         N/A N/A self repeat N/A N/A N/A self current_index N/A N/A self random N/A N/A N/A N/A self _random_idx N/A N/A N/A self current_index 1 N/A cmd_ping N/A N/A self conn N/A N/A N/A Succeeds. N/A N/A cmd_kill N/A N/A self conn N/A N/A N/A Exits the server process. N/A N/A exit 0 N/A cmd_close N/A N/A self conn N/A N/A N/A Closes the connection. N/A N/A BPDClose N/A cmd_password N/A N/A self conn password N/A N/A N/A Attempts password authentication. N/A N/A password N/A self password N/A N/A N/A conn authenticated True N/A N/A N/A conn authenticated False N/A N/A BPDError ERROR_PASSWORD incorrect password N/A cmd_commands N/A N/A self conn N/A N/A N/A Lists the commands available to the user. N/A N/A N/A self password N/A N/A conn authenticated N/A N/A cmd SAFE_COMMANDS N/A N/A N/A N/A command:  cmd N/A N/A func N/A dir self N/A N/A N/A N/A func startswith cmd_ N/A N/A N/A N/A command:  N/A func N/A 4 N/A cmd_notcommands N/A N/A self conn N/A N/A N/A Lists all unavailable commands. N/A N/A N/A self password N/A N/A conn authenticated N/A N/A func N/A dir self N/A N/A N/A N/A func startswith cmd_ N/A N/A cmd N/A func N/A 4 N/A N/A cmd SAFE_COMMANDS N/A N/A N/A N/A command:  cmd N/A N/A N/A cmd_status N/A N/A self conn N/A N/A N/A Returns some status information for use with an
        implementation of cmd_status.

        Gives a list of response-lines for: volume, repeat, random,
        playlist, playlistlength, and xfade.
         N/A N/A N/A N/A volume:  N/A unicode N/A self volume N/A repeat:  N/A unicode N/A int N/A self repeat N/A random:  N/A unicode N/A int N/A self random N/A playlist:  N/A unicode N/A self playlist_version N/A playlistlength:  N/A unicode N/A len N/A self playlist N/A xfade:  N/A unicode N/A self crossfade N/A N/A N/A self current_index -1 N/A N/A state stop N/A N/A N/A self paused N/A N/A state pause N/A N/A state play N/A N/A N/A state:  state N/A N/A N/A self current_index -1 N/A N/A current_id N/A N/A self _item_id N/A N/A self playlist N/A N/A self current_index N/A N/A N/A song:  N/A unicode N/A self current_index N/A N/A N/A songid:  N/A unicode current_id N/A N/A self error N/A N/A N/A N/A error:  N/A self error N/A cmd_clearerror N/A N/A self conn N/A N/A N/A Removes the persistent error state of the server. This
        error is set when a problem arises not in response to a
        command (for instance, when playing a file).
         N/A N/A self error None N/A cmd_random N/A N/A self conn state N/A N/A N/A Set or unset random (shuffle) mode. N/A N/A self random N/A cast_arg intbool state N/A cmd_repeat N/A N/A self conn state N/A N/A N/A Set or unset repeat mode. N/A N/A self repeat N/A cast_arg intbool state N/A cmd_setvol N/A N/A self conn vol N/A N/A N/A Set the player's volume level (0-100). N/A vol N/A cast_arg int vol N/A N/A N/A vol VOLUME_MIN N/A vol VOLUME_MAX N/A N/A N/A BPDError ERROR_ARG volume out of range N/A N/A self volume vol N/A cmd_crossfade N/A N/A self conn crossfade N/A N/A N/A Set the number of seconds of crossfading. N/A crossfade N/A cast_arg int crossfade N/A N/A crossfade 0 N/A N/A N/A BPDError ERROR_ARG crossfade time must be nonnegative N/A cmd_clear N/A N/A self conn N/A N/A N/A Clear the playlist. N/A N/A self playlist N/A N/A N/A self playlist_version 1 N/A N/A N/A self cmd_stop conn N/A cmd_delete N/A N/A self conn index N/A N/A N/A Remove the song at index from the playlist. N/A index N/A cast_arg int index N/A N/A N/A N/A N/A self playlist N/A index N/A N/A N/A IndexError N/A N/A N/A ArgumentIndexError N/A N/A self playlist_version 1 N/A N/A N/A self current_index index N/A N/A N/A N/A self cmd_stop conn N/A N/A N/A index N/A self current_index N/A N/A N/A self current_index 1 N/A cmd_deleteid N/A N/A self conn track_id N/A N/A N/A N/A N/A self cmd_delete conn N/A N/A self _id_to_index track_id N/A cmd_move N/A N/A self conn idx_from idx_to N/A N/A N/A Move a track in the playlist. N/A idx_from N/A cast_arg int idx_from N/A idx_to N/A cast_arg int idx_to N/A N/A N/A track N/A N/A N/A self playlist pop idx_from N/A N/A N/A N/A self playlist insert idx_to track N/A N/A N/A IndexError N/A N/A N/A ArgumentIndexError N/A N/A idx_from N/A self current_index N/A N/A N/A self current_index idx_to N/A N/A N/A idx_from N/A self current_index idx_to N/A N/A N/A self current_index 1 N/A N/A N/A idx_from N/A self current_index idx_to N/A N/A N/A self current_index 1 N/A N/A self playlist_version 1 N/A cmd_moveid N/A N/A self conn idx_from idx_to N/A N/A N/A idx_from N/A N/A self _id_to_index idx_from N/A N/A N/A self cmd_move conn idx_from idx_to N/A cmd_swap N/A N/A self conn i j N/A N/A N/A Swaps two tracks in the playlist. N/A i N/A cast_arg int i N/A j N/A cast_arg int j N/A N/A N/A track_i N/A N/A self playlist N/A i N/A track_j N/A N/A self playlist N/A j N/A N/A N/A IndexError N/A N/A N/A ArgumentIndexError N/A N/A N/A self playlist N/A j track_i N/A N/A N/A self playlist N/A i track_j N/A N/A N/A self current_index i N/A N/A N/A self current_index j N/A N/A N/A N/A self current_index j N/A N/A N/A self current_index i N/A N/A self playlist_version 1 N/A cmd_swapid N/A N/A self conn i_id j_id N/A N/A N/A i N/A N/A self _id_to_index i_id N/A j N/A N/A self _id_to_index j_id N/A N/A N/A self cmd_swap conn i j N/A cmd_urlhandlers N/A N/A self conn N/A N/A N/A Indicates supported URL schemes. None by default. N/A N/A cmd_playlistinfo N/A N/A self conn index N/A -1 N/A N/A Gives metadata information about the entire playlist or a
        single track, given by its index.
         N/A index N/A cast_arg int index N/A N/A index -1 N/A N/A track N/A self playlist N/A N/A N/A N/A N/A self _item_info track N/A N/A N/A N/A track N/A N/A self playlist N/A index N/A N/A N/A IndexError N/A N/A N/A ArgumentIndexError N/A N/A N/A N/A self _item_info track N/A cmd_playlistid N/A N/A self conn track_id N/A -1 N/A N/A N/A N/A self cmd_playlistinfo conn N/A N/A self _id_to_index track_id N/A cmd_plchanges N/A N/A self conn version N/A N/A N/A Sends playlist changes since the given version.

        This is a "fake" implementation that ignores the version and
        just returns the entire playlist (rather like version=0). This
        seems to satisfy many clients.
         N/A N/A N/A self cmd_playlistinfo conn N/A cmd_plchangesposid N/A N/A self conn version N/A N/A N/A Like plchanges, but only sends position and id.

        Also a dummy implementation.
         N/A N/A idx track N/A enumerate N/A self playlist N/A N/A N/A N/A cpos:  N/A unicode idx N/A N/A N/A Id:  N/A unicode N/A track id N/A cmd_currentsong N/A N/A self conn N/A N/A N/A Sends information about the currently-playing song.
         N/A N/A N/A self current_index -1 N/A N/A track N/A N/A self playlist N/A N/A self current_index N/A N/A N/A N/A self _item_info track N/A cmd_next N/A N/A self conn N/A N/A N/A Advance to the next song in the playlist. N/A N/A self current_index N/A N/A self _succ_idx N/A N/A N/A self current_index N/A len N/A self playlist N/A N/A N/A N/A self cmd_stop conn N/A N/A N/A N/A self cmd_play conn N/A cmd_previous N/A N/A self conn N/A N/A N/A Step back to the last song. N/A N/A self current_index N/A N/A self _prev_idx N/A N/A N/A self current_index 0 N/A N/A N/A N/A self cmd_stop conn N/A N/A N/A N/A self cmd_play conn N/A cmd_pause N/A N/A self conn state N/A None N/A N/A Set the pause state playback. N/A N/A state None N/A N/A N/A self paused N/A N/A self paused N/A N/A N/A self paused N/A cast_arg intbool state N/A cmd_play N/A N/A self conn index N/A -1 N/A N/A Begin playback, possibly at a specified playlist index. N/A index N/A cast_arg int index N/A N/A N/A index -1 N/A index N/A len N/A self playlist N/A N/A N/A ArgumentIndexError N/A N/A index -1 N/A N/A N/A N/A self playlist N/A N/A N/A N/A self cmd_stop conn N/A N/A N/A self current_index -1 N/A N/A N/A self current_index 0 N/A N/A N/A self current_index index N/A N/A self paused False N/A cmd_playid N/A N/A self conn track_id N/A 0 N/A N/A track_id N/A cast_arg int track_id N/A N/A track_id -1 N/A N/A index -1 N/A N/A index N/A N/A self _id_to_index track_id N/A N/A N/A self cmd_play conn index N/A cmd_stop N/A N/A self conn N/A N/A N/A Stop playback. N/A N/A self current_index -1 N/A N/A self paused False N/A cmd_seek N/A N/A self conn index pos N/A N/A N/A Seek to a specified point in a specified song. N/A index N/A cast_arg int index N/A N/A N/A index 0 N/A index N/A len N/A self playlist N/A N/A N/A ArgumentIndexError N/A N/A self current_index index N/A cmd_seekid N/A N/A self conn track_id pos N/A N/A N/A index N/A N/A self _id_to_index track_id N/A N/A N/A self cmd_seek conn index pos N/A cmd_profile N/A N/A self conn N/A N/A N/A Memory profiling for debugging. guppy hpy N/A heap N/A N/A N/A hpy heap N/A N/A print heap N/A N/A Connection N/A object N/A N/A A connection between a client and the server. Handles input and
    output from and to the client.
     __init__ N/A N/A self server sock N/A N/A N/A Create a new connection for the accepted socket `client`.
         N/A N/A self server server N/A N/A self sock sock N/A N/A self authenticated False N/A send N/A N/A self lines N/A N/A N/A Send lines, which which is either a single string or an
        iterable consisting of strings, to the client. A newline is
        added after every string. Returns a Bluelet event that sends
        the data.
         N/A N/A isinstance lines basestring N/A N/A lines N/A lines N/A out N/A N/A N/A NEWLINE join lines NEWLINE N/A N/A N/A log debug {} N/A out N/A -1 N/A N/A isinstance out unicode N/A N/A out N/A N/A out encode utf8 N/A N/A N/A N/A self sock sendall out N/A do_command N/A N/A self command N/A N/A N/A A coroutine that runs the given command and sends an
        appropriate response. N/A N/A N/A N/A N/A N/A bluelet call N/A N/A command run self N/A N/A N/A BPDError N/A e N/A N/A N/A N/A N/A self send N/A N/A e response N/A N/A N/A N/A N/A self send RESP_OK N/A run N/A N/A self N/A N/A N/A Send a greeting to the client and begin processing commands
        as they arrive.
         N/A N/A N/A N/A self send HELLO N/A clist None N/A True N/A N/A line N/A N/A N/A N/A self sock readline N/A N/A line N/A N/A N/A line N/A N/A line strip N/A N/A line N/A N/A N/A N/A N/A log debug {} line N/A N/A clist None N/A N/A N/A line CLIST_END N/A N/A N/A N/A N/A bluelet call N/A N/A self do_command clist N/A clist None N/A N/A N/A N/A clist append N/A Command line N/A N/A N/A N/A line CLIST_BEGIN N/A line CLIST_VERBOSE_BEGIN N/A N/A clist N/A CommandList N/A N/A line CLIST_VERBOSE_BEGIN N/A N/A N/A N/A N/A N/A N/A bluelet call N/A N/A self do_command N/A Command line N/A N/A N/A BPDClose N/A N/A N/A N/A N/A self sock close N/A N/A handler N/A N/A cls server N/A N/A _handle N/A N/A sock N/A N/A N/A Creates a new `Connection` and runs it.
             N/A N/A N/A N/A cls server sock run N/A N/A _handle N/A classmethod N/A Command N/A object N/A N/A A command issued by the client for processing by the server.
     N/A command_re N/A N/A re compile ^([^ \t]+)[ \t]* N/A arg_re N/A N/A re compile "((?:\\"|[^"])+)"|([^ \t"]+) __init__ N/A N/A self s N/A N/A N/A Creates a new `Command` from the given string, `s`, parsing
        the string for command name and arguments.
         N/A command_match N/A N/A N/A self command_re match s N/A N/A self name N/A N/A command_match group 1 N/A N/A self args N/A N/A arg_matches N/A N/A N/A self arg_re findall N/A s N/A N/A N/A command_match end N/A match arg_matches N/A N/A N/A match N/A 0 N/A N/A arg N/A match N/A 0 N/A arg N/A N/A N/A N/A arg replace \" " replace \\ \ N/A N/A arg N/A match N/A 1 N/A arg N/A N/A arg decode utf8 N/A N/A N/A N/A self args append arg N/A run N/A N/A self conn N/A N/A N/A A coroutine that executes the command on the given
        connection.
         N/A func_name N/A cmd_ N/A self name N/A N/A N/A hasattr N/A conn server func_name N/A N/A N/A BPDError ERROR_UNKNOWN unknown command N/A self name N/A func N/A getattr N/A conn server func_name N/A N/A N/A N/A conn server password N/A N/A conn authenticated N/A N/A self name SAFE_COMMANDS N/A N/A N/A BPDError ERROR_PERMISSION insufficient privileges N/A N/A N/A args N/A N/A conn N/A self args N/A results N/A func args N/A results N/A N/A data results N/A N/A N/A N/A N/A conn send data N/A N/A N/A BPDError N/A e N/A N/A N/A e cmd_name N/A self name N/A e N/A N/A BPDClose N/A N/A N/A N/A Exception N/A e N/A N/A N/A N/A log error {} N/A N/A traceback format_exc e N/A N/A BPDError ERROR_SYSTEM server error N/A self name N/A N/A CommandList N/A list N/A N/A A list of commands issued by the client for processing by the
    server. May be verbose, in which case the response is delimited, or
    not. Should be a list of `Command` objects.
     __init__ N/A N/A self sequence verbose N/A None False N/A N/A Create a new `CommandList` from the given sequence of
        `Command`s. If `verbose`, this is a verbose command list.
         N/A sequence N/A N/A item sequence N/A N/A N/A N/A self append item N/A N/A self verbose verbose N/A run N/A N/A self conn N/A N/A N/A Coroutine executing all the commands in this list.
         N/A N/A i command N/A enumerate self N/A N/A N/A N/A N/A N/A N/A bluelet call N/A N/A command run conn N/A N/A N/A BPDError N/A e N/A N/A N/A e index i N/A e N/A N/A self verbose N/A N/A N/A N/A N/A conn send RESP_CLIST_VERBOSE N/A N/A Server N/A BaseServer N/A N/A An MPD-compatible server using GStreamer to play audio and beets
    to store its library.
     __init__ N/A N/A self library host port password N/A N/A N/A N/A beetsplug.bpd gstplayer N/A N/A N/A ImportError N/A e N/A N/A N/A N/A N/A N/A e args N/A 0 endswith  gst N/A N/A N/A NoGstreamerError N/A N/A N/A N/A N/A N/A super Server self __init__ host port password N/A N/A self lib library N/A N/A self player N/A N/A gstplayer GstPlayer N/A self play_finished N/A N/A N/A self cmd_update None N/A run N/A N/A self N/A N/A N/A N/A N/A N/A self player run N/A N/A N/A N/A super Server self run N/A play_finished N/A N/A self N/A N/A N/A A callback invoked every time our player finishes a
        track.
         N/A N/A N/A self cmd_next None N/A _item_info N/A N/A self item N/A N/A N/A info_lines N/A N/A file:  N/A N/A item destination fragment True N/A Time:  N/A unicode N/A int N/A item length N/A Title:  N/A item title N/A Artist:  N/A item artist N/A Album:  N/A item album N/A Genre:  N/A item genre N/A track N/A unicode N/A item track N/A N/A item tracktotal N/A N/A track N/A / N/A unicode N/A item tracktotal N/A N/A N/A info_lines append N/A Track:  track N/A N/A N/A info_lines append N/A Date:  N/A unicode N/A item year N/A N/A N/A pos N/A N/A self _id_to_index N/A item id N/A N/A N/A info_lines append N/A Pos:  N/A unicode pos N/A N/A N/A ArgumentNotFoundError N/A N/A N/A N/A N/A info_lines append N/A Id:  N/A unicode N/A item id N/A info_lines N/A _item_id N/A N/A self item N/A N/A N/A N/A item id N/A cmd_update N/A N/A self conn path N/A / N/A N/A Updates the catalog to reflect the current database state.
         N/A N/A print Building directory tree... N/A N/A self tree N/A N/A vfs libtree N/A self lib N/A N/A print ... done. N/A N/A self updated_time N/A N/A time time N/A _resolve_path N/A N/A self path N/A N/A N/A Returns a VFS node or an item ID located at the path given.
        If the path does not exist, raises a
         N/A components N/A N/A path split / N/A node N/A self tree N/A component components N/A N/A N/A component N/A N/A N/A N/A isinstance node int N/A N/A N/A ArgumentNotFoundError N/A N/A component N/A node files N/A N/A node N/A N/A node files N/A component N/A N/A N/A component N/A node dirs N/A N/A node N/A N/A node dirs N/A component N/A N/A N/A ArgumentNotFoundError N/A node N/A _path_join N/A N/A self p1 p2 N/A N/A N/A Smashes together two BPD paths. N/A out N/A N/A p1 / p2 N/A N/A N/A N/A N/A out replace // / replace // / N/A cmd_lsinfo N/A N/A self conn path N/A / N/A N/A Sends info on all the items in the path. N/A node N/A N/A self _resolve_path path N/A N/A isinstance node int N/A N/A N/A BPDError ERROR_ARG this is not a directory N/A N/A N/A name itemid N/A iter N/A sorted N/A N/A N/A node files items N/A N/A item N/A N/A N/A self lib get_item itemid N/A N/A N/A N/A self _item_info item N/A N/A name _ N/A iter N/A sorted N/A N/A N/A node dirs iteritems N/A N/A dirpath N/A N/A self _path_join path name N/A N/A N/A dirpath startswith / N/A N/A dirpath N/A dirpath N/A 1 N/A N/A N/A directory: %s dirpath N/A _listall N/A N/A self basepath node info N/A False N/A N/A Helper function for recursive listing. If info, show
        tracks' complete info; otherwise, just show items' paths.
         N/A N/A isinstance node int N/A N/A info N/A N/A item N/A N/A N/A self lib get_item node N/A N/A N/A N/A self _item_info item N/A N/A N/A N/A file:  basepath N/A N/A N/A name itemid N/A sorted N/A N/A N/A node files iteritems N/A N/A newpath N/A N/A self _path_join basepath name N/A v N/A N/A self _listall newpath itemid info N/A N/A N/A v N/A N/A name subdir N/A sorted N/A N/A N/A node dirs iteritems N/A N/A newpath N/A N/A self _path_join basepath name N/A N/A N/A directory:  newpath N/A v N/A N/A self _listall newpath subdir info N/A N/A N/A v N/A cmd_listall N/A N/A self conn path N/A / N/A N/A Send the paths all items in the directory, recursively. N/A N/A N/A self _listall path N/A N/A self _resolve_path path False N/A cmd_listallinfo N/A N/A self conn path N/A / N/A N/A Send info on all the items in the directory, recursively. N/A N/A N/A self _listall path N/A N/A self _resolve_path path True N/A _all_items N/A N/A self node N/A N/A N/A Generator yielding all items under a VFS node.
         N/A N/A isinstance node int N/A N/A N/A N/A N/A N/A self lib get_item node N/A N/A N/A name itemid N/A sorted N/A N/A N/A node files iteritems N/A N/A v N/A N/A self _all_items itemid N/A N/A N/A v N/A N/A name subdir N/A sorted N/A N/A N/A node dirs iteritems N/A N/A v N/A N/A self _all_items subdir N/A N/A N/A v N/A _add N/A N/A self path send_id N/A False N/A N/A Adds a track or directory to the playlist, specified by the
        path. If `send_id`, write each item's id to the client.
         N/A item N/A N/A self _all_items N/A N/A self _resolve_path path N/A N/A N/A N/A N/A self playlist append item N/A send_id N/A N/A N/A N/A Id:  N/A unicode N/A item id N/A N/A self playlist_version 1 N/A cmd_add N/A N/A self conn path N/A N/A N/A Adds a track or directory to the playlist, specified by a
        path.
         N/A N/A N/A self _add path False N/A cmd_addid N/A N/A self conn path N/A N/A N/A Same as `cmd_add` but sends an id back to the client. N/A N/A N/A self _add path True N/A cmd_status N/A N/A self conn N/A N/A N/A line N/A N/A N/A super Server self cmd_status conn N/A N/A N/A line N/A N/A N/A self current_index -1 N/A N/A item N/A N/A self playlist N/A N/A self current_index N/A N/A N/A bitrate:  N/A unicode N/A N/A item bitrate 1000 N/A N/A pos total N/A N/A N/A self player time N/A N/A N/A N/A N/A time:  N/A unicode pos : N/A unicode total N/A cmd_stats N/A N/A self conn N/A N/A N/A Sends some statistics about the library. N/A N/A N/A N/A self lib transaction tx N/A N/A statement SELECT COUNT(DISTINCT artist), COUNT(DISTINCT album), COUNT(id), SUM(length) FROM items N/A N/A artists albums songs totaltime N/A N/A N/A tx query statement N/A 0 N/A N/A N/A N/A artists:  N/A unicode artists N/A albums:  N/A unicode albums N/A songs:  N/A unicode songs N/A uptime:  N/A unicode N/A int N/A N/A N/A time time N/A self startup_time N/A playtime:  0 N/A db_playtime:  N/A unicode N/A int totaltime N/A db_update:  N/A unicode N/A int N/A self updated_time N/A N/A tagtype_map N/A Artist Album Title Track AlbumArtist AlbumArtistSort Genre Date Composer Disc filename artist album title track albumartist albumartist_sort genre year composer disc path cmd_tagtypes N/A N/A self conn N/A N/A N/A Returns a list of the metadata (tag) fields available for
        searching.
         N/A tag N/A self tagtype_map N/A N/A N/A N/A tagtype:  tag N/A _tagtype_lookup N/A N/A self tag N/A N/A N/A Uses `tagtype_map` to look up the beets column name for an
        MPD tagtype (or throw an appropriate exception). Returns both
        the canonical name of the MPD tagtype and the beets column
        name.
         N/A N/A test_tag key N/A N/A N/A self tagtype_map items N/A N/A N/A N/A N/A test_tag lower N/A N/A tag lower N/A N/A N/A test_tag key N/A N/A BPDError ERROR_UNKNOWN no such tagtype N/A _metadata_query N/A N/A self query_type any_query_type kv N/A N/A N/A Helper function returns a query object that will find items
        according to the library query type provided and the key-value
        pairs specified. The any_query_type is used for queries of
        type "any"; if None, then an error is thrown.
         N/A kv N/A N/A queries N/A N/A it N/A iter kv N/A N/A tag value N/A zip it it N/A N/A N/A N/A N/A tag lower any N/A N/A any_query_type N/A N/A N/A N/A queries append N/A any_query_type value ITEM_KEYS_WRITABLE query_type N/A N/A N/A BPDError ERROR_UNKNOWN no such tagtype N/A N/A N/A _ key N/A N/A self _tagtype_lookup tag N/A N/A N/A queries append N/A query_type key value N/A N/A N/A N/A dbcore query AndQuery queries N/A N/A N/A N/A N/A dbcore query TrueQuery N/A cmd_search N/A N/A self conn N/A kv N/A N/A Perform a substring match for items. N/A query N/A N/A self _metadata_query N/A N/A dbcore query SubstringQuery N/A N/A dbcore query AnyFieldQuery kv N/A item N/A N/A N/A self lib items query N/A N/A N/A N/A N/A self _item_info item N/A cmd_find N/A N/A self conn N/A kv N/A N/A Perform an exact match for items. N/A query N/A N/A self _metadata_query N/A N/A dbcore query MatchQuery None kv N/A item N/A N/A N/A self lib items query N/A N/A N/A N/A N/A self _item_info item N/A cmd_list N/A N/A self conn show_tag N/A kv N/A N/A List distinct metadata values for show_tag, possibly
        filtered by matching match_tag to match_term.
         N/A N/A show_tag_canon show_key N/A N/A self _tagtype_lookup show_tag N/A query N/A N/A self _metadata_query N/A N/A dbcore query MatchQuery None kv N/A N/A clause subvals N/A N/A query clause N/A statement N/A N/A N/A N/A N/A SELECT DISTINCT  show_key  FROM items WHERE  clause  ORDER BY  show_key N/A N/A N/A N/A self lib transaction tx N/A N/A rows N/A N/A tx query statement subvals N/A row rows N/A N/A N/A N/A N/A show_tag_canon :  N/A unicode N/A row N/A 0 N/A cmd_count N/A N/A self conn tag value N/A N/A N/A Returns the number and total time of songs matching the
        tag/value query.
         N/A N/A _ key N/A N/A self _tagtype_lookup tag N/A songs 0 N/A playtime 0.0 N/A item N/A N/A N/A self lib items N/A N/A N/A dbcore query MatchQuery key value N/A N/A songs 1 N/A playtime N/A item length N/A N/A N/A songs:  N/A unicode songs N/A N/A N/A playtime:  N/A unicode N/A int playtime N/A cmd_outputs N/A N/A self conn N/A N/A N/A List the available outputs. N/A N/A N/A outputid: 0 outputname: gstreamer outputenabled: 1 N/A cmd_enableoutput N/A N/A self conn output_id N/A N/A N/A output_id N/A cast_arg int output_id N/A N/A output_id 0 N/A N/A N/A ArgumentIndexError N/A cmd_disableoutput N/A N/A self conn output_id N/A N/A N/A output_id N/A cast_arg int output_id N/A N/A output_id 0 N/A N/A N/A BPDError ERROR_ARG cannot disable this output N/A N/A N/A ArgumentIndexError N/A cmd_play N/A N/A self conn index N/A -1 N/A N/A new_index N/A N/A index -1 N/A index N/A self current_index N/A was_paused N/A self paused N/A N/A N/A N/A super Server self cmd_play conn index N/A N/A N/A self current_index -1 N/A N/A N/A was_paused N/A new_index N/A N/A N/A N/A N/A self player play N/A N/A N/A N/A N/A self player play_file N/A N/A N/A self playlist N/A N/A self current_index path N/A cmd_pause N/A N/A self conn state N/A None N/A N/A N/A N/A N/A super Server self cmd_pause conn state N/A N/A self paused N/A N/A N/A N/A N/A self player pause N/A N/A N/A N/A self player playing N/A N/A N/A N/A N/A self player play N/A cmd_stop N/A N/A self conn N/A N/A N/A N/A N/A N/A super Server self cmd_stop conn N/A N/A N/A N/A self player stop N/A cmd_seek N/A N/A self conn index pos N/A N/A N/A Seeks to the specified position in the specified song. N/A index N/A cast_arg int index N/A pos N/A cast_arg int pos N/A N/A N/A N/A super Server self cmd_seek conn index pos N/A N/A N/A N/A self player seek pos N/A cmd_setvol N/A N/A self conn vol N/A N/A N/A vol N/A cast_arg int vol N/A N/A N/A N/A super Server self cmd_setvol conn vol N/A N/A N/A self player volume N/A N/A float vol 100 N/A N/A BPDPlugin N/A BeetsPlugin N/A N/A Provides the "beet bpd" command for running a music player
    server.
     __init__ N/A N/A self N/A N/A N/A N/A N/A N/A super BPDPlugin self __init__ N/A N/A N/A N/A self config add N/A host port password volume 6600 VOLUME_MAX N/A N/A N/A N/A self config N/A password redact True N/A start_bpd N/A N/A self lib host port password volume debug N/A N/A N/A Starts a BPD server. N/A debug N/A N/A N/A N/A N/A self _log setLevel N/A logging DEBUG N/A N/A N/A N/A N/A self _log setLevel N/A logging WARNING N/A N/A N/A server N/A Server lib host port password N/A N/A N/A server cmd_setvol None volume N/A N/A N/A server run N/A N/A N/A NoGstreamerError N/A N/A N/A N/A global_log error Gstreamer Python bindings not found. N/A N/A N/A global_log error Install "python-gst0.10", "py27-gst-python", or similar package to use BPD. N/A commands N/A N/A self N/A N/A N/A cmd N/A N/A N/A beets ui Subcommand bpd help run an MPD-compatible music player server N/A N/A N/A N/A cmd parser add_option -d --debug action store_true help dump all MPD traffic to stdout func N/A N/A lib opts args N/A N/A N/A host N/A args N/A N/A args pop 0 N/A N/A N/A N/A self config N/A host get unicode N/A port N/A args N/A N/A args pop 0 N/A N/A N/A N/A self config N/A port get int N/A args N/A N/A N/A N/A N/A beets ui UserError too many arguments N/A password N/A N/A N/A N/A self config N/A password get unicode N/A volume N/A N/A N/A N/A self config N/A volume get int N/A debug N/A N/A opts debug False N/A N/A N/A self start_bpd lib host N/A int port password volume debug N/A N/A N/A cmd func func N/A N/A cmd N/A N/A