2020-09-30 00:15:17 +02:00
|
|
|
from playsound import playsound
|
|
|
|
|
|
|
|
|
|
|
|
class BirbnetesIoTPlatformPlaybackDriver:
|
|
|
|
|
|
|
|
@classmethod
|
|
|
|
def init(cls):
|
|
|
|
pass
|
|
|
|
|
|
|
|
@classmethod
|
|
|
|
def play_audio(cls, audiofile: str):
|
|
|
|
playsound(audiofile)
|
2020-09-30 03:12:25 +02:00
|
|
|
|
|
|
|
@classmethod
|
|
|
|
def cleanup(cls):
|
|
|
|
pass
|