johanpalmqvist / skill-squeezebox

Apache License 2.0
2 stars 4 forks source link

Skill not working with Picroft #4

Open mike99mac opened 4 years ago

mike99mac commented 4 years ago

Hi, I boot a fresh picroft on a Raspberry Pi, and install this squeezbox skill. I type "play a song", but no music. Rather I see this on the console:

 07:26:31.792 | ERROR    |   714 | mycroft.skills.mycroft_skill.mycroft_skill:on_error:798 | An error occurred while processing a request in Squeeze Box Media Skill
Traceback (most recent call last):
  File "/home/pi/mycroft-core/mycroft/skills/mycroft_skill/event_container.py", line 66, in wrapper
    handler(message)
  File "/home/pi/mycroft-core/mycroft/skills/common_play_skill.py", line 78, in __handle_play_query
    result = self.CPS_match_query_phrase(search_phrase)
  File "/opt/mycroft/skills/skill-squeezebox.johanpalmqvist/__init__.py", line 617, in CPS_match_query_phrase
    backend, playerid = self.get_playerid(self.get_backend(phrase))
  File "/opt/mycroft/skills/skill-squeezebox.johanpalmqvist/__init__.py", line 186, in get_playerid
    players = self.lms.get_players()
  File "/opt/mycroft/skills/skill-squeezebox.johanpalmqvist/lms_client.py", line 55, in get_players
    players = self.lms_request(payload)["result"]["players_loop"]
KeyError: 'players_loop'