local: Minor docstring review corrections
This commit is contained in:
parent
663cdf929d
commit
38158b4430
@ -70,8 +70,8 @@ class Library(object):
|
||||
#: Name of the local library implementation, must be overriden.
|
||||
name = None
|
||||
|
||||
#: Feature marker to indicate that you want add calls to be called with
|
||||
#: optional arguments tags and duration.
|
||||
#: Feature marker to indicate that you want :meth:`add()` calls to be
|
||||
#: called with optional arguments tags and duration.
|
||||
add_supports_tags_and_duration = False
|
||||
|
||||
def __init__(self, config):
|
||||
@ -142,7 +142,7 @@ class Library(object):
|
||||
def add(self, track, tags=None, duration=None):
|
||||
"""
|
||||
Add the given track to library. Optional args will only be added if
|
||||
`add_supports_tags_and_duration` has been set.
|
||||
:attr:`add_supports_tags_and_duration` has been set.
|
||||
|
||||
:param track: Track to add to the library
|
||||
:type track: :class:`~mopidy.models.Track`
|
||||
|
||||
Loading…
Reference in New Issue
Block a user