Merge pull request #1559 from svoos/develop

Bugfix: Minimum popularity factor had been ignored
This commit is contained in:
Adrian Sampson 2015-07-30 04:30:53 -07:00
commit fbe76a703d

View file

@ -411,7 +411,7 @@ class LastGenrePlugin(plugins.BeetsPlugin):
# Filter by weight (optionally).
if min_weight:
res = [el for el in res if (el.weight or 0) >= min_weight]
res = [el for el in res if (int(el.weight) or 0) >= min_weight]
# Get strings from tags.
res = [el.item.get_name().lower() for el in res]