review: Minor fixes and updates

This commit is contained in:
Thomas Adamcik 2015-03-18 23:09:09 +01:00
parent 08bdf5c14b
commit 71e2b21b52
2 changed files with 6 additions and 4 deletions

View File

@ -32,7 +32,8 @@ v0.20.0 (UNRELEASED)
mute. (Fixes: :issue:`962`)
- Add ``uris`` argument to :method:`mopidy.core.LibraryController.lookup`
which allows for simpler lookup of multiple URIs. (Fixes: :issue:`1008`)
which allows for simpler lookup of multiple URIs. (Fixes: :issue:`1008`,
PR: :issue:`1047`)
- **Deprecated:** The old methods on :class:`mopidy.core.PlaybackController` for
volume and mute management have been deprecated. (Fixes: :issue:`962`)

View File

@ -173,12 +173,13 @@ class LibraryController(object):
:type uri: string or :class:`None`
:param uris: track URIs
:type uris: list of string or :class:`None`
:rtype: {uri: list of :class:`mopidy.models.Track`}
:rtype: list of :class:`mopidy.models.Track` if uri was set or
a {uri: list of :class:`mopidy.models.Track`} if uris was set.
.. versionadded:: 0.20
.. versionadded:: 1.0
The ``uris`` argument.
.. deprecated:: 0.20
.. deprecated:: 1.0
The ``uri`` argument. Use ``uris`` instead.
"""
none_set = uri is None and uris is None