mirror of
https://github.com/pkali/piradio-mini.git
synced 2026-05-20 22:34:22 +02:00
Small fix - RSS in standby.
This commit is contained in:
@@ -257,6 +257,9 @@ class MyDaemon(Daemon):
|
||||
toggleScrolling = True
|
||||
|
||||
if display_mode == radio.MODE_SLEEP:
|
||||
if config.rss:
|
||||
time.sleep(0.1)
|
||||
else:
|
||||
time.sleep(1)
|
||||
else:
|
||||
time.sleep(0.1)
|
||||
@@ -773,7 +776,6 @@ def displayShutdown(lcd):
|
||||
lcd.line1("Stopping radio")
|
||||
radio.execCommand("service mpd stop")
|
||||
radio.pandora_stop()
|
||||
lcd.line2(" ")
|
||||
lcd.line3(" ")
|
||||
lcd.line4(" ")
|
||||
radio.execCommand("shutdown -h now")
|
||||
|
||||
Reference in New Issue
Block a user