Aditya Mehra
0e4d403268
Merge pull request #7 from MycroftAI/dev
...
Update to latest commit
2020-08-12 21:19:48 +05:30
Kris Gesling
fef49e3f83
Merge pull request #2654 from MycroftAI/feature/update-lingua-franca
...
upgrade Lingua Franca to v0.2.2
2020-08-12 07:31:41 +00:00
Åke Forslund
b24679a17c
Amendments after comments PR comments
...
- Fix playlist_position description
- Make CPS_send_tracklist() require a playlist argument
- change docstring for the playlist type
2020-08-11 23:09:06 +02:00
Kris Gesling
55cd62470f
Merge pull request #2619 from forslund/feature/common-play-inform-gui
...
Add method for updating playback information from skills
2020-08-11 07:14:22 +00:00
Kris Gesling
089dc91fa4
upgrade Lingua Franca to v0.2.2
2020-08-11 14:53:26 +09:30
Åke Forslund
8f4847ff77
Status and track list suggested by @Jarbasal
...
This commit adds the status, extended track info as well as a tracklist
information as proposed by Jarbasal.
2020-08-11 06:58:45 +02:00
Kris Gesling
69a1c1d082
Merge pull request #2644 from forslund/feature/install-defaults
...
Always install default skills before initial load
2020-08-11 01:53:50 +00:00
Kris Gesling
7d446b0222
Merge pull request #2650 from forslund/bugfix/stt-missing-lang
...
set active lang to configured if missing from STT and normalize
2020-08-10 06:36:46 +00:00
Kris Gesling
2270854692
Merge pull request #2649 from forslund/bugfix/extract_duration
...
Let lingua franca check extract_duration lang
2020-08-10 05:57:18 +00:00
Åke Forslund
e9760cdce8
Normalize the lang code to lowercase only
...
This suites lingua franca better
2020-08-10 07:41:50 +02:00
Åke Forslund
6edaa58558
set active lang to configured if missing from STT
...
If the STT doesn't send a lang code fallback to configured language
instead of hardcoded en-us
2020-08-10 07:41:44 +02:00
Kris Gesling
a901b901d3
Merge pull request #2652 from forslund/bugfix/save-settings
...
Fix settings changed check after skill handler
2020-08-10 00:10:58 +00:00
Åke Forslund
6abfca67a6
Fix settings changed check after skill handler
...
Make self._initial_settings have an unique copy of the settings and not
a reference to the original ones.
2020-08-09 08:50:44 +02:00
Åke Forslund
2dde23467c
Let lingua franca check extract_duration lang
...
Mycroft doesn't need to check for supported languages for
extract_duration, lingua_franca handles that internally.
2020-08-07 07:47:11 +02:00
Åke Forslund
49faadee03
Don't include blacklisted skills in defaults
...
Don't try do an install on startup if a blacklisted skill is uninstalled
2020-07-31 09:58:34 +02:00
Åke Forslund
0756da700a
Always install default skills before initial load
...
This checks if all default skills are installed before continuing with
initial load.
For devices with no skills installed on first start this should ensure
that skills are installed before sending the mycroft.skills.initialized
to start precise training and generating the mycroft.ready message
2020-07-29 18:48:53 +02:00
Kris Gesling
a5b7f55ae4
Merge pull request #2634 from forslund/bugfix/wait-for-response-timeout
...
Fix custom timeout for wait_for_response()
2020-07-29 07:03:15 +00:00
Kris Gesling
30177a01ed
Merge pull request #2643 from jmontane/dev
...
Add Festival TTS support
2020-07-28 04:59:59 +00:00
Kris Gesling
e756f96d9d
Merge pull request #2521 from countcretinos/fix/fedora
...
Fix Mimic build on Fedora
2020-07-28 01:35:38 +00:00
Joan Montané
594c838a00
Add Festival TTS
2020-07-27 18:04:27 +02:00
Kris Gesling
273da889f8
Merge pull request #2601 from forslund/feature/service-hooks
...
Service hooks
2020-07-27 04:52:55 +00:00
Åke Forslund
0a04efd88d
Add system for checking audio service readiness
...
The new wait_for_loaded() method will wait until services has been
loaded. It has a 3 minute timeout (default)
This improves the audio service readiness indication to not trigger
until the services are loaded.
2020-07-24 22:12:54 +02:00
Åke Forslund
236a2ed594
Add hook for stopping
2020-07-22 11:06:47 +02:00
Åke Forslund
a1fdae3415
Add support for watchdog in skills and speech client
...
If no watchdog is provided a dummy function will be called
2020-07-22 10:52:32 +02:00
Åke Forslund
09b1deb511
Add possibility for notification hooks for services
...
- skills
- audio
- speech client
- messagebus service
- enclosure
The main functions now accepts the arguments ready_hook and error_hook
allowing a service or runner script to catch these states and perform
actions accordingly.
This is useful for things like systemd or a desktop launcher.
Fix audio service startup
2020-07-22 10:52:27 +02:00
Åke Forslund
45cb8bec62
Add message for updating playback information from skills
...
This adds the function used by the npr-news-skill and spotify-skill to
communicate their info to the playback control showing the default
playback UI.
The function has the common parameters specified but is setup to be able
to add new functionallity without core changes.
2020-07-20 13:45:14 +02:00
Kris Gesling
6f33cc0553
Merge pull request #2626 from MycroftAI/bugfix/random-vk-fail
...
sleep after skills loaded for any final setup
2020-07-17 23:03:02 +09:30
Kris Gesling
d4abc37861
sleep prior to tests to assist in bug diagnosis
2020-07-17 15:53:59 +09:30
Kris Gesling
fc31079047
Merge pull request #2636 from jamesmf/common-iot-register-fix
...
revert iot dig_for_message
2020-07-15 15:47:17 +09:30
jamesmf
b94b07b35b
revert iot dig_for_message
2020-07-14 23:11:10 -04:00
Åke Forslund
cba284e4a0
Fix custom timeout for wait_for_response()
...
The method didn't forward the selected timeout and only the default wait
was ever used.
2020-07-10 09:11:35 +02:00
Kris Gesling
b0c34cba97
Merge pull request #2507 from forslund/feature/pyee-7
...
Update pyee to v7.0.1
2020-07-09 16:10:00 +09:30
Kris Gesling
77f1eaf3c8
Merge pull request #2541 from forslund/bugfix/jenkins-file-no-dockerfile-copy
...
CI: Use the docker -f flag instead of copying the Dockerfile
2020-07-07 16:15:21 +09:30
Åke Forslund
928e1a8b33
Mark ThreadedEventEmitter as depreciated
2020-07-07 08:36:57 +02:00
Åke Forslund
29d4b91309
Update Adapt to version using pyee 7.0.1
2020-07-07 08:30:26 +02:00
Åke Forslund
0fc1ba325a
Update pyee to v7.0.1
...
pyee has added ThreadExecutor variant of the EventEmitter which can
replace the home-spun threadpool based emitter
2020-07-07 08:21:42 +02:00
Kris Gesling
f6dba98001
Merge pull request #2628 from forslund/feature/wait-for-response-cleanup
...
Add wait_for_message method
2020-07-06 13:58:57 +09:30
Åke Forslund
2bb978362f
Use bus.wait_for_message() method to wait for speak
2020-07-05 16:38:52 +02:00
Åke Forslund
b7d709c3c8
Add wait_for_message() method to messagebus client
...
- Refactor message waiting into a MessageWaiter class to be able to use the
same code in both wait_for_message and wait_for_response.
- Add some basic unittests
2020-07-05 09:28:17 +02:00
Åke Forslund
29f60e6d66
Clean up the wait_for_response method
...
- Use nonlocal instead of mutable object.
- Set default timeout in method argument
2020-07-05 09:28:17 +02:00
Åke Forslund
ff1f07288e
Rename Dockerfile.test to Dockerfile
2020-07-01 07:22:50 +02:00
Åke Forslund
1c4e5aca23
Use the docker -f flag instead of copying the Dockerfile
2020-07-01 07:22:50 +02:00
Kris Gesling
aca6a18c5f
Merge pull request #2327 from MycroftAI/feature/importlib
...
Switch from the deprecated imp to importlib
2020-07-01 11:34:25 +09:30
Åke Forslund
58608e6458
Handle reloading of relative imports
...
Submodule reload is enforced by removing sys.modules reference. This
will make imports do the full uncached importing
2020-06-30 19:42:36 +02:00
Kris Gesling
072f409939
Merge pull request #2625 from MycroftAI/bugfix/audio-after-stop
...
remove messagebus argument
2020-06-30 08:53:59 +09:30
Kris Gesling
bf6e6af3e3
remove messagebus argument
2020-06-29 21:38:12 +09:30
Kris Gesling
37a47915f7
Merge pull request #2621 from MycroftAI/bugfix/audio-after-stop
...
prevent audio playing between mic record and utt handling
2020-06-29 15:56:49 +09:30
Kris Gesling
e39fe64ba4
minor cleanup for PR review
2020-06-29 14:30:39 +09:30
Kris Gesling
c4478e82ad
ensure volume restored after mic recording
2020-06-25 16:17:54 +09:30
Kris Gesling
83ece0e663
Merge pull request #2591 from forslund/bugfix/mint-skill-listing
...
Workaround issue with get_wch on older ncurses
2020-06-23 20:01:49 +09:30