From 6e2b249c5484a5ffe9b250cec4b80cccce32301a Mon Sep 17 00:00:00 2001 From: "nath@laptop" Date: Wed, 6 Jan 2016 11:17:49 +0100 Subject: [PATCH] fix-typos: Write changelog Also stealth-reformulate a recent comment of mine which contained another (!) typo --- beetsplug/play.py | 6 +++--- docs/changelog.rst | 6 ++++++ 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/beetsplug/play.py b/beetsplug/play.py index 5b923f075..b52b7e635 100644 --- a/beetsplug/play.py +++ b/beetsplug/play.py @@ -72,9 +72,9 @@ class PlayPlugin(BeetsPlugin): raw = config['play']['raw'].get(bool) warning_threshold = config['play']['warning_threshold'].get(int) # We use -2 as a default value for warning_threshold to detect if it is - # set or not. We can't use a falsey value because it has an actual in - # the configuration of this pluginmeaning, and we do not use -1 because - # some people might use it as a value to obtain no warning, which + # set or not. We can't use a falsey value because it would have an + # actual meaning in the configuration of this plugin, and we do not use + # -1 because some people might use it as a value to obtain no warning, # which wouldn't be that bad of a practice. if warning_threshold == -2: # if warning_threshold has not been set by user, look for diff --git a/docs/changelog.rst b/docs/changelog.rst index 5b35a66b6..fa792bbc2 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -33,6 +33,12 @@ Fixes: user.getTopTracks. This fixes :bug:`1574`, which was caused by the former API method being removed. Also moved from custom HTTP requests to using pylast library. +* Fix typos. For the :doc:`/plugins/play`, the recommended configuration option + to set the warning threshold is now ``warning_threshold`` (instead of + ``warning_treshold``) but backwards compatibility is preserved until the next + major version so ``warning_treshold`` will still work. Thanks to + :user:`JesseWeinstein`. :bug:`1802` :bug:`1803` + 1.3.16 (December 28, 2015)