From b04c6fbd7287fb7155a8a24852aa274b99dd1ac6 Mon Sep 17 00:00:00 2001 From: Naglis Jonaitis Date: Fri, 10 Jul 2020 19:01:53 +0300 Subject: [PATCH] doc: fix a few typos and missing words --- doc/plugins.rst | 10 +++++----- doc/protocol.rst | 14 +++++++------- doc/user.rst | 6 +++--- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/doc/plugins.rst b/doc/plugins.rst index 9c1fd3d31..35d2c4b78 100644 --- a/doc/plugins.rst +++ b/doc/plugins.rst @@ -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 @@ -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 ---- @@ -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. @@ -427,7 +427,7 @@ hybrid_dsd `Hybrid-DSD `_ -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 @@ -489,7 +489,7 @@ Decodes Opus files using `libopus `_. 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 ------- diff --git a/doc/protocol.rst b/doc/protocol.rst index 30406e598..200d5dcf6 100644 --- a/doc/protocol.rst +++ b/doc/protocol.rst @@ -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 @@ -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 @@ -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 will return immediately. @@ -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. @@ -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}` diff --git a/doc/user.rst b/doc/user.rst index 38f33cc90..ba5f06685 100644 --- a/doc/user.rst +++ b/doc/user.rst @@ -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`. @@ -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,...**" @@ -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