Åke Forslund
0811df3831
Don't load remote settings for send command
2019-10-25 14:04:23 +02:00
devs-mycroft
a3e35d736b
Version bump from 19.8.1 to 19.8.2
2019-10-21 13:51:34 +00:00
Kris Gesling
6eae3d7bdd
Merge pull request #2358 from brennerm/allow-os-is-like-to-handle-multiple-values
...
make os_is_like handle multiple values
2019-10-21 13:38:07 +09:30
Åke
f234354783
Merge pull request #2365 from forslund/bugfix/lock-mic-mute-unmute
...
Lock mic mute unmute
2019-10-20 14:12:53 +02:00
Åke
2c1367f6f8
Merge pull request #2368 from MycroftAI/feature/restart-mic
...
Feature/restart mic
2019-10-20 14:06:06 +02:00
Åke Forslund
bc2bfb6c77
Ignore overflow errors as before
2019-10-20 09:48:52 +02:00
Åke Forslund
3da5dece0c
Stop restarting mic after 20 attempts
2019-10-20 09:47:12 +02:00
Åke Forslund
149a236e30
Attemt to restart the mic if there's an IOError
...
If mic produces an IOError try to restart the microphone's input stream
to recover.
2019-10-20 09:01:17 +02:00
Kris Gesling
1d277f9f9d
Merge pull request #2366 from forslund/bugfix/picroft-get-response
...
Send listen flag for special picroft case as well
2019-10-19 01:08:32 +09:30
Åke Forslund
6597ccc398
Send listen flag for special picroft case as well
2019-10-18 17:16:55 +02:00
Åke Forslund
5d8c3c6c92
Minor cleanup of mic docstrings, etc
2019-10-18 12:19:45 +02:00
Åke Forslund
9f555015e7
Add lock to mute unmute of mic stream
...
This should alleviate a potential (or possibly an existing) problem if
mute is triggered while reading of the mic occurs.
2019-10-18 12:12:48 +02:00
Åke
47399ac915
Merge pull request #2302 from JarbasAl/feat/ask_selection
...
feat/ask_selection
2019-10-17 11:46:53 +02:00
Åke Forslund
4bf0e89fb5
Update docstrings to match behaviour
2019-10-17 11:33:25 +02:00
ChanceNCounter
738ba6cf00
edit for pep8 compliance ( #15 )
2019-10-17 11:07:51 +02:00
jarbasal
978ece53ca
feat/ask_selection
2019-10-17 11:07:51 +02:00
Åke
324fe988aa
Merge pull request #2356 from ChanceNCounter/spanish-language-parsers
...
fix bug in isFractional_es and improve coverage
2019-10-14 16:04:57 +02:00
Åke
c689bb5d37
Merge pull request #2352 from moritzgloeckl/patch-1
...
Fixed some readme errors for #hacktoberfest
2019-10-11 09:16:59 +02:00
devs-mycroft
913f29d3d5
Version bump from 19.8.0 to 19.8.1
2019-10-10 13:56:15 +00:00
Kris Gesling
b7786d4926
Merge pull request #2359 from MycroftAI/bugfix/test-logger-restore
...
Make skill's logging visible in tester
2019-10-10 22:06:15 +09:30
Åke
bf92014970
Merge pull request #2361 from MycroftAI/bug/listen_arg
...
Bug/listen arg
2019-10-10 14:21:35 +02:00
David Wagner
ddad8d1569
Pass listen to end_audio()
2019-10-10 12:11:11 +00:00
David Wagner
feac64b2b0
Add listen arg to other TTS classes
2019-10-10 12:09:50 +00:00
Åke
cf75ef982f
Merge pull request #2360 from MycroftAI/bug/audio_end_missing_arg
...
Bug/audio end missing arg
2019-10-10 14:07:07 +02:00
David Wagner
d9523fd30f
Pass listen to end_audio()
2019-10-10 11:54:58 +00:00
David Wagner
e45f527af3
Default to False
2019-10-10 11:50:48 +00:00
Åke Forslund
af79c7c2d2
Make skill's logging visible
...
The skill logger was still set to the temporary logger, this resets it
to the intended logger name and handler
2019-10-10 09:19:59 +02:00
Max Brenner
e85f55b3e4
improve os_is_like
...
- it now handles multiple values
- e.g. "debian ubuntu"
2019-10-08 18:02:05 +02:00
Åke
88e8b661e7
Merge pull request #2351 from forslund/feature/listen-on-last
...
Send listen on last sentence of utterance
2019-10-08 14:51:53 +02:00
David Wagner
1a9a51fe56
Merge pull request #2354 from forslund/bugfix/settings-delitem
...
Add missing __delitem__ method
2019-10-07 10:44:48 -05:00
Kris Gesling
ab860306d3
Merge pull request #2353 from MycroftAI/bugfix/tail_scheduling_events
...
Remove event before running event handler
2019-10-07 21:55:29 +09:30
Åke
8126bcafce
Merge pull request #2346 from ChanceNCounter/tests/util-parse-en
...
fix bug, redundancy in parse_en; improve coverage
2019-10-07 13:22:23 +02:00
ChanceNCounter
1c41e523ce
fix bug in isFractional_es and improve coverage
...
- Fix: isFractional_es() parsed fractions incorrectly
- Update: earlier commit msg suggested another fix:
- Month parsing not fixed
- Several failing tests (skipped) document problem
- TODO and an issue also created
- Substantially improve parse_es.py test coverage
- TODO or comment several found bugs
- Many lines remain uncovered, incl possible bugs
2019-10-05 14:46:09 -07:00
Åke Forslund
24d6cf9ea0
Add missing __delitem__ method
...
The delitem method is apparently used, for example by the alarm skill
2019-10-04 20:43:46 +02:00
Åke Forslund
08d38dea75
Remove event before running event handler
...
Allow events to reschedule themselves. The reference is removed before
the handler is executed to not remove anything added by the handler.
2019-10-04 18:29:11 +02:00
Moritz Glöckl
ec1b8f03a5
Fixed some readme errors for #hacktoberfest
2019-10-04 16:48:52 +02:00
Åke Forslund
abf8a90f07
Add description of the playback thread loop
2019-10-04 15:14:56 +02:00
Åke Forslund
29db163a78
Move listen trigger to last chunk of sentence
...
If rendering a chunk of a sentence takes too long time, the audio queue
may run out and trigger the listening.
This moves the listening trigger to after the last chunk.
2019-10-04 15:09:45 +02:00
Åke
8ffad68251
Merge pull request #2347 from ChanceNCounter/extractnumber-es-fix-and-add-extractnumbers
...
Fix extractnumber_es, add extract_numbers_es
2019-10-04 08:46:03 +02:00
Åke
90ceaa3c88
Merge pull request #2342 from ChanceNCounter/fix/convert-mixed-fraction-param-default
...
add default value to nice_number param
2019-10-04 08:43:15 +02:00
ChanceNCounter
1107f5d6cc
Fix extractnumber_es, add extract_numbers_es
...
- Fix bug causing extractnumber_es to return a sum instead of a list
- Add Spanish parser to extract_numbers and extract_number
==== Fixed Issues ====
Closes #2310
==== Tech Notes ====
Further obscures #2056 : short_scale and ordinals parameters added to the
Spanish parsers, but they don't do anything. Present for compat only.
There is a TODO for this.
==== Localization Notes ====
It's all Spanish stuff!
This will require a native Spanish speaker to analyze the relationship
between extractnumber and isFractional, and determine why certain
fractions do not parse correctly. There is a TODO for this.
2019-10-03 17:11:39 -07:00
ChanceNCounter
16d6bf4b22
fix bug, redundancy in parse_en; improve coverage
...
- Remove unreachable conditions from parse_en:1122-1133
- input string passed through clean_string() on line 763
- articles stripped from input before line 1122
- removed conditions relied on presence of "the" in input
- Improved test coverage on parse_en.py by approx 65 statements
- Directly test certain helper functions which are difficult to
invoke indirectly
- Add tests for certain missed conditions
- Approx. 20 uncovered statements remain
2019-10-03 14:41:21 -07:00
Åke
15233f8929
Merge pull request #2336 from forslund/feature/load-skill-settings-once
...
Remove duplicate load of skill settings
2019-10-03 19:46:11 +02:00
Åke
2cfb4adf02
Merge pull request #2345 from forslund/feature/mic-listen-direct
...
Feature/mic listen direct
2019-10-03 19:45:53 +02:00
Åke Forslund
b480dda90f
Clean up docstrings
...
Minor cleanup of docstrings in the files affected by the previous commit
2019-10-03 19:13:02 +02:00
Åke Forslund
46b0b94631
Don't go through FS when triggering listener.
...
This adds a separate handler for triggering listening on the
"mycroft.mic.listen" message
2019-10-03 19:12:56 +02:00
Åke
89741ad465
Merge pull request #2330 from ChanceNCounter/nice-duration-fix
...
Nice duration fix
2019-10-02 08:33:07 +02:00
ChanceNCounter
8c50fe9700
add optional 'clock' param for displayed output
...
Add one more optional parameter: bool clock, always produces
digital clock-like output. "0h 3m" becomes "0:03:00".
Has no effect on resolutions YEARS or DAYS, and MINUTES won't print hrs.
2019-10-02 07:55:22 +02:00
ChanceNCounter
4253929d2c
- make nice_duration handle years, datetimes, and ms
...
- Companion enum:
mycroft.util.format.TimeResolution
offers YEARS, DAYS, HOURS, MINUTES, SECONDS, or MILLISECONDS
- Will only return ms if MILLISECONDS is chosen. Default: SECONDS
- Update tests
2019-10-02 07:55:22 +02:00
ChanceNCounter
388d9afaa7
add default value to nice_number param
...
Add default value to nice_number & convert_mixed_fraction `denominator`
Add tests for convert_mixed_fraction
2019-10-01 06:55:44 -07:00