Module ImportFrom alias alias Import alias Import alias Import alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad ClassDef bases NameLoad body Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad Str Assign NameStore Call NameLoad BinOpMult Call AttributeLoad NameLoad attr Num Assign NameStore ListLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr ListComp AttributeLoad NameLoad attr comprehension NameStore AttributeLoad NameLoad attr If CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Str attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list
N/A __future__ absolute_import unicode_literals N/A copy N/A logging N/A time mopidy models N/A logger N/A N/A logging getLogger __name__ HistoryController N/A object N/A N/A pykka_traversable True __init__ N/A N/A self N/A N/A N/A N/A self _history N/A N/A _add_track N/A N/A self track N/A N/A N/A Add track to the playback history.

        Internal method for :class:`mopidy.core.PlaybackController`.

        :param track: track to add
        :type track: :class:`mopidy.models.Track`
         N/A N/A N/A isinstance track N/A models Track N/A N/A N/A TypeError Only Track objects can be added to the history N/A timestamp N/A int N/A N/A N/A time time 1000 N/A name_parts N/A N/A N/A track artists N/A N/A N/A N/A name_parts append N/A N/A ,  join N/A N/A artist name N/A artist N/A track artists N/A N/A N/A track name None N/A N/A N/A N/A name_parts append N/A track name N/A name N/A N/A  -  join name_parts N/A ref N/A N/A N/A models Ref track uri N/A track uri name name N/A N/A N/A N/A self _history insert 0 N/A timestamp ref N/A get_length N/A N/A self N/A N/A N/A Get the number of tracks in the history.

        :returns: the history length
        :rtype: int
         N/A N/A len N/A self _history N/A get_history N/A N/A self N/A N/A N/A Get the track history.

        The timestamps are milliseconds since epoch.

        :returns: the track history
        :rtype: list of (timestamp, :class:`mopidy.models.Ref`) tuples
         N/A N/A N/A copy copy N/A self _history N/A N/A