Merge pull request #2900 from MycroftAI/bugfix/common-play-active
Add Common Play to active Skills when invokedpull/2937/head
commit
0cbd040a55
|
@ -55,6 +55,7 @@ class CommonPlaySkill(MycroftSkill, ABC):
|
|||
mycroft-playback-control skill and no special vocab for starting playback
|
||||
is needed.
|
||||
"""
|
||||
|
||||
def __init__(self, name=None, bus=None):
|
||||
super().__init__(name, bus)
|
||||
self.audioservice = None
|
||||
|
@ -165,6 +166,8 @@ class CommonPlaySkill(MycroftSkill, ABC):
|
|||
# "... on the chromecast"
|
||||
self.play_service_string = phrase
|
||||
|
||||
self.make_active()
|
||||
|
||||
# Invoke derived class to provide playback data
|
||||
self.CPS_start(phrase, data)
|
||||
|
||||
|
|
Loading…
Reference in New Issue