Skip to content

Commit

Permalink
wait_while_speaking
Browse files Browse the repository at this point in the history
  • Loading branch information
JarbasAl committed Feb 7, 2018
1 parent 16d00a2 commit ee90de9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions __init__.py
Expand Up @@ -4,7 +4,7 @@
import urllib
import urllib2
from bs4 import BeautifulSoup
from os.path import join
from mycroft.audio import wait_while_speaking
from mycroft.skills.core import MycroftSkill
try:
from mycroft.skills.audioservice import AudioService
Expand Down Expand Up @@ -54,7 +54,7 @@ def handle_play_song_intent(self, message):
# music code
self.enclosure.mouth_display("IIAEAOOHGAGEGOOHAA", x=10, y=0,
refresh=True)

wait_while_speaking()
if AudioService:
self.audio_service.stop()
self.audio_service.play(videos, "vlc")
Expand Down

0 comments on commit ee90de9

Please sign in to comment.