From e31d41e7b3ea253d11b5cbbf40ceedba31c39189 Mon Sep 17 00:00:00 2001 From: Stein Magnus Jodal Date: Mon, 7 Jun 2010 00:01:01 +0200 Subject: [PATCH] Tweaking docs formatting --- mopidy/mpd/frontend.py | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/mopidy/mpd/frontend.py b/mopidy/mpd/frontend.py index 06867762..9aad5819 100644 --- a/mopidy/mpd/frontend.py +++ b/mopidy/mpd/frontend.py @@ -800,27 +800,27 @@ class MpdFrontend(object): Given a playlist of three tracks numbered 1, 2, 3, and a currently playing track ``c``. ``next_track`` is defined at the track that - will be played upon calls to :meth:`next()`. + will be played upon calls to ``next``. Tests performed on MPD 0.15.4-1ubuntu3. ====== ====== ====== ======= ===== ===== ===== ===== - Inputs next_track Notes + Inputs next_track ------------------------------- ------------------- ----- - repeat random single consume c = 1 c = 2 c = 3 + repeat random single consume c = 1 c = 2 c = 3 Notes ====== ====== ====== ======= ===== ===== ===== ===== T T T T 2 3 EOPL - T T T . Rand Rand Rand 1 - T T . T Rand Rand Rand 4 - T T . . Rand Rand Rand 4 + T T T . Rand Rand Rand [1] + T T . T Rand Rand Rand [4] + T T . . Rand Rand Rand [4] T . T T 2 3 EOPL T . T . 2 3 1 T . . T 3 3 EOPL T . . . 2 3 1 - . T T T Rand Rand Rand 3 - . T T . Rand Rand Rand 3 - . T . T Rand Rand Rand 2 - . T . . Rand Rand Rand 2 + . T T T Rand Rand Rand [3] + . T T . Rand Rand Rand [3] + . T . T Rand Rand Rand [2] + . T . . Rand Rand Rand [2] . . T T 2 3 EOPL . . T . 2 3 EOPL . . . T 2 3 EOPL @@ -829,15 +829,15 @@ class MpdFrontend(object): - When end of playlist (EOPL) is reached, the current track is unset. - - Note 1: When *random* and *single* is combined, :meth:`next()` - selects a track randomly at each invocation, and not just the - next track in an internal prerandomized playlist. - - Note 2: When *random* is active, :meth:`next()` will skip through + - [1] When *random* and *single* is combined, ``next`` selects + a track randomly at each invocation, and not just the next track + in an internal prerandomized playlist. + - [2] When *random* is active, ``next`` will skip through all tracks in the playlist in random order, and finally EOPL is reached. - - Note 3: *single* has no effect in combination with *random* + - [3] *single* has no effect in combination with *random* alone, or *random* and *consume*. - - Note 4: When *random* and *repeat* is active, EOPL is never + - [4] When *random* and *repeat* is active, EOPL is never reached, but the playlist is played again, in the same random order as the first time.