Streaming off in sleep mode.

This commit is contained in:
Pecusx
2017-05-10 20:16:30 +02:00
committed by GitHub
parent 8e972bec74
commit 6884940929
3 changed files with 48 additions and 12 deletions
+2 -1
View File
@@ -266,7 +266,7 @@ class MyDaemon(Daemon):
radio.unmute()
displayWakeUpMessage(lcd)
radio.setDisplayMode(radio.MODE_TIME)
radio.streamingWakeup()
# Toggle line 2 & 3 scrolling
if toggleScrolling:
@@ -845,6 +845,7 @@ def checkTimer(radio):
if radio.getSource() == radio.PANDORA: # Jesli gra pandora to nie pauzujemy (mutujemy) tylko stopujemy
radio.pandora_stop()
radio.setDisplayMode(radio.MODE_SLEEP)
radio.streamingSleep()
interrupt = True
return interrupt