MycroftAI / mycroft-dinkum

A consumer ready version of Mycroft specifically for the Mark II.
Apache License 2.0
20 stars 8 forks source link

Mycroft doesn't respond to wake word or button when playing radio. #53

Open jmillerv opened 1 year ago

jmillerv commented 1 year ago

Describe the bug Mycroft II doesn't respond to wake word or listen to commands when radio is playing.

To Reproduce Steps to reproduce the behavior:

  1. Tell mycroft to play radio
  2. Allow radio to play
  3. Use the wake word
  4. Mycroft will not respond and the LED will not light up.

This behavior also occurs when you press the button and the LED is lit up. Mycroft just doesn't appear to be listening.

Expected behavior Expected behavior is that mycroft

Log files Logs don't appear to register anything after I begin playing despite pressing the button and issuing commands.

-- Logs begin at Thu 2019-02-14 10:12:03 UTC. --
Dec 29 17:13:10 localhost.localdomain python[588]: DEBUG:mycroft.util.log:Utterance after cleaning: ''
Dec 29 17:13:10 localhost.localdomain python[588]: DEBUG:mycroft.util.log:ENDPOINT: stations/search?language=english&limit=1000&hidebroken=true&order=clickcount&reverse=true&tagList=classic+rock
Dec 29 17:13:10 localhost.localdomain python[588]: DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): at1.api.radio-browser.info:443
Dec 29 17:13:14 localhost.localdomain python[588]: DEBUG:urllib3.connectionpool:https://at1.api.radio-browser.info:443 "GET /json/stations/search?language=english&limit=1000&hidebroken=true&order=clickcount&reverse=true&tagList=classic+rock HTTP/1.1" 200 None
Dec 29 17:13:14 localhost.localdomain python[588]: DEBUG:mycroft.util.log:Successful response from RadioBrowser server: https://at1.api.radio-browser.info/json/
Dec 29 17:13:14 localhost.localdomain python[588]: DEBUG:play-radio.mark2:Getting mime type for http://softrock-ice.purestream.net/softrock.mp3
Dec 29 17:13:14 localhost.localdomain python[588]: DEBUG:play-radio.mark2:Getting mime type for Soft Rock Radio
Dec 29 17:13:14 localhost.localdomain python[588]: DEBUG:play-radio.mark2:Attempting to check mime type: try 1
Dec 29 17:13:14 localhost.localdomain python[588]: DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): softrock-ice.purestream.net:80
Dec 29 17:13:14 localhost.localdomain python[588]: DEBUG:urllib3.connectionpool:http://softrock-ice.purestream.net:80 "HEAD /softrock.mp3 HTTP/1.1" 200

Environment (please complete the following information): Mark II mycroft-dinkum

pjchamberlain commented 1 year ago

I see this issue intermittently when playing radio or playing music from a local usb drive. Sometimes the only way to fix it is to pull the power plug to restart.

jmillerv commented 1 year ago

Sometimes I am able to get the radio to stop by pressing the stop button on screen. This does not work 100 percent of the time. Power cycling is the only reliable way so far.

amunizp commented 1 year ago

This is related to this bug probably: #46