Change play(id, position) to play(track)
This commit is contained in:
parent
3302c185a0
commit
300e23bf11
@ -125,15 +125,12 @@
|
||||
|
||||
Constant representing the paused state.
|
||||
|
||||
.. method:: play(id=None, position=None)
|
||||
.. method:: play(track=None)
|
||||
|
||||
Play either the track with the given ID, the given position, or the
|
||||
currently active track.
|
||||
Play the given track or the currently active track.
|
||||
|
||||
:param id: ID of track to play
|
||||
:type id: int
|
||||
:param position: position in current playlist of track to play
|
||||
:type position: int
|
||||
:param track: track to play
|
||||
:type track: :class:`mopidy.models.Track` or :class:`None`
|
||||
|
||||
.. attribute:: PLAYING
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user