Open M-arcus opened 6 years ago
Also happens with play next
I am also getting the same error:
`~~~~:607 - ERROR - An error occurred while processing a request in Spotify Skill
Traceback (most recent call last):
File "/home/pi/mycroft-core/mycroft/skills/core.py", line 598, in wrapper
handler(message)
File "/opt/mycroft/skills/spotify-skill/__init__.py", line 528, in play_song
self.play_playlist(message)
File "/opt/mycroft/skills/spotify-skill/__init__.py", line 600, in play_playlist
self.start_playlist_playback(dev, self.get_best_playlist(playlist))
~~~~pt/mycroft/skills/spotify-skill/__init__.py", line 485, in get_best_playlist
key, confidence = match_one(playlist, self.playlists.keys())
File "/home/pi/mycroft-core/mycroft/util/parse.py", line 56, in match_one
raise ValueError('a list or dict of choices must be provided')
ValueError: a list or dict of choices must be provided
`
Sorry forslund, I did not see the other open issue #35 with the same error.
No worries.
Feel free to check out the branch bugfix/playlists
Should at least be an improvement at this point.
@forslund Thank you, it works better now.
The song choices are quite odd, depending on the transcribed requests. Especially ones with shorter titles.
It also tries to select albums now, instead of specific songs.
I think this is intended functionallity
User says play X
To play a single track ask it to play the song X by Y
Can you give examples of shorter titles that gives weird results?