Kris Gesling
1faedf6052
Merge pull request #2453 from forslund/doc/settings-changed-callback
...
Add readthedocs docs for settings_change_callback
2020-01-15 19:41:28 +09:30
Åke
307d8cebae
Merge pull request #2442 from forslund/test/audioservice
...
Add tests for the audioservice interface
2020-01-15 09:14:11 +01:00
Åke Forslund
1b88ebe508
Fix tracks with mime data for VLC backend
2020-01-15 09:06:50 +01:00
Åke Forslund
277fd92e8f
Add tests for vlc audio backend
2020-01-15 09:06:50 +01:00
Åke Forslund
2a9d273f86
Add tests for simple audio backend
2020-01-15 09:06:50 +01:00
Åke Forslund
efb9cd1a01
Pass listen flag to fallback tts
2020-01-15 09:06:50 +01:00
Åke Forslund
0b2610206d
Add tests for speech dispatcher
2020-01-15 09:06:50 +01:00
Åke Forslund
e74b0e3900
Add audioservice method tests
...
This includes init, shutdown, play, stop, next, previous, pause,
seek_backward, seek_forward, queue lower_volume, restore_volume and resume.
2020-01-15 09:06:50 +01:00
Åke Forslund
d25a2b4293
Rename audio/test_interface.py to test_utils.py
...
This is more inline with the tests that are performed in the file.
This also adds a test for stop_speaking
2020-01-15 09:06:50 +01:00
Åke Forslund
9a36639ec7
Clean up mycroft/audio/__init__.py
2020-01-15 09:06:50 +01:00
Åke Forslund
9563bff162
Add readthedocs docs for settings_change_callback
2020-01-15 08:39:15 +01:00
Åke
258cae71c9
Merge pull request #2452 from forslund/feature/msm-0.8.5
...
Update msm to 0.8.5
2020-01-14 09:39:50 +01:00
Åke Forslund
a716397b66
Update msm to 0.8.5
...
This makes it possible for the installer skill to report errors during
install and remove of skills
2020-01-13 16:00:57 +01:00
Åke
7352bdf98d
Merge pull request #2451 from forslund/test/disable-failing-spanish
...
Disable failing spanish datetime test
2020-01-13 15:48:24 +01:00
Åke Forslund
5b01ab1b91
Disable failing spanish datetime test
2020-01-13 15:38:35 +01:00
Åke
80b3ffb587
Merge pull request #2450 from forslund/refactor/tts
...
Add TTS tests
2020-01-13 15:24:50 +01:00
Åke Forslund
8f6822278f
Clean-up
...
tts.py:
- remove unused import
-remove unused variable
- init TTS thread enclosure member
mimic2_tts.py: Fix docstrings
mimic_tts: Fix docstrings and remove unused variables and imports
google_tts: Improve docstrings
2020-01-10 16:26:48 +01:00
Åke Forslund
93ff3d7651
Fix mimic2 text preprocessing
2020-01-10 16:26:48 +01:00
Åke Forslund
eb3250fe90
Add more TTS tests
...
- Tests for TTS base class
- Test for TTS playback queue
- Test for TTS Factory create
- Tests for Mimic2 TTS
- Tests for Mimic TTS
- Tests for Google TTS
2020-01-10 16:26:48 +01:00
Åke Forslund
391b92ce56
Make Factory get Mimic TTS class from normal list
...
Removes duplicated code and makes method easier to test
2020-01-10 16:26:48 +01:00
Åke Forslund
72adf0465b
Move code out of __init__.py
2020-01-10 15:27:07 +01:00
Åke
4ab39bf0fd
Merge pull request #2448 from andlo/padatious_single_thread
...
Add setting for padatious single_thread in mycroft.conf
2020-01-07 18:43:22 +01:00
andlo
39de6b655e
pep8 fix
2020-01-07 16:53:37 +00:00
Åke
3f11e8f555
Merge pull request #2443 from forslund/test/translate-methods
...
Add test cases for the MycroftSkill translate methods
2020-01-07 09:16:33 +01:00
andlo
7b4891d07a
enable seting for patadious single_thread in mycroft.conf
2020-01-06 19:32:29 +00:00
Kris Gesling
97ec830177
Merge pull request #2447 from ansgar-t/dev
...
Prepare for gTTS 2.1.0
2020-01-06 19:58:28 +09:30
Kris Gesling
35635237d9
Merge pull request #2446 from forslund/doc/skill-root-dir
...
Add self.root_dir to readthedocs documentation
2020-01-06 17:33:01 +09:30
Ansgar Tuemmers
c5b6987d0c
Prepare for gTTS 2.1.0
...
Signature of gTTS.__init__ changes in 2.1.0 and breaks calls with
unnamed arguments like gTTS('some text', 'de')
2020-01-04 17:30:45 +01:00
Åke Forslund
555478c33f
Add self.root_dir to readthedocs documentation
2020-01-03 10:45:39 +01:00
Åke
43b9aa3a1c
Merge pull request #2439 from notdefine/bufix/make-venv-activate-compatible-with-sh-and-zsh
...
Make venv-activate.sh compatible with sh and zsh
2020-01-03 09:07:55 +01:00
Åke
a508464b01
Merge pull request #2440 from notdefine/feature/fix-documentation-how-to-run-unittests
...
The command to run unittests was wrong documented
2020-01-03 08:47:29 +01:00
Åke Forslund
2c65e8188c
Add tests for MycroftSkill translate methods
...
Verifies that resources are read from both locale and dialog folders.
Also checks that fallbacks to en-us from other languages works as
expected.
2019-12-29 14:25:09 +01:00
Åke
5f02e7a086
Merge pull request #2441 from TheLastProject/patch-1
...
Fix documentation mistake
2019-12-26 22:53:51 +01:00
Sylvia van Os
555c2f897b
Fix documentation mistake
2019-12-26 22:28:58 +01:00
Thomas Eimers
1548cb4ab4
The command to run unittests was wrong documented
2019-12-26 21:49:56 +01:00
Thomas Eimers
2db697993a
Make venv-activate.sh compatible with sh and zsh
...
$ if [ "$0" == "$BASH_SOURCE" ]; then echo "a"; fi
sh: 1: [: sh: unexpected operator
2019-12-26 21:31:45 +01:00
devs-mycroft
cafffd8b62
Version bump from 19.8.4 to 19.8.5
2019-12-20 12:20:50 +00:00
Åke
7f2eb836fa
Merge pull request #2433 from forslund/bugfix/settings-sync
...
Bugfix/settings sync
2019-12-20 07:15:51 +01:00
Åke Forslund
a730636866
Add tests for upload queue
2019-12-19 16:27:44 +01:00
Åke Forslund
9628a5b5f4
Fix settingsmeta upload start race condition
2019-12-19 10:03:36 +01:00
Åke Forslund
d45edcd613
Add priority skill's settingsmeta
2019-12-19 10:03:14 +01:00
Åke
ac874ecc88
Merge pull request #2432 from ChanceNCounter/time-resolution-cleanup
...
clean up nice_duration handler
2019-12-18 20:41:47 +01:00
Åke
184508a020
Merge pull request #2370 from forslund/feature/settingsmeta-queue
...
Stabilize skill settings download
2019-12-18 12:41:16 +01:00
Åke Forslund
ec1d35d1b7
Fixes from code review
...
- Use reload status directly instead of instance check
- Move manifest posting to start_upload method
2019-12-18 12:05:40 +01:00
Åke Forslund
1e7314d7ca
Update skill manifest when a skill is removed
...
When skills are removed the skills manifest is updated using msm and
then sent to the backend.
2019-12-18 12:05:40 +01:00
Åke Forslund
146a8c1434
Get skill_gid more reliably
...
If skill directory doesn't exist in current cache try to fetch a new
copy.
2019-12-18 12:05:40 +01:00
Åke Forslund
f5685bde96
Simplify
...
Skip the queue thread, do upload in series with skill load/reload.
2019-12-18 12:05:40 +01:00
Åke Forslund
fa1bdfdda7
Send manifest before starting settingsmeta upload.
...
Minor restructuring moving the enqueuing of settingsmeta upload to after
updating the skills manifest.
2019-12-18 12:05:40 +01:00
Åke Forslund
c11c9756ce
Add queue system to send settingsmeta
...
The queue will store all settingsmeta upload calls and execute them
after pairing can be verified.
Starts settings download after upload has started. When settings meta upload
has started for all skills the skill download process is triggered.
This guarantees that the settingsmeta skill_gid has been populated
properly before skills try to figure out which part of the skills data
belongs to them.
Add docstrings to upload queue
2019-12-18 12:04:57 +01:00
ChanceNCounter
4e8db9c860
clean up nice_duration handler
...
* Replace integer values with enum values for clarity
* Simplify exception thrown on incompatible input
* Pythonify (and de-Chanceify) zero-output logic
2019-12-17 05:10:34 -08:00