You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This might be a strange request, but I'm trying to figure out a way to wake the screen every time I send the MEDIA_PLAY command is sent. The problem comes from how the screensaver gets interrupted the first time I try to resume playback and I have to tell it to resume a second time for the desired action. I'm not very good with Python, but I was trying to create something along these lines:
I thought maybe I could modify this to, instead of urls, send first TURN_ON_SCREEN, followed by MEDIA_PLAY with a sleep in between. Any help or advice would be appreciated.
The text was updated successfully, but these errors were encountered:
This might be a strange request, but I'm trying to figure out a way to wake the screen every time I send the MEDIA_PLAY command is sent. The problem comes from how the screensaver gets interrupted the first time I try to resume playback and I have to tell it to resume a second time for the desired action. I'm not very good with Python, but I was trying to create something along these lines:
https://stackoverflow.com/questions/56824728/how-do-i-return-multiple-values-from-an-async-function-to-a-synchronous-context
I thought maybe I could modify this to, instead of urls, send first TURN_ON_SCREEN, followed by MEDIA_PLAY with a sleep in between. Any help or advice would be appreciated.
The text was updated successfully, but these errors were encountered: