Commit Graph

3401 Commits (a8d05105890d00a35e3bbfb0eec40d862996ff5d)

Author SHA1 Message Date
Åke a8d0510589
Merge pull request #2174 from MichaIng/patch-1
German spelling: May => Mai
2019-06-27 19:12:18 +02:00
MichaIng 6bb8d4e0ae
German spelling: May => Mai 2019-06-26 19:30:07 +02:00
Åke dbe3f2242b
Merge pull request #2173 from forslund/bugfix/debian-detect
Fix debian detection
2019-06-26 11:18:21 +02:00
Åke Forslund 51db7829bd Fix debian detection
Debian is not like Debian, Debian is Debian
2019-06-26 10:41:00 +02:00
Åke a0f7fe2822
Merge pull request #2171 from forslund/bugfix/read-voc-lowercase
Read .voc files as lowercase
2019-06-26 10:35:11 +02:00
Åke 0a67544ea4
Merge pull request #2168 from forslund/feature/update-pychromecast
Update pychromecast to 3.2.2
2019-06-26 10:34:55 +02:00
Åke Forslund 04c0ebf820 Clean up handling of STT returning None 2019-06-25 11:37:01 +02:00
Åke Forslund 2a65623c6d Read vocab the .voc files as lowercase
A common error is to add capitalization in the .voc files when
translating them using the translate tool.
2019-06-25 11:05:44 +02:00
Åke 7a2e58bb8f
Merge pull request #2167 from MichaIng/patch-2
[Debian] Replace Python 2 packages by their Python 3 counterparts and remove doubled "automake"
2019-06-25 09:47:56 +02:00
Åke a17c93223b
Merge branch 'dev' into patch-2 2019-06-25 09:36:41 +02:00
Åke a66dd0868f
Merge pull request #2166 from MichaIng/patch-1
Update dev_setup.sh to use and benefit from bash double square bracket syntax
2019-06-25 08:49:44 +02:00
MichaIng 0867a8c972
Apply coding style to new package install prints as well 2019-06-24 23:01:11 +02:00
MichaIng 5725359f16
Merge branch 'dev' into patch-1 2019-06-24 22:53:41 +02:00
MichaIng 4c4ebce8cc
Bash coding tuning
+ Always use single quotes around strings that are fully meant literal and do not contain single quotes themselves.
+ Remove curly braces around variable names, if no next character or a space is following.
+ Remove curly braces double quotes around single variables (and command substitutions) that are assigned to variables. The contained strings are always added correctly with spaces.
+ Merge multiple printed lines into one echo call.
2019-06-24 22:47:25 +02:00
MichaIng 73f774747e
Merge branch 'dev' into patch-2 2019-06-22 14:13:34 +02:00
Åke 2b6c7132b1 Allow setting loglevel for speech / voice service (#2169)
Add create_echo_function line to activate the standard logging options
2019-06-21 13:42:32 -05:00
Åke a9a57cb4fc Feature/better os detection (#2165)
* Improve detection of correct package manager

Use the new function os_is_like to detect Fedora based systems and Debian derivatives.

* Update manual install instructions

Manual install instructions were quite outdated and does not match the
actual needed packages.

* Update colors.

Green for detected OSes, Yellow if OS was not detected. Blue is kept for
package highlighting list of packages needed.
2019-06-21 13:41:49 -05:00
Åke 3b697519d0 Make sure help section shows everything (#2151)
- Use entire screen height
- Correct page number calculation
- Add constants to improve code readability
2019-06-20 17:04:08 -05:00
Åke d1ac0ca85d Add gui related messages to list of hidden messages (#2170)
These currently mainly clutter up the logs
2019-06-20 17:01:20 -05:00
Åke 5ff6e6c89e
Merge pull request #2150 from MycroftAI/commonIoT/state
CommonIoT/state
2019-06-20 12:16:17 +02:00
Chris Rogers a40218da18 Add lock/unlock actions 2019-06-20 12:02:34 +02:00
Chris Rogers 395c31cf29 Fix pep8 issues 2019-06-20 12:02:34 +02:00
Chris Rogers e1a2de7046 Add locate 2019-06-20 12:02:34 +02:00
Chris Rogers c966dbe5bd Add basic state support 2019-06-20 12:02:33 +02:00
Chris Rogers 44d51d15f3 Add speak support 2019-06-20 12:02:33 +02:00
Chris Rogers 3602ff8e87 Begin support for state queries 2019-06-20 12:02:28 +02:00
Åke Forslund 62b115e22c Update pychromecast to 3.2.2
pychromecast needed to be updated to fix pip package version conflict
when using streaming google STT.

Minor issues with startup of audio needed to be handled, mainly adding
explicit waits to ensure commands would be accepted
2019-06-20 08:59:27 +02:00
MichaIng 58356b053b
Remove GObject dependency from install deps completely 2019-06-18 20:17:16 +02:00
MichaIng d504b13bf6
Replace Python 2 packages by their Python 3 counterparts and remove doubled "automake"
+ python3-setuptools: https://packages.debian.org/stretch/python3-setuptools
+ python3-gi: https://packages.debian.org/stretch/python3-gi
2019-06-18 18:13:49 +02:00
MichaIng ef7e72c524
Update dev_setup.sh to use and benefit from bash double square bracket syntax
+ Consequently use double square brackets (over single square backets), to be consistent and benefit from this syntax
+ Skip obsolete quoting of left sided variables and strings in double square brackets
+ Use "-z" instead of comparing with empty string explicitly in double square brackets
+ Merge multiple double square bracket expressions, connected by "&&" or "||", into a single expression
+ "! -z" => "-n"
+ Remove obsolete free spaces from command substitutions, to be consistent
2019-06-18 17:35:33 +02:00
Åke 5c1009d480
Merge pull request #2162 from MycroftAI/feature/travis-build-branches
Limit travis branch builds to dev and master
2019-06-17 12:59:06 +02:00
Åke e9879d91bf
Merge pull request #2163 from forslund/bugfix/metaclass
Fix obsolete metaclass declarations.
2019-06-14 16:19:34 +02:00
Åke Forslund 5211e51ec0 Remove requirement for seek_methods 2019-06-14 13:42:34 +02:00
Åke Forslund 39c844a257 Update old style metaclasses
the old "__metaclass__" has been ignored since the switch to python 3
this restores the metaclass functionality by updating it to the new
class kwarg syntax
2019-06-14 12:56:48 +02:00
Åke Forslund 827f865cb5 Limit travis branch builds to dev and master 2019-06-14 11:54:43 +02:00
Åke 52cd352e08
Merge pull request #2160 from MycroftAI/feature/google-streaming-stt
Feature: Google Streaming STT
2019-06-14 11:52:12 +02:00
David Wagner 4aab06d94a Docstrings 2019-06-13 09:52:31 -05:00
David Wagner d962240405 PEP8 2019-06-13 09:13:41 -05:00
David Wagner e9f68fea55 Only import google-cloud-speech if GoogleCloudStreamingSTT class is used. 2019-06-13 08:51:16 -05:00
David Wagner b585b3bd1b Merge branch 'dev' into feature/google-streaming-stt
# Conflicts:
#	mycroft/client/speech/listener.py
2019-06-13 08:31:44 -05:00
David Wagner 5f18b12617 Add back self.text 2019-06-13 07:17:08 -05:00
David Wagner 89a9ea16e2 Whitespace! 2019-06-11 17:41:06 -05:00
David Wagner bd2c1d802d PEP8 and remove fallback_stt 2019-06-11 17:35:50 -05:00
David Wagner d3c9ca4161 Remove comments 2019-06-11 17:32:21 -05:00
David Wagner 85931f43fc Google imports 2019-06-11 17:01:02 -05:00
David Wagner ab3c75f1f8 Google streaming 2019-06-11 17:00:47 -05:00
David Wagner 20d58e5724 DeepSpeech streaming 2019-06-11 17:00:16 -05:00
David Wagner c9dc14d528 StreamThread and StreamingSTT abstract classes 2019-06-11 16:59:45 -05:00
Åke aa70acd3f9
Merge pull request #2152 from forslund/feature/skill-manifest-safety
Skill manifest upload checks
2019-06-11 22:22:58 +02:00
Åke 604867201c
Merge pull request #2158 from MycroftAI/feature/time-to-system
Add mycroft.util.time.to_system()
2019-06-11 17:19:27 +02:00