Merge pull request #1072 from croneter/fix-bool
Make sure bool is returned instead of an int
This commit is contained in:
commit
343fce2102
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