Make sure bool is returned instead of an int
This commit is contained in:
parent
764f132f66
commit
e01e50a650
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue