iot-platform-raspberry/birbnetes_iot_platform_raspberry/playback_stuff.py

17 lines
267 B
Python

from playsound import playsound
class BirbnetesIoTPlatformPlaybackDriver:
@classmethod
def init(cls):
pass
@classmethod
def play_audio(cls, audiofile: str):
playsound(audiofile)
@classmethod
def cleanup(cls):
pass