Commit Graph

1464 Commits (08e76e538d1dfe84e722f86324a9924eea9e123b)

Author SHA1 Message Date
el-tocino 08e76e538d added actions to the help section of msm. (#972)
Add actions to the help section of msm.
2017-08-09 08:09:18 +02:00
Åke ab22106659 Merge pull request #938 from MycroftAI/feature/fallbacks
Add intent fallback system

==== Fixed Issues ====
NONE - replace with issue numbers, e.g. #123, #304

====  Tech Notes ==== 
NONE - explain new algorithms in detail, tool changes, etc.

====  Documentation Notes ==== 
The FallbackSkill needs to be documented in detail for skill creators.


==== Environment Notes ==== 
NONE

==== Protocol Notes ====
multi_utterance_intent_failure replaced with complete_intent_failure
2017-08-08 21:00:51 +02:00
Michael Nguyen 3b8de2c094 Merge pull request #964 from MycroftAI/feature/fix-logger2
Fix the logger fix
2017-08-03 17:01:19 -05:00
penrods c138182451 Fix the logger fix
Gotta slow down my fingers.  Mixed "logging" and "mycroft.util.log" into
the non-existent "mycroft.util.logging".  Fixed.
2017-08-03 16:56:55 -05:00
penrods 76ef80e443 Switch to mycroft.util.logger
Changed from a plain logger to mycroft.util.logger
2017-08-03 16:42:26 -05:00
penrods 54bf9b3cb6 Fix a missing logger which caused a crash
Some exception code was attempting to use the LOGGER, but one had
not been created for this file.  So when the exception occurred
it caused a crash.

NOTE: We need to standardize on log/LOG/LOGGER!
2017-08-03 16:42:26 -05:00
Michael Nguyen 4ae511812c Merge pull request #962 from MycroftAI/feature/display_state_manager
Feature/display state manager
2017-08-03 14:21:40 -05:00
Arron Atchison bdfdc1fec5 bump version to 0.8.20 2017-08-03 14:19:29 -05:00
Matthew D. Scholefield fee8ffab59 Change skill-wolfram-alpha to fallback-wolfram-alpha
This is necessary because of the API breaking change
2017-08-03 13:49:32 -05:00
Matthew D. Scholefield 6f1a2dbe55 Convert static methods in FallbackSkill to class methods
This makes it more concise and mimics the behavior of self, but for static methods
2017-08-03 13:49:32 -05:00
Matthew D. Scholefield 3b6942a250 Move intent fallback behavior to new FallbackSkill base class 2017-08-03 13:49:32 -05:00
Matthew D. Scholefield 4afe6687c4 Fix intent failed messages before running fallbacks 2017-08-03 13:49:02 -05:00
Matthew D. Scholefield a86f0478a4 Add intent fallback system
Also removes multi utterence intent fail. Only makes sense to emit an intent_failure regardless of the amount of intents
2017-08-03 13:49:02 -05:00
Michael Nguyen ee3391db29 pep8.. 2017-08-03 13:04:12 -05:00
Michael Nguyen 4355dad333 moved init disp websocket to enclosure 2017-08-03 13:01:11 -05:00
Augusto Monteiro 4c1fbcb596 Merge pull request #961 from forslund/bugfix/issue-960
Catch exceptions in user provided stop() method
2017-08-03 12:03:50 -04:00
Åke Forslund db6127a0ed Catch exceptions in user provided stop() method
==== Fixed Issues ====
#960

====  Tech Notes ====
The messagebus handler for "mycroft.stop" halts and exits if an
exception occurs in any methods that are registered to that name. The
handler executes the stop() method that's provided by the user and is
not verified. To ensure that other skills are unaffected exceptions in
the user provided method are caught.

====  Documentation Notes ====
NONE - things like description of a new feature or notes on behavior
changes

==== Localization Notes ====
NONE - point out new strings, functions needing international versions,
etc.

==== Environment Notes ====
NONE - new package requirements, new files being written to disk,
etc.

==== Protocol Notes ====
NONE - message types added or changed, new signals, etc.
2017-08-03 14:14:31 +02:00
Åke Forslund a0ac65ac35 Fix rebase issues introduced with audio subsystem
util/signal.py add missing import time
move tts thread shutdown/clear to audio/speech.py
2017-08-02 16:53:48 -05:00
aatchison 5f5aeedd15 Commit headline -- not longer than this line (50)
Add entry point to mycroft base setup. This allows setuptools to
include it in the build.
==== Fixed Issues ====

====  Tech Notes ====
NONE - explain new algorithms in detail, tool changes, etc.

====  Documentation Notes ====
NONE - description of a new feature or notes on behavior changes

==== Localization Notes ====
NONE - point to new strings, language specific functions, etc.

==== Environment Notes ====
NONE - new package requirements, new files being written to disk, etc.

==== Protocol Notes ====
NONE - message types added or changed, new signals, APIs, etc.
2017-08-02 16:30:54 -05:00
Steve Penrod 8295821f09 Fix Github pull request doc link 2017-08-02 13:14:50 -05:00
penrods a3feed6f01 Add suggestion and examples of imperative text
Add grammar suggestions for consistent git messages.  Following the same
mood makes generation of release notes and working in Github in general
easier.

Based on comments found at:
http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html
2017-08-02 12:54:44 -05:00
penrods 6ed479346c Adding commit template and dev_setup.sh support
The commit template provides a developer with a structure to follow
for communicating with others on the mycroft-core project.

====  Tech Notes ====
Please use this template from here on!
2017-08-02 12:54:44 -05:00
Michael Nguyen 58288b4c11 fixed permissions bug 2017-08-02 12:46:05 -05:00
Michael Nguyen c1041b9902 fixed permissions bug 2017-08-02 12:34:04 -05:00
aatchison 9887009240 Upgrage netifaces in requirements.txt to netifaces==0.10.6 2017-08-02 11:57:57 -05:00
aatchison 80d152a95f restricted mock==2.0.0 2017-08-02 11:42:21 -05:00
aatchison 4be137944e Altered prepare-msm.sh to change permissions to the correct user
Added a function to change ownership
Added an ownership check that is always run in the case of a botched run the first time
2017-08-02 10:46:28 -05:00
Michael Nguyen 07b123db89 Merge pull request #944 from forslund/bugfix/issue-943
Remove volume parameter from default wav play cmd
2017-08-02 10:06:39 -05:00
Åke 6a125cd155 Merge pull request #945 from el-tocino/Issue942
==== Fixed Issues ====
#942 

====  Tech Notes ==== 
Separate multiple skills found error from no skill found error.

- Multiple skills found = Err 301
- No skill found = Err 302
2017-08-02 12:25:40 +02:00
Åke e7c55aaa43 Merge pull request #933 from MycroftAI/feature/skill-configuration
Feature/skill configuration
2017-08-02 08:57:28 +02:00
el-tocino 98ee790d33 altered return codes for dupe/missing 2017-08-02 01:29:18 -05:00
Åke Forslund ddf0e3578e Remove volume parameter from default wav play cmd
==== Fixed Issues ====
#943
2017-08-02 08:08:42 +02:00
Augusto Monteiro 738849a30e Merge pull request #941 from MycroftAI/bugfix/issue-940
bugfix/issue-940 change LOGGER to logger
2017-08-01 17:52:39 -04:00
Michael Nguyen b68baf1d57 change LOGGER to logger 2017-08-01 16:39:13 -05:00
Michael Nguyen 12c7302ac7 changed logger to LOGGER 2017-08-01 16:22:49 -05:00
Michael Nguyen 48b26d1fbd added new test and put back is_stored property 2017-08-01 13:52:51 -05:00
vavrek acc3fde7bd Merge pull request #908 from augustnmonteiro/dev
Making Readme.md more contributor friendly
2017-08-01 20:34:46 +02:00
Åke e1a1751519 Merge pull request #433 from forslund/audio-service
Add audio service

==== Fixed Issues ====
NONE

====  Tech Notes ==== 
Adds a separate audio service process. This audio service handles queuing audio and adds the possibility to send audio to different backends (including mpg123, vlc, mopidy and chromecast)

TTS is moved from the clients to this process.

====  Documentation Notes ==== 
audio service skill API should be documented.

==== Localization Notes ==== 
NONE

==== Environment Notes ==== 
The audio service needs to be started together with the other parts of mycroft.
Ideally we should include vlc on the image to allow better control over the playback than mpg123/aplay allows

==== Protocol Notes ====
A bunch of audio control related message bus messages has been added:

mycroft.audio.service.play - start playing a playlist
mycroft.audio.service.pause - pause currently playing list
mycroft.audio.service.resume - resume paused playback
mycroft.audio.service.stop - stop playback
mycroft.audio.service.next - start playing next track
mycroft.audio.service.prev - start playing previous track
mycroft.audio.service.track_info - return information about the currently playing track
2017-08-01 13:23:00 +02:00
Åke Forslund df18f42ae0 Remove debug prints 2017-08-01 11:45:42 +02:00
Åke Forslund 9c49f97421 Audio service is_playing property 2017-07-31 13:37:18 +02:00
Åke Forslund 0e2029d9fe Add support for muting pulse audio streams
when the audio configuration option "pulseaudio" is set to mute running
audio streams will be muted while mycroft is speaking and while mycroft
is listening.
2017-07-31 13:37:18 +02:00
Åke Forslund 6f37d3c8f8 Fix bug in track_info_method
* import Message to allow audio service to reply info
* Add default message to audio service class
2017-07-31 13:37:18 +02:00
Åke Forslund 3aee40274a Fix pep8 issue introduced during rebase. 2017-07-31 13:37:18 +02:00
Åke Forslund 68506cb519 Add basic tests for audio service 2017-07-31 13:37:17 +02:00
Åke Forslund 93a9848a4c Move speech information methods to audio 2017-07-31 13:37:17 +02:00
Åke Forslund a2e0f31dd3 Add playback-control skill to defaults 2017-07-31 13:37:17 +02:00
Åke Forslund 769b4f900e Move text to speech to audio service 2017-07-31 13:37:17 +02:00
Åke Forslund 824503ae4d Volume is now changed in relation to current volume for vlc 2017-07-31 13:37:17 +02:00
Åke Forslund 8d4aabe6ca Correct resume handler 2017-07-31 13:37:17 +02:00
Åke Forslund e1eb61e9d8 Update default setting to new standard 2017-07-31 13:37:17 +02:00