From 3070ac382ef2e11efc8d54a273d9c80c2142cfbb Mon Sep 17 00:00:00 2001 From: Adrian Sampson Date: Thu, 17 Oct 2013 12:07:31 -0700 Subject: [PATCH] lastgenre count/min_weight (#416): changelog/thanks Also closes #407. --- docs/changelog.rst | 8 ++++++++ docs/plugins/lastgenre.rst | 12 ++++++------ 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index 6f69dfceb..148eab4ad 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -4,6 +4,14 @@ Changelog 1.3.2 (in development) ---------------------- +New features: + +* :doc:`/plugins/lastgenre`: The new ``multiple`` option has been replaced + with the ``count`` option, which lets you limit the number of genres added + to your music. (No more thousand-character genre fields!) Also, the + ``min_weight`` field filters out nonsense tags to make your genres more + relevant. Thanks to Peter Schnebel and rashley60. + Little fixes: * :doc:`/plugins/missing`: Avoid a possible error when an album's diff --git a/docs/plugins/lastgenre.rst b/docs/plugins/lastgenre.rst index 1449bc385..4b50f1d3e 100644 --- a/docs/plugins/lastgenre.rst +++ b/docs/plugins/lastgenre.rst @@ -95,17 +95,17 @@ of the ``count`` config option:: Comma-separated lists of up to *count* genres will then be used instead of single genres. -`Last.fm`_ provides a popularity factor aka *weight* for each *tag* ranging -from 100 for the most popular *tag* down to 0 for the least popular *tags*. -The plugin uses this *weight* to discard unpopular *tags*. The default is to -ignore *tags*, with a *weight* less then *10*. You can change this, by setting +`Last.fm`_ provides a popularity factor, a.k.a. *weight*, for each tag ranging +from 100 for the most popular tag down to 0 for the least popular. +The plugin uses this weight to discard unpopular tags. The default is to +ignore tags with a weight less then 10. You can change this by setting the ``min_weight`` config option:: lastgenre: min_weight: 15 -However, if no tag with a *weight* greater then ``min_weight`` is found, the -plugin uses the next best popular *tag*. +However, if no tag with a weight greater then ``min_weight`` is found, the +plugin uses the next-most-popular tag. Running Manually