Closed ProjectMoon closed 4 years ago
Thanks for reporting, I added it to the cps-update branch.
Here is another dependency for you to add: python-Levenshtein
If this isn't installed, fuzzywuzzy emits a warning about falling back to a very slow pure Python implementation, which takes around 8-10 seconds per request to find a match. This is, of course, far beyond the magic 5 second search timeout of mycroft-core. Installing python-Levenshtein
makes the search return a match almost instantly.
Without this dependency, the skill basically doesn't work because it takes too long to find matches.
Of course, this introduces some other issues, e.g. "Play Backdrifts by Radiohead" returns some interesting results (certainly not the actual song Backdrifts).
Ow that's a long time to fuzzymatch, you have a larger library than me :) I've updated the PR to include python-Levenshtein as well
As for the second issue with play x by/with y I plan to port over some of the parsing from the spotify skill handling this kind of thing after the basic artist/track/album extractions are in and works ok.
When installing, no requirements.txt is specified. This skill depends on the
fuzzywuzzy
module, which has to be installed manually.