mirror of
https://github.com/beetbox/beets.git
synced 2025-12-14 12:35:19 +01:00
Update _cached_lookup() docstring.
This commit is contained in:
parent
433d68724a
commit
148d9048d5
1 changed files with 3 additions and 1 deletions
|
|
@ -242,7 +242,9 @@ class LastGenrePlugin(plugins.BeetsPlugin):
|
|||
def _cached_lookup(self, entity, method, *args):
|
||||
"""Get a genre based on the named entity using the callable `method`
|
||||
whose arguments are given in the sequence `args`. The genre lookup
|
||||
is cached based on the entity name and the arguments.
|
||||
is cached based on the entity name and the arguments. Before the lookup,
|
||||
each argument is has some Unicode characters replaced with rough ASCII
|
||||
equivalents in order to return better results from the Last.fm database.
|
||||
"""
|
||||
# Shortcut if we're missing metadata.
|
||||
if any(not s for s in args):
|
||||
|
|
|
|||
Loading…
Reference in a new issue