[FIX] Song changes should be recognised when scrolling text is enabled
Data was not being pulled from HA when re-drawing the whole screen for scrolling text
This commit is contained in:
@@ -89,7 +89,10 @@ class MediaScreen(Screen):
|
|||||||
else:
|
else:
|
||||||
cntr_st(lcd, lcd.width, self.d["media_artist"], lcd.height - 98, 2, 255, 255, 255)
|
cntr_st(lcd, lcd.width, self.d["media_artist"], lcd.height - 98, 2, 255, 255, 255)
|
||||||
lcd.show()
|
lcd.show()
|
||||||
return mt_l or ma_l
|
if (mt_l or ma_l):
|
||||||
|
self.d = {}
|
||||||
|
return True
|
||||||
|
return False
|
||||||
|
|
||||||
def __updateMediaPositionBar(self, lcd, p: int, d: int):
|
def __updateMediaPositionBar(self, lcd, p: int, d: int):
|
||||||
if (d > 0):
|
if (d > 0):
|
||||||
|
|||||||
Reference in New Issue
Block a user