Skip to content
This repository has been archived by the owner on Sep 8, 2024. It is now read-only.

Refactor/stop speaking #2821

Merged
merged 4 commits into from
Feb 2, 2021
Merged

Conversation

forslund
Copy link
Collaborator

@forslund forslund commented Feb 2, 2021

Description

Minor update of stop_speaking removing the filesystem signal that is no longer used. In addition:

  • Fixed the missing doc string
  • It also include a common check to only send the stop message if Mycroft is actually speaking

Also improved a failing unrelated unittest regarding the simple audioservice backend

How to test

Ensure that the unit tests pass

Contributor license agreement signed?

CLA [ ] (Whether you have signed a CLA - Contributor Licensing Agreement

The filesystem signal has not been used for quite some time and should
not be used.
This also updates the relevant testcase
Add logic to ensure the play_* functions are called at least once before
checking the call status.
@devops-mycroft devops-mycroft added the CLA: Yes Contributor License Agreement exists (see https://github.com/MycroftAI/contributors) label Feb 2, 2021
Copy link
Contributor

@krisgesling krisgesling left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good and works great.

Thanks!

@krisgesling krisgesling added the Status: Accepted PR has been reviewed and accepted. There must be some reason why it isn't being merged. label Feb 2, 2021
@devops-mycroft
Copy link

Voight Kampff Integration Test Failed (Results).
Mycroft logs are also available: skills.log, audio.log, voice.log, bus.log, enclosure.log

@krisgesling krisgesling merged commit 4c4250a into MycroftAI:dev Feb 2, 2021
@forslund forslund added the Type: Refactoring and other improvements Improvement of code and documentation that does not alter functionality. label Feb 2, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CLA: Yes Contributor License Agreement exists (see https://github.com/MycroftAI/contributors) Status: Accepted PR has been reviewed and accepted. There must be some reason why it isn't being merged. Type: Refactoring and other improvements Improvement of code and documentation that does not alter functionality.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants