iot-platform-raspberry/birbnetes_iot_platform_raspberry/playback_stuff.py

17 lines
267 B
Python
Raw Normal View History

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