Commit Graph

3895 Commits (1faedf60529b78b0fe4c9961ab3ffd12100748e9)

Author SHA1 Message Date
Åke Forslund 04e9812992 Asyncio updates for gui connections
- Workaround, ensure asyncio event loop is launched on each thread.
2019-11-26 14:21:49 +01:00
Åke 6bd6441da2
Merge pull request #2393 from MycroftAI/feature/geolocation-api
Feature/geolocation api
2019-11-26 11:10:05 +01:00
Åke Forslund 026f769028 Fix using of hotword structure for custom wakeword
Fixes overriding settings from listener config
2019-11-26 09:07:15 +01:00
Chris Veilleux db2fc40e3c Merge remote-tracking branch 'remotes/origin/dev' into feature/geolocation-api 2019-11-22 13:33:54 -06:00
Åke fc7847029c
Merge pull request #2390 from forslund/feature/os-package-install-cleanup
Cleanup of package install section of dev_setup
2019-11-21 15:07:57 -06:00
Åke 1c23bbf07c
Merge pull request #2391 from cclauss/patch-1
Upgrade requirements to eliminate Pytest warnings
2019-11-20 16:59:24 -06:00
Christian Clauss 54e8b1efb6 Upgrade requirements to eliminate Pytest warnings 2019-11-20 23:33:15 +01:00
Åke c46528d049
Merge pull request #2251 from cclauss/patch-1
Upgrade from pycodestyle to flake8
2019-11-19 17:37:03 -06:00
Christian Clauss a1ff3fb355 Upgrade from pycodestyle to flake8 2019-11-19 23:07:52 +01:00
Åke be47e90953
Merge pull request #2389 from forslund/bugfix/audioservice-mimetypes
Bugfix/audioservice mimetypes
2019-11-19 10:12:32 -06:00
Åke Forslund 5e90465267 Improve guessing if http fetch fails.
If the server doesn't support getting the http head for the feed a 501
may be generated the guess_mime function will in turn fail if the url
ends with "?arg=x" or similar. This does an extra parsing step trying to
remove such arguments.
2019-11-19 16:34:13 +01:00
Åke Forslund 7117465701 Refactor package install for OSes into functions 2019-11-19 16:31:06 +01:00
Åke Forslund a0ea872293 Use a variable for apt packages
Since the package list is used in two places this will reduce risks of
changing in one place but not another.
2019-11-19 15:55:39 +01:00
Åke 20b8c5e49b
Merge pull request #2388 from gbaptista/dev
Adding pulseaudio dependencies
2019-11-19 08:49:54 -06:00
Åke Forslund f44165d35d Add exception handler if mime fails 2019-11-19 05:36:16 +01:00
gbaptista f0fcba4b01 adding pulseaudio dependencies 2019-11-18 21:52:04 -03:00
Åke 17840decd5
Merge pull request #2385 from mikewoudenberg/dev
Add rudimentary Dutch parsing support
2019-11-15 11:44:31 +01:00
devs-mycroft 0314a3f6d1 Version bump from 19.8.2 to 19.8.3 2019-11-14 07:54:10 +00:00
Mike Woudenberg cc5631c45f Adds rudimentary Dutch parsing support 2019-11-14 08:47:36 +01:00
Åke 43e513b36b
Merge pull request #2367 from speedfox-uk/dev
Fix "wakeword" message bus event
2019-11-11 15:32:28 +01:00
Daniel Morse 3751add193 Move emission of recognizer_loop:wakeword
The message is now emitted directly after a wakeword is detected.
2019-11-11 15:13:56 +01:00
Åke 9a47a94ee1
Merge pull request #2381 from MycroftAI/feature/mark1-py7
Drop Python 3.4 support
2019-11-07 23:09:00 +01:00
Åke f1327f0973
Merge pull request #2376 from forslund/bugfix/shutdown-on-skill-remove
Fix Shutdown of removed skills
2019-11-07 23:08:45 +01:00
Åke caf3341812
Merge pull request #2375 from forslund/bugfix/remove-all-events
Fix reference leak when using bus.remove_all_listeners
2019-11-07 23:08:27 +01:00
Åke Forslund b5656a008e Drop python3.4 travis job 2019-11-07 12:44:23 +01:00
Åke Forslund 71078255de Update gtts and pillow 2019-11-04 11:48:03 +01:00
Åke 2bfcb948b7
Merge pull request #2364 from MycroftAI/bugfix/parse-of-this-quarter
Remove parsing of things similar to "this quarter of an hour"
2019-11-04 10:52:10 +01:00
Steve Penrod 0b8f7f54a4 Remove unnecessary code
The check for "this" performed in the case of "this quarter of an hour"
was copy/pasted in a large checkin.  The change it made to
daySpecified made no difference since the or in the later code
looked for an unspecified absolute hour.  I can come up with no
senseable phrase that matches the conditions and couldn't even
create a nonsensical phrase that made a difference.

Since all of the existing unit tests pass without this code,
I'm going to just remove it.
2019-11-04 09:39:09 +01:00
Åke 81d4366971
Merge pull request #2377 from krisgesling/fix/frame-value-error
frames to read must be greater than 0
2019-11-01 08:25:34 +01:00
Kris Gesling 0197a7ee39 frames to read must be greater than 0 2019-11-01 08:13:26 +01:00
Kris Gesling a5b8327dba
Merge pull request #2378 from forslund/bugfix/spanish-dt-test
Use specific date in the past during the test
2019-11-01 16:35:01 +09:30
Åke Forslund 821189d0c7 Use specific date in the past during the test 2019-11-01 07:54:35 +01:00
Chris Veilleux 183649ac5e Merge remote-tracking branch 'remotes/origin/dev' into feature/geolocation-api 2019-10-31 13:11:58 -05:00
Åke Forslund 3e905165e6 Fix Shutdown of removed skills
Verify that skill directory exists before writing to ensure that the
shutdown method doesn't throw exception if a skill is unloaded due to
being removed.
2019-10-31 11:40:41 +01:00
Åke 024274a5ca
Merge pull request #2372 from forslund/feature/speech-error-handling
Speech client error handling
2019-10-31 10:01:45 +01:00
Åke Forslund be133c5e64 Add testcase for this specific memory leak
Ensure that the event scheduler shutdown removes the all references in
the ThreadedEventEmitter.
2019-10-31 09:53:42 +01:00
Åke Forslund 3aea18c7be fix remove_all_events
The threaded event emitter did not remove the wrapper mapping when
remove_all_events were called causing trailing references to objects.
2019-10-31 09:42:24 +01:00
Åke Forslund d4a7193fe8 Remove circular reference during skill shutdown
This cleans up the extra skills references making the ref count trigger
correctly.
2019-10-31 09:38:46 +01:00
Åke 5f1cc40d0e
Merge pull request #2374 from forslund/feature/tts-create-error-handling
Fallback to Mimic if launch of TTS fails
2019-10-29 14:03:43 +01:00
Åke fab15cf5b5
Merge pull request #2371 from forslund/feature/faster-send
Speed up the send command
2019-10-29 09:23:16 +01:00
Åke Forslund 39a38bc641 Move send function away from __main__ file
This resolves the Runtime Warning "'mycroft.messagebus.send' found in sys.modules after import of package 'mycroft.messagebus', but prior to execution of 'mycroft.messagebus.send'; this may result in unpredictable behaviour"
2019-10-29 09:14:49 +01:00
Åke Forslund c8328526b1 Fallback to Mimic if launch of TTS fails
Logs the exception and fallsback to Mimic as TTS backend if there is an
issue with the selected TTS backend or if the choice is invalid.
2019-10-28 14:20:01 +01:00
Åke Forslund 8d4413db9c Update account id fetching
Account ID will now be refetched if invalid the first time.

This also adds some general exception handling to avoid client crashing due
to the servers invalid 204 response.
2019-10-26 09:35:03 +02:00
Åke Forslund 8bdeddb965 Catch and log errors starting up the speech client 2019-10-26 09:34:28 +02:00
Åke Forslund 741cc1c8db Fallback to default STT if loading fails
If a STT backend fails to load log the exception and fallback to the
MycroftSTT.
2019-10-26 09:30:07 +02:00
Å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