core: Fix docstring error

Fixes #1269
This commit is contained in:
Stein Magnus Jodal 2015-09-01 15:32:21 +02:00
parent f874a31910
commit b480de77e1
2 changed files with 6 additions and 3 deletions

View File

@ -23,6 +23,9 @@ Bug fix release.
:file:`/var/lib/mopidy/.local` and :file:`/var/lib/mopidy/.cache`. (Fixes:
:issue:`1259`, PR: :issue:`1266`)
- Core: Fix error in :meth:`~mopidy.core.TracklistController.get_eot_tlid`
docstring. (Fixes: :issue:`1269`)
- Local: Deprecate :confval:`local/data_dir` and respect
:confval:`core/data_dir` instead. This does not change the defaults for
desktop users, only system services installed from packages that properly set
@ -126,7 +129,7 @@ Core API
- Add ``tlid`` alternatives to methods that take ``tl_track`` and also add
``get_{eot,next,previous}_tlid`` methods as light weight alternatives to the
``tl_track`` versions of the calls. (Fixes: :issue:`1131` PR: :issue:`1136`,
``tl_track`` versions of the calls. (Fixes: :issue:`1131`, PR: :issue:`1136`,
:issue:`1140`)
- Add :meth:`mopidy.core.PlaybackController.get_current_tlid`.

View File

@ -236,7 +236,7 @@ class TracklistController(object):
def get_eot_tlid(self):
"""
The TLID of the track that will be played after the given track.
The TLID of the track that will be played after the current track.
Not necessarily the same TLID as returned by :meth:`get_next_tlid`.
@ -332,7 +332,7 @@ class TracklistController(object):
def get_previous_tlid(self):
"""
Returns the TLID of the track that will be played if calling
Returns the TLID of the track that will be played if calling
:meth:`mopidy.core.PlaybackController.previous()`.
For normal playback this is the previous track in the tracklist. If