Hacktober part I
The big news in this issue is adding the CommonPlaySkill
, a subclass of the MycroftSkill adding functionality for negotiating which skill should handle a playback call. This will still need a couple of skill updates to take advantage of the system but it should be running within a day or two.
In this release we also have gotten our first couple of new hacktoberfest contributors @mpolidori and @silvia-odwyer (and @JarbasAl but he's not really new). A big thank you for these contributions, we hope you'll stick around!
Common playback skill #1843
Adds the base class for the common play skill implementing the base functionality. To create a skill import the CommonPlaySkill:
from mycroft.skills.common_play_skill import CommonPlaySkill
and create a class implementing the methods CPS_match_query_phrase
and CPS_start
. The first will parse a phrase and return a confidence level and the second will start playback:
class MyPlaybackSkill(CommonPlaySkill):
def CPS_match_query_phrase(self, phrase):
# Check if the phrase is playable and return confidence level
return return phrase, confidence, data # data can be used to send info to the CPS_start skill
def CPS_start(self, phrase, data):
# Start playback of the matched query
Fallback TTS #1840
If a remote TTS such as Mimic 2 or googleTTS is used and the network connection goes down the tts will fallback to the local version of Mimic.
Cross skill context #1815
A system for setting context for all skills was added. Big shuot out to @JarbasAI for building this!
Lock the usage of the identity file #1801, #1820, #1821, #1828, #1830
To reduce risk of multiple processes accessing the identity file a locking system was added.
Fix the problem trillions issue when formating numbers #1841
Rework and fixing of issue with trillions when using nice_number
. Many thanks to @nielstron for tackling this in an excellent way!
CentOS 7 support #1837
dev_setup.sh
can now be used on CentOS to setup mycroft. Many thanks to @JarbasAI and @assasen11
Warn when unsupported parse function is used for unsupported language #1831
Shout out to @silvia-odwyer for fixing this!
Fix invalid escape sequence in remote_tts.py #1845
Thanks to @mpolidori the invalid escape sequence was fixed!
Allow setting log level in user config #1832
The log level can now both be set in the system config and the user config. Thanks @JarbasAI !
Miscellaneous
- Fix bug causing CLI required 2 ctrl+C to exit #1826
- Reduce logging #1819
- Lock the version of get-pip used during dev_setup #1833
- Minor cleanup of
mycroft.skills.core
#1835 - Fix parsing of today, tomorrow, yesterday #1827
- Add possibility to set a separate language for GoogleCloudSTT #1842
- Use the phonetic spelling with mimic2 #1818