diff --git a/docs/commands/mopidy.rst b/docs/commands/mopidy.rst index c03a40cf..f3e3d46b 100644 --- a/docs/commands/mopidy.rst +++ b/docs/commands/mopidy.rst @@ -84,8 +84,8 @@ Extension sub-commands ====================== Additionally, extensions can provide extra sub-commands. See ``mopidy --help`` -for a list of what is availbale on your system and ``mopidy COMMAND --help`` -for command specific help. Sub-commands for disabled extensions will be listed, +for a list of what is available on your system and ``mopidy COMMAND --help`` +for command-specific help. Sub-commands for disabled extensions will be listed, but can not be run. .. cmdoption:: local diff --git a/docs/extensiondev.rst b/docs/extensiondev.rst index 9c8464f6..05fe27c9 100644 --- a/docs/extensiondev.rst +++ b/docs/extensiondev.rst @@ -353,7 +353,8 @@ Example backend If you want to extend Mopidy to support new music and playlist sources, you want to implement a backend. A backend does not have access to Mopidy's core -API at all and have a bunch of interfaces to implement. +API at all, but it does have a bunch of interfaces it can implement to extend +Mopidy. The skeleton of a backend would look like this. See :ref:`backend-api` for more details. diff --git a/mopidy/backends/base.py b/mopidy/backends/base.py index e2ef9758..23832cdb 100644 --- a/mopidy/backends/base.py +++ b/mopidy/backends/base.py @@ -306,9 +306,9 @@ class BaseSubCommandProvider(object): *MUST be implemented by subclass.* - :param args: the argments object from argpase. - :param config: read-only version of the mopidy config. - :param extensions: list of enabled extensions. - :returns: integer exit value for the process. + :param args: the argments object from argparse + :param config: read-only version of the mopidy config + :param extensions: list of enabled extensions + :returns: integer exit value for the process """ raise NotImplementedError