From 969beea69b475e86fc5e0503a6394e51ecf9758e Mon Sep 17 00:00:00 2001 From: Stein Magnus Jodal Date: Sun, 7 Feb 2010 22:36:47 +0100 Subject: [PATCH] Document arguments to Playlist.mpd_format() --- mopidy/models.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mopidy/models.py b/mopidy/models.py index 37b0853a..c1bf83a7 100644 --- a/mopidy/models.py +++ b/mopidy/models.py @@ -209,6 +209,12 @@ class Playlist(object): """ Format playlist for output to MPD client. + Optionally limit output to the slice ``[start:end]`` of the playlist. + + :param start: position of first track to include in output + :type start: int + :param end: position after last track to include in output + :type end: int or :class:`None` for end of list :rtype: list of lists of two-tuples """ if end is None: