Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
NPR skill issue #24
Comments
ryanleesipes
added
the
Enhancement
label
May 23, 2016
ryanleesipes
added this to the Bug Fixes From Release milestone
May 23, 2016
ryanleesipes
assigned
jdorleans
May 23, 2016
|
NPR skill uses mpg123 process to run the mp3 stream from NPR. To stop it we need to kill that process. Today, we do this by sending a command to the NPR Skill to stop once you press the button (make sure you have the latest core version). However, there is a knowing hardware bug that prevents the pressing action to work and you'd have to turn the encoder instead. Please, try that as well and let me know if it works. Also, it is still on our roadmap to implement the mycroft stop voice command. Note: if you are not successful to stop by turning the encoder, just killall mpg123 for now. |
|
Unless I'm mistaken, my rather hackish method to stop skills with the
|
|
@aatchison you're right, the flow should be:
It's important to note though, the enclosure mycroft service must be running. So we'll be able to detect the button pressing action (remember the hardware issue, it might be a encoder turn instead of pressing). |
|
Let's integrate the stop event functionality into the "Mycroft Stop" skill, then it could come from where ever:) |
|
Yes, the basic structure, and I believe most part of it, has been done awhile ago. Now, it's a matter of creating and prioritizing the general "Mycroft Stop" task. |
ChristopherRios7 commentedMay 21, 2016
There is an issue with the NPR news skill, there is no way to stop this skill when it is activated. You cannot stop the skill by clicking the button.
The only way to stop it, from my experience is to SSH the device and perform 'sudo reboot'.