From e01e50a6500c922db08519c119a84a6aa036eec4 Mon Sep 17 00:00:00 2001 From: croneter Date: Sat, 30 Nov 2019 12:50:36 +0100 Subject: [PATCH] Make sure bool is returned instead of an int --- resources/lib/app/application.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/lib/app/application.py b/resources/lib/app/application.py index 9d3fc0d0..03955049 100644 --- a/resources/lib/app/application.py +++ b/resources/lib/app/application.py @@ -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