added progressbar to main ui & bugfix
This commit is contained in:
@@ -70,12 +70,13 @@ class ShowcaseScreen(MDScreen):
|
||||
self.__current = comHandler.getcurrentsong(address)
|
||||
self.__upcoming = comHandler.getupcomingsongs(address)
|
||||
self.songlength = comHandler.getsonglength(address)
|
||||
elif self.songpos > self.lastsongpos:
|
||||
self.isplaying = True
|
||||
elif self.songpos == self.lastsongpos:
|
||||
self.isplaying = False
|
||||
else:
|
||||
pass
|
||||
if self.songpos > self.lastsongpos:
|
||||
self.isplaying = True
|
||||
elif self.songpos == self.lastsongpos:
|
||||
self.isplaying = False
|
||||
else:
|
||||
pass
|
||||
self.lastsongpos = self.songpos
|
||||
self.ids.current_song.text = self.__current
|
||||
self.ids.upcoming_songs.text = self.__upcoming
|
||||
|
||||
Reference in New Issue
Block a user