Commit Graph

3900 Commits (1b88db4fa148d840e68dc7aea19c803e83de765e)

Author SHA1 Message Date
Åke Forslund 1b88db4fa1 Replace format and parse calls with lingua-franca 2020-01-18 08:58:23 +01:00
devs-mycroft aa86e10ca3 Version bump from 19.8.5 to 19.8.6 2020-01-16 14:22:00 +00:00
Åke 689d072369
Merge pull request #2415 from forslund/feature/end-of-playlist-message
Send mycroft.audio.queue_end
2020-01-15 11:59:00 +01:00
Åke Forslund fffa6cc9af Test track start and end queue messages 2020-01-15 11:50:51 +01:00
Åke Forslund 97ff8a4708 Send mycroft.audio.queue_end
The message is sent when there are no more tracks in the queue and
playback has stopped.
2020-01-15 11:13:00 +01:00
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