|
@@ -1,5 +1,6 @@
|
|
import time
|
|
import time
|
|
from mpd import MPDClient
|
|
from mpd import MPDClient
|
|
|
|
+import lcd
|
|
|
|
|
|
|
|
|
|
client = MPDClient()
|
|
client = MPDClient()
|
|
@@ -22,9 +23,11 @@ def main():
|
|
if station != info.get("name", ""):
|
|
if station != info.get("name", ""):
|
|
station = info.get("name", "")
|
|
station = info.get("name", "")
|
|
print(station)
|
|
print(station)
|
|
|
|
+ lcd.write(station, title)
|
|
if title != info.get("title", ""):
|
|
if title != info.get("title", ""):
|
|
title = info.get("title", "")
|
|
title = info.get("title", "")
|
|
print(title)
|
|
print(title)
|
|
|
|
+ lcd.write(station, title)
|
|
time.sleep(10)
|
|
time.sleep(10)
|
|
|
|
|
|
|
|
|