diff --git a/docs/changelog.rst b/docs/changelog.rst index f403b269..e1082b09 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -85,7 +85,7 @@ v0.20.0 (UNRELEASED) :issue:`934`, PR: :issue:`968`) - Add support for blacklisting MPD commands. This is used to prevent clients - from using `listall` and `listallinfo` which recursively lookup the entire + from using ``listall`` and ``listallinfo`` which recursively lookup the entire "database". If you insist on using a client that needs these commands change :confval:`mpd/command_blacklist`. diff --git a/docs/ext/mpd.rst b/docs/ext/mpd.rst index 4f85e88f..b02226a2 100644 --- a/docs/ext/mpd.rst +++ b/docs/ext/mpd.rst @@ -103,6 +103,6 @@ See :ref:`config` for general help on configuring Mopidy. .. confval:: mpd/command_blacklist List of MPD commands which are disabled by the server. By default this - setting blacklists `listall` and `listallinfo`. These commands don't fit - well with many of Mopidy's backends and are better left disabled unless + setting blacklists ``listall`` and ``listallinfo``. These commands don't + fit well with many of Mopidy's backends and are better left disabled unless you know what you are doing. diff --git a/mopidy/mpd/exceptions.py b/mopidy/mpd/exceptions.py index f62b61da..62e16ec3 100644 --- a/mopidy/mpd/exceptions.py +++ b/mopidy/mpd/exceptions.py @@ -90,6 +90,7 @@ class MpdNotImplemented(MpdAckError): class MpdDisabled(MpdAckError): + # NOTE: this is a custom error for mopidy that does not exists in MPD. error_code = 0 def __init__(self, *args, **kwargs): diff --git a/mopidy/utils/deprecation.py b/mopidy/utils/deprecation.py index 06b0fc7c..1b744702 100644 --- a/mopidy/utils/deprecation.py +++ b/mopidy/utils/deprecation.py @@ -5,7 +5,6 @@ import warnings def _is_pykka_proxy_creation(): - return False stack = inspect.stack() try: calling_frame = stack[3]