Tweaking docs formatting

This commit is contained in:
Stein Magnus Jodal 2010-06-07 00:01:01 +02:00
parent abd0d469c4
commit e31d41e7b3

View File

@ -800,27 +800,27 @@ class MpdFrontend(object):
Given a playlist of three tracks numbered 1, 2, 3, and a currently Given a playlist of three tracks numbered 1, 2, 3, and a currently
playing track ``c``. ``next_track`` is defined at the track that 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. 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 T 2 3 EOPL
T T T . Rand Rand Rand 1 T T T . Rand Rand Rand [1]
T T . T Rand Rand Rand 4 T T . T Rand Rand Rand [4]
T T . . Rand Rand Rand 4 T T . . Rand Rand Rand [4]
T . T T 2 3 EOPL T . T T 2 3 EOPL
T . T . 2 3 1 T . T . 2 3 1
T . . T 3 3 EOPL T . . T 3 3 EOPL
T . . . 2 3 1 T . . . 2 3 1
. T T T Rand Rand Rand 3 . T T T Rand Rand Rand [3]
. T T . Rand Rand Rand 3 . T T . Rand Rand Rand [3]
. T . T Rand Rand Rand 2 . T . T Rand Rand Rand [2]
. T . . Rand Rand Rand 2 . T . . Rand Rand Rand [2]
. . T T 2 3 EOPL . . T T 2 3 EOPL
. . T . 2 3 EOPL . . 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 - When end of playlist (EOPL) is reached, the current track is
unset. unset.
- Note 1: When *random* and *single* is combined, :meth:`next()` - [1] When *random* and *single* is combined, ``next`` selects
selects a track randomly at each invocation, and not just the a track randomly at each invocation, and not just the next track
next track in an internal prerandomized playlist. in an internal prerandomized playlist.
- Note 2: When *random* is active, :meth:`next()` will skip through - [2] When *random* is active, ``next`` will skip through
all tracks in the playlist in random order, and finally EOPL is all tracks in the playlist in random order, and finally EOPL is
reached. 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*. 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 reached, but the playlist is played again, in the same random
order as the first time. order as the first time.