Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor/rename_audiospeech_services #151

Merged

Conversation

NeonJarbas
Copy link

  • rename SpeechService to PlaybackService, this removes confusion with STT
  • rename SpeechClient to SpeechService, this was an oversight

this is a breaking change, but it's ok because None of these exist in mycroft-core and version will be bumped

- rename SpeechService to PlaybackService, this removes confusion with STT
- rename SpeechClient to SpeechService, this was an oversight

this is a breaking change, but it's ok because None of these exist in mycroft-core and version will be bumped
@JarbasAl JarbasAl requested a review from NeonDaniel June 9, 2022 12:39
@JarbasAl JarbasAl added refactor code refactor without functional changes breaking breaks backwards compatibility (kinda) labels Jun 9, 2022
@codecov
Copy link

codecov bot commented Jun 9, 2022

Codecov Report

Merging #151 (86212dd) into dev (6ceb058) will increase coverage by 2.70%.
The diff coverage is 42.48%.

Current head 86212dd differs from pull request most recent head e64aa87. Consider uploading reports for the commit e64aa87 to get more accurate results

@@            Coverage Diff             @@
##              dev     #151      +/-   ##
==========================================
+ Coverage   50.35%   53.05%   +2.70%     
==========================================
  Files         119      152      +33     
  Lines       10077     9779     -298     
==========================================
+ Hits         5074     5188     +114     
+ Misses       5003     4591     -412     
Impacted Files Coverage Δ
mycroft/audio/__main__.py 0.00% <0.00%> (ø)
mycroft/client/enclosure/__main__.py 0.00% <0.00%> (ø)
mycroft/client/enclosure/mark1/arduino.py 0.00% <0.00%> (ø)
mycroft/client/enclosure/mark1/eyes.py 0.00% <0.00%> (ø)
mycroft/client/enclosure/mark1/mouth.py 0.00% <0.00%> (ø)
mycroft/client/speech/__main__.py 0.00% <0.00%> (ø)
mycroft/client/speech/hotword_factory.py 0.00% <0.00%> (-88.89%) ⬇️
mycroft/client/speech/service.py 0.00% <0.00%> (ø)
mycroft/client/speech/silence.py 0.00% <0.00%> (-42.86%) ⬇️
mycroft/client/text/__init__.py 0.00% <0.00%> (ø)
... and 120 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3b5a2da...e64aa87. Read the comment docs.

mycroft/listener/service.py Show resolved Hide resolved
@JarbasAl JarbasAl requested a review from NeonDaniel June 21, 2022 11:58
@JarbasAl JarbasAl merged commit 14f1049 into OpenVoiceOS:dev Jun 22, 2022
3 checks passed

class SpeechClient(SpeechService):
def __init__(self, *args, **kwargs):
LOG.warning("SpeechClient has been renamed to SpeechService, it will be removed in 0.1.0)
Copy link
Member

Choose a reason for hiding this comment

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

SyntaxError: unterminated string literal (detected at line 237)

Copy link
Member

Choose a reason for hiding this comment

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

Not sure how I missed that in testing.. PR'd a fix #165

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking breaks backwards compatibility (kinda) refactor code refactor without functional changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants