harperreed / google-home-notifier-python

A google home notification webservice
123 stars 35 forks source link

play_mp3 plays too fast or not at all #7

Open gspyder3000 opened 5 years ago

gspyder3000 commented 5 years ago

I'm using on Windows 10 with Python 3.6.8 and a Google Home Mini. Using your main.py and can connect to my mini but when using play_mp3("doorbell1.mp3") it either plays very fast, like 4 or 5 rings in just a second or not at all, works about 1 time out of 5 to 10 tries. What can I do so it plays at the correct speed and consistently works?

I can't use play("doorbell1.mp3") since I get the errors: RuntimeError: Working outside of request context. This typically means that you attempted to use functionality that needed an active HTTP request

Thanks - Gary