Commit Graph

4734 Commits (0394568704479a600a576a4f596e1df41eca0293)

Author SHA1 Message Date
Kris Gesling 0394568704 Use returned TTS audio file path
This reverts an unintentional breaking change.
A TTS engine may return a different file path than was requested.
This again uses the returned path but adds a deprecation warning
that this behaviour will no longer be supported in an upcoming release.

Fixes #2929
2021-06-29 21:53:53 +09:30
Kris Gesling 8fa6508cce
Merge pull request #2715 from el-tocino/issue-1943
Fix #1943 - do not attempt update when only launching CLI
2021-06-22 18:59:29 +09:30
Kris Gesling 1f000b69c7
Merge pull request #2917 from MycroftAI/dependabot/pip/pillow-8.2.0
Bump pillow from 8.1.1 to 8.2.0
2021-06-22 17:19:23 +09:30
el-tocino 63e7b60837
Update start-mycroft.sh 2021-06-18 00:52:52 -05:00
Kris Gesling d7c13bdc17
Merge pull request #2693 from MycroftAI/feature/update-contributor-guide
Fix broken link in Contributor Guide
2021-06-17 22:26:45 +09:30
Kris Gesling 90010a65f6
Merge pull request #2908 from MycroftAI/feature/lingua-franca-v0.4.2
Upgrade Lingua Franca from v0.4.1 > v0.4.2
2021-06-15 12:08:46 +09:30
Kris Gesling 7a9c762272
Merge pull request #2914 from forslund/feature/safer-tts-cache
Make TTSCache safer
2021-06-11 06:48:53 +09:30
Åke Forslund 4799caa696 Add test cases for tts cache __contains__ 2021-06-10 09:33:12 +02:00
Åke Forslund 5d3393b935 Make TTSCahce safer
Add __contains__ method to TTSCache, The cache contains a SHA if the SHA is
known and all expected files exists on disk.

This is handles unexpected system events in a more consistent manner and
will still be fast for the case where a new sentence needs to be
synthetisized.
2021-06-10 09:33:06 +02:00
dependabot[bot] dd13d97d15
Bump pillow from 8.1.1 to 8.2.0
Bumps [pillow](https://github.com/python-pillow/Pillow) from 8.1.1 to 8.2.0.
- [Release notes](https://github.com/python-pillow/Pillow/releases)
- [Changelog](https://github.com/python-pillow/Pillow/blob/master/CHANGES.rst)
- [Commits](https://github.com/python-pillow/Pillow/compare/8.1.1...8.2.0)

---
updated-dependencies:
- dependency-name: pillow
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-08 19:22:19 +00:00
Kris Gesling 8a3cb6eb88
Merge pull request #2741 from MycroftAI/bugfix/revert-vk-sleep
revert a temporary bugfix from PR #2626
2021-06-08 06:46:34 +09:30
Kris Gesling 0e2a78068a
Merge pull request #2910 from MycroftAI/feature/avx-check
Check for the AVX instruction set during install
2021-06-02 06:54:08 +09:30
Kris Gesling 1cc25da144
Merge pull request #2898 from MycroftAI/bugfix/docstring-cleanup
Cleanup of documentation
2021-06-01 12:16:44 +09:30
Kris Gesling ff2db272b8 Add comment explaining no check for AVX on ARM 2021-05-31 08:19:18 +09:30
Kris Gesling 771b8aa36b Improve writing of config under different conditions 2021-05-28 21:48:50 +09:30
mathmauney e846d97a24 Sed needs sudo 2021-05-28 21:48:50 +09:30
mathmauney 9c09f1739b Edit system .conf and make if needed 2021-05-28 21:48:50 +09:30
mathmauney 305b93625a Update hotword_factory.py
Fix long line string
2021-05-28 21:48:49 +09:30
mathmauney e926504157 Ignore missing AVX for ARM systems 2021-05-28 21:48:49 +09:30
mathmauney 011c3899a9 Fix line too long 2021-05-28 21:48:49 +09:30
mathmauney 4ca656caac Issue-2232 Add warning when AVX is not detected and fallback. 2021-05-28 21:48:49 +09:30
Kris Gesling d474e792fe
Merge pull request #2903 from forslund/docs/correct-version
ReadTheDocs documentation: Fetch Mycroft-core version from mycroft.version
2021-05-28 15:24:52 +09:30
Kris Gesling 891784a454
Merge pull request #2888 from forslund/refactor/mimic_tts-dont-load-config-on-import
Refactor mimic_tts to not load config when importing
2021-05-28 15:24:13 +09:30
Kris Gesling 6165c2d767
Merge pull request #2877 from forslund/feature/clear-adapt-keywords-on-shutdown
Remove registered keywords on skill shutdown
2021-05-28 15:23:49 +09:30
Kris Gesling 8a70b1ed76
Merge pull request #2909 from MycroftAI/feature/adapt-v0.4.1
Update Adapt intent parser from v0.3.7 to v0.4.1
2021-05-28 14:16:53 +09:30
Åke Forslund ad410d4bfc Remove registered keywords on skill shutdown
Uses new drop_*() methods from adapt-parser 0.4.0
2021-05-27 22:24:55 +02:00
Kris Gesling 01f73b6b01 Update Adapt parser to v0.4.1 2021-05-27 15:36:29 +09:30
Kris Gesling 34e22657f6 Upgrade Lingua Franca from 0.4.1 > 0.4.2
Adds Farsi support
2021-05-26 16:31:42 +09:30
devs-mycroft 6c0be727e2 Version bump from 21.2.-1 to 21.2.0 2021-05-26 04:00:38 +00:00
Kris Gesling a192bdc169
Merge pull request #2907 from MycroftAI/feature/core-v21.02
Bump core version and MSM for impending core update
2021-05-20 15:14:22 +09:30
Kris Gesling b9f1fb7ffb Bump core version and MSM for impending core update 2021-05-20 14:17:42 +09:30
Åke Forslund 9ffd60bc43 Fetch Mycroft-core version from mycroft.version
Uses the info block provided by the release script
2021-05-14 18:35:13 +02:00
Kris Gesling c936f2f116 Fix incorrect CLI info 2021-05-11 15:12:10 +09:30
Kris Gesling 083463a75e Clean up docstrings and CLI help info 2021-05-11 15:12:10 +09:30
Åke Forslund cfc84bab27 Add approprate blank lines to fix phinxdoc warnings 2021-05-11 15:12:10 +09:30
Åke Forslund e7accacdcf Fix sphinxdoc warning in common_iot_skill.py 2021-05-11 15:10:32 +09:30
Kris Gesling e75a05557b docstring cleanup 2021-05-11 15:10:32 +09:30
Kris Gesling 6327ac5dbb
Upgrade Lingua Franca to v0.4.1 (#2890)
**Update Lingua Franca to v0.4.1**

The update from Lingua Franca v0.2.x to v0.4.x includes few
breaking changes.
- Some API methods have been updated.
- Mycroft-core tests have been updated to reflect improvements in
  Lingua Franca's formatting and parsing.
- add LF default lang setting method to config.locale 
  including warning that this method will change in the future
- Add TODO's for 21.08 - moving more methods to LF
- simplify loading and setting default of languages in Skills service
- Remove unneeded wrappers for Lingua Franca functions
- Fix documentation of format and parse utils
- Fix test warnings
2021-05-08 08:34:02 +09:30
Kris Gesling 088f563ad9
Merge pull request #2892 from MycroftAI/bugfix/consistent-temp-dir
Replace hardcoded use of /tmp directory
2021-05-08 07:28:27 +09:30
Kris Gesling 09f24e1831
Merge pull request #2899 from MycroftAI/bugfix/remove-existing-loader
Fix replacement of existing Skill loader in queue
2021-05-08 07:18:01 +09:30
Kris Gesling 5d3b9d479b Fix test for expected TypeError 2021-05-07 15:34:37 +09:30
Kris Gesling dc4c146f69 Fix assigning of queue without existing loader 2021-05-06 10:11:39 +09:30
Kris Gesling 5ee9755002 remove stray file 2021-05-03 20:17:03 +09:30
Kris Gesling 784f166bc2 Raise TypeError rather than quietly fail 2021-05-03 20:13:21 +09:30
Kris Gesling 3d296bfccf
Merge pull request #2894 from forslund/bugfix/old-skill-tester-padatious-setup
Old skill tester: Fix Padatious setup and fallback intents
2021-05-03 17:22:22 +09:30
Åke Forslund 6dd059e888 Consume whole queue before considering skill done
This will handle any extra messages after the skill complete message was detected. For example messages from certain fallback skills
2021-05-02 09:27:47 +02:00
Åke Forslund 053d29b92c Use the correct event for fallback handler 2021-05-02 09:26:29 +02:00
Åke Forslund 512fa9c820 Implement wait_for_response for old skill tester
Previously this was just skipped over but is now needed for the fallback intents
2021-05-02 09:25:14 +02:00
Åke Forslund 3970f84e4b Fix Padatious setup
This was broken when Padatious moved from a separate "skill" into the
service manager. This updates the code to call the correct methods
2021-05-01 08:35:01 +02:00
Kris Gesling 0fb90edd28 Rename to get_temp_path and add docstring 2021-04-30 16:49:59 +09:30