Skip to content

Commit

Permalink
Keep the enclosure code running
Browse files Browse the repository at this point in the history
  • Loading branch information
j1nx committed Jan 2, 2020
1 parent e749de3 commit eddac99
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions opt/mycroft/enclosure/MycroftOS-Enclosure.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

#from mycroft.client.enclosure.generic import EnclosureGeneric
from jarbas_utils.system import system_reboot, system_shutdown, ssh_enable, ssh_disable
from jarbas_utils import wait_for_exit_signal
from jarbas_utils.sound.pulse import PulseAudio
from jarbas_utils.log import LOG
from jarbas_utils.messagebus import get_mycroft_bus, Message
Expand Down Expand Up @@ -64,3 +65,7 @@ def on_volume_duck(self, message):

def on_volume_unduck(self, message):
self.pulse.unmute_all()

if __name__ == "__main__":
EnclosureMycroftOS()
wait_for_exit_signal()

0 comments on commit eddac99

Please sign in to comment.