Aditya Mehra
3a33284f62
add missing skill_id parameter for page interaction and focus events
2020-10-23 13:34:01 +05:30
Kris Gesling
23f8c3f5be
Merge pull request #2724 from forslund/feature/pyee-8.1.0
...
Update to pyee 8.1.0
2020-10-22 20:38:22 +09:30
Åke Forslund
0a9de0ab7c
Update to pyee 8.1.0
...
pyee 8.1.0 adds a small change to make the once call to be more safe in
multithreaded environments.
This switches back from the now deprecated BaseEventEmitter to the
standard EventEmitter.
2020-10-22 11:43:06 +02:00
Kris Gesling
11062dbd9c
Merge pull request #2721 from Nihvel/patch-1
...
Update __init__.py
2020-10-21 16:26:16 +09:30
Kris Gesling
8a1b989935
Merge pull request #2594 from forslund/feature/plugin-system
...
Plugin system for stt, tts, audioservices and wake word engines
2020-10-19 15:41:35 +09:30
Juri Calleri
1795322035
Update __init__.py
...
trailing whitespace removed and double space after '.' dot restored
2020-10-15 15:13:17 +02:00
Juri Calleri
2a1b099390
Update __init__.py
...
fix for the issue #2630
2020-10-14 19:14:39 +02:00
jarbasal
02cb489f63
wake word plugins
2020-10-10 18:03:40 +01:00
Åke Forslund
112a983024
Fix pylint issues
2020-10-10 09:20:21 +02:00
Åke Forslund
a2dc3482ef
Fix logs when Mimic is not found
...
If Mimic was not found at all the LOG message would raise an exception,
this fixes that issue and cleans up Exception chain
2020-10-10 09:04:54 +02:00
Kris Gesling
6e058e48b5
Merge pull request #2713 from domcross/feature/mozilla_tts
...
Feature/mozilla tts
2020-10-07 11:39:54 +09:30
domcross
10ded43c65
Mozilla TTS
...
Clean up imports
2020-10-06 11:44:54 +02:00
domcross
99f534c1ad
Mozilla TTS
...
remove custom cache code
improve url handling
2020-10-05 19:51:00 +02:00
Kris Gesling
7bd0e25466
Merge pull request #2706 from joshuajaharwood/feat/issue-2700
...
Issue-2700 - Allow for different Polly engines in config
2020-10-05 15:28:08 +09:30
domcross
12ec5cb9b7
Mozilla TTS
...
Cache handling
2020-10-02 21:48:55 +02:00
domcross
d0fb378c56
Mozilla TTS
...
fix imports and example config
2020-10-02 14:10:41 +02:00
Åke
b241f1de84
Merge pull request #2704 from MycroftAI/bugfix/settings-update-typeerror
...
Add optional message argument
2020-10-02 13:40:18 +02:00
domcross
65e30ba861
Mozilla TTS
...
fix codestyle
2020-10-01 21:03:52 +02:00
domcross
104c57a528
Mozilla TTS
...
fix missing import and codestyle
2020-10-01 20:35:08 +02:00
domcross
5be3b54b27
MozillaTTS
...
Implement TTS module that works with Mozilla-TTS server.
==== Environment Notes ====
Requires a Mozilla-TTS server running preferably in your local network.
2020-10-01 20:07:47 +02:00
Joshua J. A. Harwood
84a5fd8853
Issue-2700 - Allow for different Polly engines in config
2020-09-27 22:49:59 +00:00
el-tocino
8d9930ac18
remove english-only error
2020-09-25 20:18:31 -05:00
Kris Gesling
5e8474cd72
Add optional message argument
...
When called over the messagebus the message is passed to the handler,
thereby throwing a TypeError as it wasn't expecting 2 positional args.
2020-09-25 15:55:42 +09:30
Kris Gesling
1c80eab76d
Merge pull request #2691 from forslund/bugfix/duration_stretch-update
...
Bugfix/duration stretch update
2020-09-25 15:06:17 +09:30
Åke Forslund
d8ff26bbd9
Add plugin loading of audioservices
...
All modules registered under the entrypoint group "mycroft.plugin.audioservice"
These shall refer to a module with either an autodetect function or a
load_service function.
2020-09-23 07:46:13 +02:00
Åke Forslund
15fd22a258
Add plugin loading to stt
...
pip packages registering entrypoints under 'mycroft.plugin.stt' will be
detected.
2020-09-23 07:46:13 +02:00
Åke Forslund
a54090eef2
Add plugin support for tts
...
Entrypoints registered under "mycroft.plugin.tts" will be detected and
able to run.
2020-09-23 07:46:13 +02:00
Åke Forslund
caf834c728
Add plugin utils
2020-09-23 07:46:09 +02:00
Kris Gesling
ae72ebd247
Merge pull request #2599 from forslund/refactor/intent-service
...
Refactor intent service
2020-09-23 10:24:16 +09:30
Kris Gesling
571e6d3e61
Merge pull request #2659 from forslund/feature/detect-bad-modification-times
...
Don't reload skill if a mod time is in the future
2020-09-22 20:55:35 +09:30
katridi
6e197d0138
Bugfix/issue 2563 ( #2692 )
...
* Issue-2563 Added fallback to english model
* Added test case for checking config set up
* Added more descriptive log message
2020-09-22 15:01:01 +09:30
jarbasal
7e1e3e4bc2
extend timeout
2020-09-20 21:38:33 +01:00
JarbasAI
4d3cd33d4a
Feat/self.gui.connected ( #2682 )
...
* expose gui connection status
* gui.status.request.response
Co-authored-by: jarbasal <jarbasai@mailfence.com>
2020-09-16 17:02:46 +09:30
katridi
a185a9a4bf
Issue-2567 - Fixing not initialized dialog_render ( #2685 )
...
Fixes #2567
2020-09-15 22:10:39 +09:30
Kris Gesling
31fd9914ef
Merge pull request #2681 from forslund/bugfix/all_loaded-order
...
initialize status members before bus handlers
2020-09-14 17:02:16 +09:30
Åke Forslund
37e03589f3
Handle numeric duration stretch
2020-09-14 07:43:48 +02:00
Åke Forslund
f40c9cc44f
Make Global scope variables upper case
2020-09-12 18:18:38 +02:00
Åke Forslund
725b8a8d15
Fix update of duration stretch
...
Switch from global config to object config
2020-09-12 18:18:02 +02:00
Åke Forslund
1202417f86
Handle ntp syncs during precise Startup
...
Use MonotonicEvent instead of the builtin Event class
2020-09-10 13:27:21 +02:00
Åke Forslund
4e7809d732
Handle ntp sync in audioservice ready wait
...
Events (any python threading in general) don't use monotonic time and
can be affected by an ntp sync.
This replaces the normal event with the MonotonicEvent class handling jumps
into the future.
2020-09-10 13:26:25 +02:00
Åke Forslund
fc3d8ce801
Add MontonicEvent class
...
This handles jumps forward in time correctly
2020-09-10 13:26:25 +02:00
Åke Forslund
b71bedd471
initialize status members before bus handlers
...
self._loaded_status was accessed from a message handler, if a message is
received at the precisely wrong time an exception may occur. This fixes
the init order.
Also moves the skill_updater creation to be fore the handlers are
registered.
2020-09-07 06:34:07 +02:00
devs-mycroft
255ac428bd
Version bump from 20.8.-1 to 20.8.0
2020-09-03 07:49:13 +00:00
Åke Forslund
d704981613
Set a more specific module name for audioservices
...
The basic name caused collisions between the "vlc" audioservice and the
vlc module. This prepends an "audioservice_" to the service folder name.
2020-08-28 07:59:06 +02:00
Kris Gesling
891325e3f5
Merge pull request #2680 from forslund/bugfix/default-check
...
Don't run default update if autoupdate is disabled
2020-08-24 10:51:53 +00:00
Kris Gesling
3eee84f053
Merge pull request #2679 from forslund/refactor/remove-imp
...
Refactor/remove imp
2020-08-24 01:28:34 +00:00
Åke Forslund
70d9868f84
Don't update if autoupdate is disabled
2020-08-21 14:43:41 +02:00
Åke Forslund
ba8c41486c
Load audioservices using importlib instead of imp
...
imp has been deprecated for quite some time
2020-08-21 08:00:08 +02:00
Kris Gesling
6e9d6d3795
bump version numbers for 20.08
2020-08-21 10:43:58 +09:30
Kris Gesling
05e96935d4
Merge pull request #2673 from MycroftAI/remove/speaking-utils
...
remove deprecated speaking utils
2020-08-21 00:32:35 +00:00
Kris Gesling
a3a869b883
Merge pull request #2672 from MycroftAI/remove/string-utils
...
Remove unnecessary string utils
2020-08-21 00:32:08 +00:00
Kris Gesling
cb2531c81c
Merge pull request #2671 from MycroftAI/remove/dialog-loader
...
remove deprecated DialogLoader class
2020-08-21 00:31:45 +00:00
Kris Gesling
d1ea9088fb
Merge pull request #2670 from MycroftAI/remove/startListening
...
remove deprecated startListening signal
2020-08-21 00:31:30 +00:00
Kris Gesling
1b64285bd0
Merge pull request #2669 from MycroftAI/remove/converse-error
...
remove previously deprecated error message
2020-08-21 00:31:17 +00:00
Kris Gesling
6e0d5a91ae
Merge pull request #2668 from MycroftAI/refactor/recording-timout
...
remove hardcoded timeouts - now in mycroft.conf
2020-08-21 00:31:04 +00:00
Kris Gesling
40139b9869
Merge pull request #2667 from MycroftAI/feature/deprecated-ee
...
Remove deprecated EventEmitter classes
2020-08-21 00:30:53 +00:00
Kris Gesling
519f7e19cd
Merge pull request #2674 from MycroftAI/feat/gui_cps_status
...
add GUI + PAUSED to track status
2020-08-20 21:28:14 +00:00
Åke Forslund
988b99b7fe
Add missing watchdog argument
...
Fix retry call to _initialize_skill_manager() when Msm cache doesn't exist locally.
2020-08-20 21:22:55 +02:00
jarbasal
a8e9af8505
add GUI, skill and enclosure to track status
2020-08-20 17:44:48 +09:30
Åke Forslund
fe4daa2565
Update Query api methods
2020-08-19 18:24:59 +02:00
Kris Gesling
d4d7d09e40
remove hardcoded timeouts; already moved to conf
2020-08-19 20:35:23 +09:30
Kris Gesling
fac4744a30
Merge pull request #2657 from AIIX/feature/override-animations
...
Allow override for animations in platform skills
2020-08-19 06:53:59 +00:00
Kris Gesling
b444d00ccf
remove previously deprecated speaking utils
2020-08-18 23:31:07 +09:30
Kris Gesling
666178c483
remove unnecessary remove_last_slash method
2020-08-18 23:06:42 +09:30
Kris Gesling
ed46311cd8
remove unnecessary get_http method
2020-08-18 23:04:53 +09:30
Kris Gesling
2643caadf8
remove previously deprecated DialogLoader class
2020-08-18 22:56:34 +09:30
Kris Gesling
23d1d35ea9
remove deprecated startListening signal
2020-08-18 22:21:38 +09:30
Kris Gesling
58a5cddbd6
remove previously deprecated error msg
2020-08-18 22:14:32 +09:30
Åke Forslund
10092c3a9e
Don't reload skill if a mod time is in the future
...
This stops a skill from being reloaded repeatedly if a file gets a bad
modification time.
It also logs the offending files in the error message.
2020-08-18 09:52:59 +02:00
Kris Gesling
7f7c97d0f6
Merge pull request #2662 from MycroftAI/bugfix/empty-arg
...
Do not call max if files list is empty
2020-08-18 07:28:15 +00:00
Kris Gesling
ac8e10898f
remove deprecated ThreadedEventEmitter
2020-08-18 16:00:51 +09:30
Kris Gesling
d70c425854
switch deprecated EventEmitter to other classes
2020-08-18 15:58:42 +09:30
devs-mycroft
9d00f71c5e
Version bump from 20.2.4 to 20.2.5
2020-08-17 13:22:08 +00:00
Åke Forslund
81570f14e9
WIP fix pylint warnings in context manager
2020-08-14 13:40:16 +02:00
Kris Gesling
8065f5cbee
do not call max if files list is empty
2020-08-14 21:05:32 +09:30
Åke Forslund
8089411d93
Fix warnings from pylint in intent_service.py
...
- Add missing docstrings
- fix short variable names
- restructure return code
2020-08-13 09:28:23 +02:00
Åke Forslund
d9281d7795
Handle pylint warnings for padatious_service
2020-08-13 09:28:23 +02:00
Åke Forslund
841ed2dcfc
Update for pylint conformity for adapt module
...
- imports
- All docstring
- AdaptService method warnings
2020-08-13 09:28:23 +02:00
Åke Forslund
618daac9a4
Pair utterances with normalized versions
...
- Move setting original utterance to the respective intent service
- Remove botch limiting the intent service to a single STT hypothesis
2020-08-13 09:28:18 +02:00
Kris Gesling
5dac7fe54c
disable wakeword uploads before deprecating API
2020-08-13 16:49:54 +09:30
Kris Gesling
7aa80e2b7d
remove duplicate and unused method
2020-08-13 16:46:08 +09:30
Åke Forslund
917127638b
Remove workaround for adapt one_of intents
...
This issue was properly fixed in Adapt 0.3.5.
2020-08-13 08:18:55 +02:00
Åke Forslund
008ab372fd
FallbackService encapsulating fallback calls
2020-08-13 08:18:51 +02:00
Åke Forslund
bb8d4e3c1f
Generalization of intent service Episode IV
...
Simplify the handle_utterance into a list of intent matching functions
run in order until a match is found.
The resolution order is
- Converse
- Padatious High Confidence
- Adapt
- Fallback High priority
- Padatious Medium Confidence
- Fallback Medium priority
- Padatious Last ditch effore
- Fallback Low priority
This collects the many parts of where intent is handled into a single
location handling the entire flow.
The idea is that, in the end, all the skill calling should be done from
this method. The main intent parsers does this but the converse and
fallback still calls directly.
2020-08-13 08:12:53 +02:00
Åke Forslund
b52cc55f25
Add support for ranges of fallbacks
...
If no range is provided it defaults to 0-100 to be backwards compatible
2020-08-13 08:12:53 +02:00
Åke Forslund
4c87bc23d4
Move padatious service to within the IntentService
2020-08-13 08:12:53 +02:00
Åke Forslund
e93d23f0df
Split out adapt from the intent_service.
2020-08-13 08:12:53 +02:00
Aditya
4d8cd10b31
fix pep8 errors
2020-08-12 22:03:38 +05:30
Aditya
61611ea6e2
allow override for platform skill animations
2020-08-12 21:29:49 +05:30
Å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
Å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
Å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