From 300e23bf11cb96fc710ac8435e2452d67ee01b9b Mon Sep 17 00:00:00 2001 From: Stein Magnus Jodal Date: Sun, 7 Feb 2010 20:14:03 +0100 Subject: [PATCH] Change play(id, position) to play(track) --- docs/api/backends.rst | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/docs/api/backends.rst b/docs/api/backends.rst index 6881d8d7..e20578ea 100644 --- a/docs/api/backends.rst +++ b/docs/api/backends.rst @@ -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