Commit Graph

2996 Commits (67fdc4ea1094f9ab5a754f947b9d55c68faf60ac)

Author SHA1 Message Date
Åke b194b51bcf
Merge pull request #1920 from MycroftAI/feature/barge-in
Add basic barge-in functionality
2018-12-29 08:40:30 +01:00
Åke fa56e91b00 Minor update to dialog (#1911)
* Do not load blank lines as dialogs.

* Simplify render code slightly using random.choice

* Remove import of io's open, not needed in python 3
2018-12-28 19:48:22 -06:00
Steve Penrod 1427992c99 Add basic barge-in functionality
The ability to "barge-in" has been lacking from Mycroft Core.  The Mark 1
microphone was unable to support this due to physical limitations, but the
Mark II and other implementations with more advanced mic tech which can
hear over themselves are able to continuously listen.

To enable this while retaining backwards compatibility with simpler mic.py
systems, there are now two mycroft.conf values:

{
   "listener": {
        "mute_during_output" : true,
        "duck_while_listening" : 0.3
   }
}

The above values are defaults, and implementers will likely override them
using the /etc/mycroft/mycroft.conf file when appropriate.

The duck_while_listening setting is currently handled in Mycroft's
skill-volume.  The mute_during_output is handled within mycroft-core itself.
2018-12-28 18:12:42 -06:00
Matthew D. Scholefield 531c5e51c1
Merge pull request #1919 from MycroftAI/yaml-doc-backend
Adding swagger yaml file for the API calls that mycroft core does
2018-12-28 12:00:10 -06:00
Matheus Lima 0fea0df513 Adding swagger yaml file for the API calls that mycroft core does 2018-12-28 14:35:21 -03:00
Matthew D. Scholefield 406a12b492
Merge pull request #1905 from forslund/feature/travis-py3.7
Add python 3.7 python version to travis tests
2018-12-28 10:49:33 -06:00
Åke ba81fb91f7
Merge pull request #1918 from MycroftAI/feature/setup-skip-mimic
Add option to skip mimic build in dev_setup.sh
2018-12-27 20:48:28 +01:00
Steve Penrod d39d049af0 Add option to skip mimic build in dev_setup.sh
Add a -sm "Skip mimic" option to dev_setup.sh which
will always prevent the download and complile of
the original Mimic.  By default, we still want to
do this all the time, but there are situations where
it is convenient to skip this time-consuming step.
2018-12-27 20:33:09 +01:00
Åke 33c735a935 Handle floats when checking year pronounciation (#1916)
* Handle floats when checking year pronounciation

* Corrected typo in docstring
2018-12-27 11:39:44 -06:00
Åke 630c853f25 Store config in more human readable form (#1915) 2018-12-26 11:55:45 -06:00
Thomas Castleman 29063df83c bugfix/issue-1913 fixed bug with new flag (#1914)
* bugfix/issue-1913 fixed bug with new flag

- `--no-error` can be used to disable exit-on-error behaviour
- improved print out in function show_help() to take a little less time and take up a little less space by using only one `echo` command, should work the exact same otherwise.
2018-12-26 10:47:07 +01:00
Ale 62afba6011
Update date_time.json
corrected: all test passed
the  year's RE section can be improved
2018-12-23 11:11:42 +01:00
Ale 404316fa70
Update date_time_test.json
now all tests are passed
2018-12-23 11:05:22 +01:00
Ale 4a9b82437b
Update date_time.json
correct typing error
2018-12-22 18:34:09 +01:00
Ale aa0c0434af
Update date_time.json
correct typing error
2018-12-22 18:22:32 +01:00
Ale 665e974ad9
Update date_time.json
correct type error line 31
2018-12-22 18:14:46 +01:00
Ale 57d439b6bd
Update test_format_it.py
correct pep 8 error line 218
2018-12-22 18:10:32 +01:00
Ale 5f49c15a4d
corrections in date_time.json
some correction in RE
2018-12-22 18:01:17 +01:00
Ale 498afbbc6f
Create date_time_test.json
translated but it's not clear how to test
2018-12-22 11:38:49 +01:00
Ale 0c5fa97e6a
Update date_time.json
in italian date_format is always {day} {month}, year
2018-12-22 11:35:04 +01:00
Ale 499af68155
Update test_format_it.py
New tests for  nice_number(): 
    -test_specify_denominator
    -test_no_speech
New tests for pronounce_number
   -test_convert_hundreds
   -test_convert_scientific_notation
   -test_large_numbers
2018-12-22 11:25:01 +01:00
Ale 4b9c410dd4
Update format.py
update pronounce_number_it() to long/short scale and scientific format
2018-12-22 11:13:45 +01:00
Ale 5933d3b6d2
Update format_it.py
update pronounce_number_it() to long/short scale and scientific format
correct some unusuals numbers in  LONG_SCALE_IT
2018-12-22 11:10:34 +01:00
Ale a96ce1babf
Merge pull request #2 from MycroftAI/dev
Rebase 18.8.9
2018-12-22 10:46:36 +01:00
devs-mycroft 78bfcab8b9 Version bump from 18.8.8 to 18.8.9 2018-12-20 14:06:07 +00:00
Matthew D. Scholefield d95071070f
Merge pull request #1909 from forslund/bugfix/shutdown-precise
Stop hotword engines when reloading
2018-12-19 19:02:33 -06:00
Ale 59a8770eaf
pep8 update format_it.py
just a space
2018-12-19 14:54:04 +01:00
Ale eff7c7e10c
minor update format_it.py
insert  LONG_SCALE_IT  and SHORT_SCALE_IT
2018-12-19 14:37:25 +01:00
Ale 34f937cdf7
create italian date_time.json
it still needs some attention in year_format and date_format
2018-12-19 11:38:23 +01:00
Ale 2ee5718847
Merge pull request #1 from MycroftAI/dev
rebase 18.12.2018
2018-12-18 13:48:01 +01:00
Ale c8cfada9c6 Italian minor update in res/text/it-it/ (#1910)
Italian: minor update
2018-12-17 19:19:00 +01:00
Ale 12b2ee2350
Italian minor update created yes.voc 2018-12-17 19:00:10 +01:00
Ale 49c90109b6
italian minor update create skill.error.dialog 2018-12-17 18:57:34 +01:00
Ale 5672354d0b
italian minor update on phonetic_spellings.txt 2018-12-17 18:55:59 +01:00
Ale 2c32b6e3f0
Italian update: created file not.loaded.dialog 2018-12-17 18:54:30 +01:00
Ale a5e503919e
Italian: minor update 2018-12-17 18:51:50 +01:00
Ale 70b30f981f
Italian minor update: crate file no.voc 2018-12-17 18:50:02 +01:00
Ale 047d549755
Italian: minor update 2018-12-17 18:46:45 +01:00
Åke Forslund 3175baa2eb Stop hotword engines during reload
- Add overridable stop() method to HotwordEngine Class
- Add stop implementation to precise shutting down the runner
- Call wakeword_recognizer.stop() before reloading the listener configuration
2018-12-07 13:28:47 +01:00
devs-mycroft e22938cb68 Version bump from 18.8.7 to 18.8.8 2018-12-07 01:55:26 +00:00
Åke aebb9122f4
Merge pull request #1907 from forslund/bugfix/msm-0.6.3
Bump msm to 0.6.3
2018-12-07 00:41:08 +01:00
Åke Forslund a379c217eb Bump msm to 0.6.3
This fixes a potential issue where the startup processess halting when starting without internet connection.
2018-12-07 00:29:36 +01:00
Åke Forslund 1d7eabd0dd Add python 3.7 python version to travis tests
- Switch to Xenial so python 3.7 is available
- Install and use gcc-4.8 to make the mimic build faster
2018-12-06 17:17:36 +01:00
devs-mycroft 91fe3b79f8 Version bump from 18.8.6 to 18.8.7 2018-12-06 14:13:45 +00:00
Åke d53cff746a
Merge pull request #1903 from forslund/bugfix/log-config
Handle invalid json when loading log level
2018-12-06 10:40:37 +01:00
Åke Forslund 178319aa68 Handle invalid json when loading log level
Just ignore invalid log files
2018-12-05 22:32:23 +01:00
Åke cb5b9e85bf Handle failing refresh tokens (#1894)
Catch the HTTPError caused by the server returning a 401 status code when an expired refresh code is used to refresh the token.
2018-12-05 14:41:06 -06:00
Michael Nguyen 3bb15bc3c8
Merge pull request #1900 from forslund/feature/common-qa
Common query framework
2018-12-05 14:13:01 -06:00
Åke 74c1ee1678
Merge pull request #1890 from forslund/bugfix/gtts-version-update
Update gtts modules to fix google tts
2018-12-05 20:55:48 +01:00
Åke a7665dce10
Merge pull request #1902 from forslund/bugfix/extra-except
Enclosure mark-1: Remove extra except.
2018-12-05 18:16:12 +01:00