review: Minor fixes and updates
This commit is contained in:
parent
08bdf5c14b
commit
71e2b21b52
@ -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`)
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user