MycroftAI / mycroft-core

Mycroft Core, the Mycroft Artificial Intelligence platform.
https://mycroft.ai
Apache License 2.0
6.48k stars 1.27k forks source link

Common Play framework interacts weird with active timer #3123

Open osheroff opened 1 year ago

osheroff commented 1 year ago

Describe the bug With a running timer, starting to play a song with the CPS asks "do you want to stop the running timer"? This line: https://github.com/MycroftAI/mycroft-core/blob/1b67bf33e08541c34c331e7980ce0d6b4bc9c708/mycroft/skills/common_play_skill.py#L163 emits a "mycroft.stop" event, which is interpreted by the timer skill as intending to stop the timer.

To Reproduce Steps to reproduce the behavior:

  1. "Start a timer for 5 minutes"
  2. "Play songs by Tom Waits on Spotify"