Make sure bool is returned instead of an int

This commit is contained in:
croneter 2019-11-30 12:50:36 +01:00
parent 764f132f66
commit e01e50a650

View file

@ -54,11 +54,11 @@ class App(object):
@property
def is_playing(self):
return self.player.isPlaying()
return self.player.isPlaying() == 1
@property
def is_playing_video(self):
return self.player.isPlayingVideo()
return self.player.isPlayingVideo() == 1
def register_fanart_thread(self, thread):
self.fanart_thread = thread