Commit Graph

665 Commits (0044e154df3ce77e7d92f3a0fdd86ac8cc58dc93)

Author SHA1 Message Date
Augusto Monteiro 0044e154df #521 - removing comment 2017-02-23 23:03:12 -08:00
Augusto Monteiro 1b0afe92de #521 - Skill auto reload 2017-02-23 23:03:12 -08:00
penrods e47e38c92c Fixes issue #528
Max recording time is now 10 seconds instead of 30.  This deals with cases where a noisy background prevents the listener's silence detection from triggering.  30 seconds was WAAY too long to keep listening -- nobody is going to be saying something that long for now.
2017-02-23 20:54:39 -08:00
Karl Fezer 900033b99e Changes to be committed:
modified:   mycroft/util/__init__.py

FIXES BUG 519
2017-02-15 18:48:20 -08:00
Arron Atchison de00192dc6 all lil peps fixed 2017-02-15 15:37:52 -06:00
Arron Atchison c1ea573493 fixed pep8 in enclosure client folder 2017-02-15 15:37:52 -06:00
Arron Atchison 8599146dc4 fix pep8 in skills folder 2017-02-15 15:37:52 -06:00
Karl Fezer d3fef6be61 modified: mycroft/skills/pairing/__init__.py 2017-02-15 15:37:52 -06:00
Karl Fezer 4d50f852d2 modified: mycroft/util/__init__.py 2017-02-15 15:37:52 -06:00
Karl Fezer e0d11b1dd0 modified: mycroft/util/__init__.py
Fixing Pep8 errors
part of issue 515
2017-02-15 15:37:52 -06:00
Karl Fezer e874df266e Changes to be committed:
modified:   mycroft/util/__init__.py
2017-02-15 15:37:52 -06:00
kfezer 58d3b214ae Update __init__.py 2017-02-15 15:37:52 -06:00
Arron Atchison 5576f01e91 commenting out unit tests in .travis.yml 2017-02-15 15:37:52 -06:00
kfezer 28f452bd6b Update mycroft.conf 2017-02-15 15:37:52 -06:00
Karl Fezer 3c5afbe63d new file: mycroft/skills/pairing/__init__.py 2017-02-15 15:37:52 -06:00
Karl Fezer 2da508498d deleted: mycroft/skills/pairing/__init__.py 2017-02-15 15:37:52 -06:00
Karl Fezer a691003071 modified: mycroft/configuration/mycroft.conf
modified:   mycroft/util/__init__.py
2017-02-15 15:37:52 -06:00
kfezer fb2f8e11ef Update __init__.py 2017-02-15 15:37:52 -06:00
kfezer 7cc59f7522 Update __init__.py 2017-02-15 15:37:52 -06:00
kfezer 7304be098f Update __init__.py 2017-02-15 15:37:52 -06:00
kfezer 5c03efc6e6 Update __init__.py 2017-02-15 15:37:52 -06:00
kfezer f1da181c9f Update __init__.py 2017-02-15 15:37:52 -06:00
Karl Fezer d4e169c4a3 modified: mycroft/skills/core.py
Added more verbose logging to the core.py file which adds skills on boot-up.

Issue #511
2017-02-15 15:37:52 -06:00
kfezer 627e912e7b Update __init__.py 2017-02-15 15:37:52 -06:00
Åke Forslund 071de2bcd6 Remove load_data_files(...) from all skills where applicable 2017-02-15 15:37:52 -06:00
Augusto Monteiro 9ca97d55fc #503 - Fixing resource path 2017-02-15 15:37:52 -06:00
Arron Atchison 0e3d4d3699 added start_listening.wav to mycroft-base-MANIFEST.in 2017-02-15 15:37:52 -06:00
penrods 5f8775883a Refining new "listening" sound mechanism
This adds several refinements to the listening sound mechanism added by:
* Added a default sound file
* Allowing various ways to override "resource files" for customization
* Moved the sound configuration path from "confirm_ding" to
  "sounds" > "start_listening"
* Also added "sounds" > "end_listening" configuration for the future

This submission adds the new mycroft.util.resolve_resource_file(res_name)
method.  This method takes a name such as "snd/start_listening.wav" and
looks (in order):
* For an absolute path <res_name>
* For ~/.mycroft/<res_name>
* For /opt/mycroft/<res_name>
* For mycroft/res/<res_name> within the source package
2017-02-15 15:37:52 -06:00
Arron Atchison 990dd27c5e Revert "Refining new "listening" sound mechanism (#503)" 2017-02-15 15:37:52 -06:00
Arron Atchison e9ef6441a2 #496 update adapt-parser to 0.3.0 2017-02-15 15:37:52 -06:00
Åke b0eeaf2200 install-mimic picks a specific version, not the latest (#437) 2017-02-15 15:37:52 -06:00
Steve Penrod a53a5bf0a6 Refining new "listening" sound mechanism (#504)
This adds several refinements to the listening sound mechanism added by:
* Added a default sound file
* Allowing various ways to override "resource files" for customization
* Moved the sound configuration path from "confirm_ding" to
  "sounds" > "start_listening"
* Also added "sounds" > "end_listening" configuration for the future

This submission adds the new mycroft.util.resolve_resource_file(res_name)
method.  This method takes a name such as "snd/start_listening.wav" and
looks (in order):
* For an absolute path <res_name>
* For ~/.mycroft/<res_name>
* For /opt/mycroft/<res_name>
* For mycroft/res/<res_name> within the source package
2017-02-15 15:37:52 -06:00
tmajibon 647f90f836 Listen Confirmation Ding (#472)
* Listen confirmation

If enabled, will play a wave file to confirm that Mycroft is listening

* Listen confirmation ding config options

* Rename config option

* Update mycroft.conf

* Type: Rename config option

* Missing imports

Whoops, forgot them (was copying edits since I didn't have my dev environment set up)

* Removing unnecessary import functions
2017-02-15 15:37:52 -06:00
Steve Penrod 3af412988b Changed word-choice for Mimic pronunciations
Changed word-choice for Mimic pronunciations
2017-02-15 15:37:52 -06:00
kfezer ceaf289b77 Update __init__.py 2017-02-15 15:37:52 -06:00
Åke Forslund 4788664418 Load data files from skill directory when loading skill. 2017-02-15 15:37:52 -06:00
Åke Forslund 23fe0fff2b Load skill data nicely without throwing exceptions
Check if dialog and vocab dirs exist before trying to load files. Log an error if it fails.
2017-02-15 15:37:52 -06:00
Arron Atchison e4a09fef65 increment version to 0.8.3 2017-02-07 14:42:30 -06:00
penrods acfdff416b More Location integration for #487
For the Weather Skill:
* When talking about the current city, the city name is generally not spoken (more natural)
* A "pretty" name of just the city is used instead of the complete name
* Works around the recurring issue with OWM where they report bad min/max temps (same as the current temp)
* Changed "Location is not valid" to "I don't know that location" (people don't say "not valid")

For the Time Skill:
* The timezone is extracted from the device location setting
* Time responses are more varied and shorter

This change adds MycroftSkill.location_pretty and MycroftSkill.location_timezone properties.
2017-02-03 10:49:54 -06:00
penrods c3070beb7b CLI improvements, as per issue #493
* "Input:" doesn't get intermingled with the output (usually -- long pauses can still cause it to happen)
* "Output:" is now displayed
* Ctrl+C is handled gracefully
2017-02-03 10:49:07 -06:00
Augusto Monteiro fc71c9fbcc #487 - Updating synchronize configuration time 2017-02-01 23:40:13 -03:00
Augusto Monteiro c07cdaef6f #487 - Integrate Location with mycroft-core
- Adding more phrases on location not found dialog
- Creating get_location method
- Fixing identation
2017-02-01 23:40:13 -03:00
Augusto Monteiro 3e092554e3 #487 - Checking if location exists if doesn't say location not found dialog 2017-02-01 23:40:13 -03:00
Augusto Monteiro d1068ab3ac #487 - Adding default values for location on weather skill 2017-02-01 23:40:13 -03:00
Augusto Monteiro bed6175b7d #487 - Saving all location object in the configuration instead of only the name 2017-02-01 23:40:13 -03:00
Augusto Monteiro 540cd893c2 #487 - Integrating location microservice with mycroft core 2017-02-01 23:40:13 -03:00
Nicolas Couture 878b05298d #372 - dev_setup.sh ignores WORKON_HOME when VIRTUALENV_ROOT is unset (#376)
#372 - dev_setup.sh ignores WORKON_HOME when VIRTUALENV_ROOT is unset
- Favor using the WORKON_HOME environment variable over VIRTUALENV_ROOT
- Specifying the name of the virtualenv directory
- Postfixing VIRTUALENV_ROOT with "/mycroft"
2017-02-01 23:40:13 -03:00
Jonathan D'Orleans 04359f000f #484 - Fixing STT config initialization
- Ensuring config is set to the specified module
- Initializing credential from the selected module configuration
2017-02-01 23:40:13 -03:00
Augusto Monteiro d13b539644 #452 - Ensuring that refresh_token is an isolated method to avoid duplication
- Storing old_params on self
- Reordering methods
- Removing 403 check on get_response
2017-02-01 23:40:13 -03:00
Augusto Monteiro bfc47bc16a #452 - Refresh token if request return unauthorized 2017-02-01 23:40:13 -03:00