Monkey Patcher
May 18, 2021 ยท View on GitHub
Apply patches to mycroft-core at runtime

About
Contributing to Mycroft is a bit of a fight with upstream
this skill applies a bunch of monkey patches at runtime to add/fix things not merged into mycroft-core, full details in ovos_utils PR#15
Patches
MycroftSkill and FallbackSkill patches:
- add
MycroftSkill.handle_skill_deactivatedfrom https://github.com/MycroftAI/mycroft-core/pull/1468 (improved) - patch
MycroftSkill.bind- enable
SkillApifrom https://github.com/MycroftAI/mycroft-core/pull/1822 - enable
ovos_utils.intents.ConverseTracker
- enable
- patch
MycroftSkill.voc_matchhttps://github.com/MycroftAI/mycroft-core/pull/2675 - patch
MycroftSkill.guito use patchedSkillGUI(see bellow) - patch
MycroftSkill.init_dialogto useovos_utils.lang.get_language_dir - patch
MycroftSkill.load_vocab_filesto useovos_utils.lang.get_language_dir - patch
MycroftSkill.load_regex_filesto useovos_utils.lang.get_language_dir
SkillGUI patches:
Video playback from https://github.com/MycroftAI/mycroft-core/pull/2683
- add
SkillGUI.play_video - add
SkillGUI.is_video_displayed - add
SkillGUI.playback_status - add
SkillGUI.pause_video - add
SkillGUI.resume_video - add
SkillGUI.stop_video
Skill settings from https://github.com/MycroftAI/mycroft-core/pull/2698
- add
SkillGUI.register_settings - add
SkillGUI.show_settings
CommonPlaySkill patches:
- add
CPSMatchTypefrom https://github.com/MycroftAI/mycroft-core/pull/2660
Platform support
- :heavy_check_mark: - tested and confirmed working
- :x: - incompatible/non-functional
- :question: - untested
- :construction: - partial support
| platform | status | tag | version | last tested |
|---|---|---|---|---|
| Chatterbox | :question: | dev | never | |
| HolmesV | :question: | dev | never | |
| LocalHive | :question: | dev | never | |
| Mycroft Mark1 | :question: | dev | never | |
| Mycroft Mark2 | :question: | dev | never | |
| NeonGecko | :question: | dev | never | |
| OVOS | :question: | dev | never | |
| Picroft | :question: | dev | never | |
| Plasma Bigscreen | :question: | dev | never |
tag- link to github release / branch / commitversion- link to release/commit of platform repo where this was tested
Credits
JarbasAI
Category
Configuration
Tags
#patch #monkey-patch