Fix typos
This commit is contained in:
parent
6afc85ec72
commit
7897fe7bac
@ -42,13 +42,13 @@ class LibraryController(object):
|
||||
Returns a list of :class:`mopidy.models.Ref` objects for the
|
||||
directories and tracks at the given ``path``.
|
||||
|
||||
The :class:`~mopidy.models.Ref` objects representing tracks keeps the
|
||||
The :class:`~mopidy.models.Ref` objects representing tracks keep the
|
||||
track's original URI. A matching pair of objects can look like this::
|
||||
|
||||
Track(uri='dummy:/foo.mp3', name='foo', artists=..., album=...)
|
||||
Ref.track(uri='dummy:/foo.mp3', name='foo')
|
||||
|
||||
The :class:`~mopidy.models.Ref` objects representing directories has
|
||||
The :class:`~mopidy.models.Ref` objects representing directories have
|
||||
plain paths, not including any URI schema. For example, the dummy
|
||||
library's ``/bar`` directory is returned like this::
|
||||
|
||||
|
||||
@ -160,19 +160,19 @@ class Ref(ImmutableObject):
|
||||
#: "directory". Read-only.
|
||||
type = None
|
||||
|
||||
#: Constant used for comparision with the :attr:`type` field.
|
||||
#: Constant used for comparison with the :attr:`type` field.
|
||||
ALBUM = 'album'
|
||||
|
||||
#: Constant used for comparision with the :attr:`type` field.
|
||||
#: Constant used for comparison with the :attr:`type` field.
|
||||
ARTIST = 'artist'
|
||||
|
||||
#: Constant used for comparision with the :attr:`type` field.
|
||||
#: Constant used for comparison with the :attr:`type` field.
|
||||
DIRECTORY = 'directory'
|
||||
|
||||
#: Constant used for comparision with the :attr:`type` field.
|
||||
#: Constant used for comparison with the :attr:`type` field.
|
||||
PLAYLIST = 'playlist'
|
||||
|
||||
#: Constant used for comparision with the :attr:`type` field.
|
||||
#: Constant used for comparison with the :attr:`type` field.
|
||||
TRACK = 'track'
|
||||
|
||||
@classmethod
|
||||
|
||||
Loading…
Reference in New Issue
Block a user