Skip to content

Commit

Permalink
doc: fix a few typos and missing words
Browse files Browse the repository at this point in the history
  • Loading branch information
naglis committed Jul 10, 2020
1 parent b74a914 commit b04c6fb
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
10 changes: 5 additions & 5 deletions doc/plugins.rst
Expand Up @@ -27,7 +27,7 @@ The default plugin. Stores a copy of the database in memory. A file is used for
proxy
-----

Provides access to the database of another :program:`MPD` instance using libmpdclient. This is useful when you run mount the music directory via NFS/SMB, and the file server already runs a :program:`MPD` instance. Only the file server needs to update the database.
Provides access to the database of another :program:`MPD` instance using libmpdclient. This is useful when you mount the music directory via NFS/SMB, and the file server already runs a :program:`MPD` instance. Only the file server needs to update the database.

.. list-table::
:widths: 20 80
Expand Down Expand Up @@ -116,7 +116,7 @@ Provides a list of SMB/CIFS servers on the local network.
udisks
------

Queries the udisks2 daemon via D-Bus and obtain a list of file systems (e.g. USB sticks or other removable media).
Queries the udisks2 daemon via D-Bus and obtains a list of file systems (e.g. USB sticks or other removable media).

upnp
----
Expand Down Expand Up @@ -152,7 +152,7 @@ Allows :program:`MPD` on Linux to play audio directly from a soundcard using the
* - Setting
- Description
* - **default_device NAME**
- The alsa device id to use to none is specified in the uri.
- The alsa device id to use when none is specified in the URI.
* - **default_format F**
- The sampling rate, size and channels to use. Wildcards are not allowed.

Expand Down Expand Up @@ -427,7 +427,7 @@ hybrid_dsd

`Hybrid-DSD
<http://dsdmaster.blogspot.de/p/bitperfect-introduces-hybrid-dsd-file.html>`_
is a MP4 container file (:file:`*.m4a`) which contains both ALAC and
is an MP4 container file (:file:`*.m4a`) which contains both ALAC and
DSD data. It is disabled by default, and works only if you explicitly
enable it. Without this plugin, the ALAC parts gets handled by the
`FFmpeg decoder plugin
Expand Down Expand Up @@ -489,7 +489,7 @@ Decodes Opus files using `libopus <http://www.opus-codec.org/>`_.
pcm
---

Read raw PCM samples. It understands the "audio/L16" MIME type with parameters "rate" and "channels" according to RFC 2586. It also understands the MPD-specific MIME type "audio/x-mpd-float".
Reads raw PCM samples. It understands the "audio/L16" MIME type with parameters "rate" and "channels" according to RFC 2586. It also understands the MPD-specific MIME type "audio/x-mpd-float".

sidplay
-------
Expand Down
14 changes: 7 additions & 7 deletions doc/protocol.rst
Expand Up @@ -172,7 +172,7 @@ syntax::

find EXPRESSION

``EXPRESSION`` is a string enclosed in parantheses which can be one
``EXPRESSION`` is a string enclosed in parentheses which can be one
of:

- ``(TAG == 'VALUE')``: match a tag value; if there are multiple
Expand Down Expand Up @@ -218,12 +218,12 @@ of:
or more attributes may be ``*``).

- ``(!EXPRESSION)``: negate an expression. Note that each expression
must be enclosed in parantheses, e.g. :code:`(!(artist == 'VALUE'))`
must be enclosed in parentheses, e.g. :code:`(!(artist == 'VALUE'))`
(which is equivalent to :code:`(artist != 'VALUE')`)

- ``(EXPRESSION1 AND EXPRESSION2 ...)``: combine two or
more expressions with logical "and". Note that each expression must
be enclosed in parantheses, e.g. :code:`((artist == 'FOO') AND
be enclosed in parentheses, e.g. :code:`((artist == 'FOO') AND
(album == 'BAR'))`

The :command:`find` commands are case sensitive, while
Expand Down Expand Up @@ -419,7 +419,7 @@ Querying :program:`MPD`'s status
- ``mount``: the mount list has changed

Change events accumulate, even while the connection is not in
"idle" mode; no events gets lost while the client is doing
"idle" mode; no events get lost while the client is doing
something else with the connection. If an event had already
occurred since the last call, the new :ref:`idle <command_idle>`
command will return immediately.
Expand Down Expand Up @@ -536,7 +536,7 @@ Playback options
``auto``
.
Changing the mode during playback may take several
seconds, because the new settings does not affect the
seconds, because the new settings do not affect the
buffered data.
This command triggers the
``options`` idle event.
Expand Down Expand Up @@ -868,8 +868,8 @@ The music database
count group artist
count title Echoes group artist

A group with an empty value contains counts of matching song which
don't this group tag. It exists only if at least one such song is
A group with an empty value contains counts of matching songs which
don't have this group tag. It exists only if at least one such song is
found.

:command:`getfingerprint {URI}`
Expand Down
6 changes: 3 additions & 3 deletions doc/user.rst
Expand Up @@ -329,7 +329,7 @@ configuration file:
This allocates a cache of 1 GB. If the cache grows larger than that,
older files will be evicted.

You flush the cache at any time by sending ``SIGHUP`` to the
You can flush the cache at any time by sending ``SIGHUP`` to the
:program:`MPD` process, see :ref:`signals`.


Expand Down Expand Up @@ -416,7 +416,7 @@ The following table lists the audio_output options valid for all plugins:
:ref:`oss_plugin` and PulseAudio :ref:`pulse_plugin`), the
software mixer, the ":samp:`null`" mixer (allows setting the
volume, but with no effect; this can be used as a trick to
implement an external mixer :ref:`external_mixer`) or no mixer
implement an external mixer, see :ref:`external_mixer`) or no mixer
(:samp:`none`). By default, the hardware mixer is used for
devices which support it, and none for the others.
* - **filters "name,...**"
Expand Down Expand Up @@ -766,7 +766,7 @@ Real-Time Scheduling

On Linux, :program:`MPD` attempts to configure real-time scheduling for some threads that benefit from it.

This is only possible you allow :program:`MPD` to do it. This privilege is controlled by :envvar:`RLIMIT_RTPRIO` :envvar:`RLIMIT_RTTIME`. You can configure this privilege with :command:`ulimit` before launching :program:`MPD`:
This is only possible if you allow :program:`MPD` to do it. This privilege is controlled by :envvar:`RLIMIT_RTPRIO` :envvar:`RLIMIT_RTTIME`. You can configure this privilege with :command:`ulimit` before launching :program:`MPD`:

.. code-block:: none
Expand Down

0 comments on commit b04c6fb

Please sign in to comment.