fixed the progressbar (again)
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -70,13 +70,12 @@ class ShowcaseScreen(MDScreen):
|
|||||||
self.__current = comHandler.getcurrentsong(address)
|
self.__current = comHandler.getcurrentsong(address)
|
||||||
self.__upcoming = comHandler.getupcomingsongs(address)
|
self.__upcoming = comHandler.getupcomingsongs(address)
|
||||||
self.songlength = comHandler.getsonglength(address)
|
self.songlength = comHandler.getsonglength(address)
|
||||||
|
elif self.songpos > self.lastsongpos:
|
||||||
|
self.isplaying = True
|
||||||
|
elif self.songpos == self.lastsongpos:
|
||||||
|
self.isplaying = False
|
||||||
else:
|
else:
|
||||||
if self.songpos > self.lastsongpos:
|
pass
|
||||||
self.isplaying = True
|
|
||||||
elif self.songpos == self.lastsongpos:
|
|
||||||
self.isplaying = False
|
|
||||||
else:
|
|
||||||
pass
|
|
||||||
self.lastsongpos = self.songpos
|
self.lastsongpos = self.songpos
|
||||||
self.ids.current_song.text = self.__current
|
self.ids.current_song.text = self.__current
|
||||||
self.ids.upcoming_songs.text = self.__upcoming
|
self.ids.upcoming_songs.text = self.__upcoming
|
||||||
|
|||||||
Reference in New Issue
Block a user