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

Disable wake word upload for v20.2 #2661

Merged
merged 2 commits into from
Aug 14, 2020
Merged

Disable wake word upload for v20.2 #2661

merged 2 commits into from
Aug 14, 2020

Conversation

krisgesling
Copy link
Contributor

Description

The API endpoint used to upload wake words will be deprecated in the near future and instead shifted to Selene. To ensure older devices are not making unnecessary post requests to a dead endpoint, this disables that request.

In looking at this, there also seems to be a duplicate and unused method that doesn't use threading, so this has been removed entirely.

How to test

Ensure you are opted in and wake word upload is not disabled in your config. Set log level to debug and trigger the wake word.

Contributor license agreement signed?

@devs-mycroft devs-mycroft added the CLA: Yes Contributor License Agreement exists (see https://github.com/MycroftAI/contributors) label Aug 13, 2020
@forslund
Copy link
Collaborator

Tested and working as described. I assume the code is just commented out to be easy to reuse when it's reactivated for the new endpoint.

Good catch on the duplicate method, probably an artifact from the earlier refactoring here.

@devops-mycroft
Copy link

Voight Kampff Integration Test Failed (Results)

Copy link
Member

@chrisveilleux chrisveilleux left a comment

Choose a reason for hiding this comment

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

Quick and easy. I like it.

@devops-mycroft
Copy link

Voight Kampff Integration Test Failed (Results)

@devops-mycroft
Copy link

Voight Kampff Integration Test Succeeded (Results)

@krisgesling krisgesling merged commit 524a74e into dev Aug 14, 2020
@krisgesling krisgesling deleted the disable-ww-upload branch September 2, 2020 21:02
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)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants