We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e15080 commit 15a912bCopy full SHA for 15a912b
1 file changed
beetsplug/lastgenre/__init__.py
@@ -198,8 +198,8 @@ def fetch_genre(
198
def _filter_valid(self, genres: Iterable[str]) -> list[str]:
199
"""Filter genres based on whitelist.
200
201
- Depending on the whitelist property, valid means a genre is in the
202
- whitelist or any genre is allowed.
+ Returns all genres if no whitelist is configured, otherwise returns
+ only genres that are in the whitelist.
203
"""
204
if not self.whitelist:
205
return list(genres)
0 commit comments