v15 bool condition "player.paused" not working?
#1
I've noticed my function for detecting when the player is paused stopped working in kodi 15.1, anyone else having issues?

Observed Conditions when kodi is playing a m3u playlist of local db media...

Code:
def isPlaybackPaused(self):
        Paused = bool(xbmc.getCondVisibility("Player.Paused"))
        self.log('isPlaybackPaused = ' + str(Paused))
        return Paused
Image Lunatixz - Kodi / Beta repository
Image PseudoTV - Forum | Website | Youtube | Help?
Reply
#2
i don't see any issues at my end

Quote:21:35:15 T:139952507578112 NOTICE: isPlaybackPaused = False
21:35:22 T:139954151589952 NOTICE: Previous line repeats 6 times.
21:35:22 T:139954151589952 DEBUG: Keyboard: scancode: 0x41, sym: 0x0020, unicode: 0x0020, modifier: 0x0
21:35:22 T:139954151589952 DEBUG: OnKey: space (0xf020) pressed, action is Pause
21:35:22 T:139954151589952 DEBUG: CAnnouncementManager - Announcement: OnPause from xbmc
21:35:22 T:139954151589952 DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnPause
21:35:22 T:139952507578112 NOTICE: isPlaybackPaused = True
21:36:35 T:139954151589952 NOTICE: Previous line repeats 72 times.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#3
(2015-08-28, 21:37)ronie Wrote: i don't see any issues at my end

Quote:21:35:15 T:139952507578112 NOTICE: isPlaybackPaused = False
21:35:22 T:139954151589952 NOTICE: Previous line repeats 6 times.
21:35:22 T:139954151589952 DEBUG: Keyboard: scancode: 0x41, sym: 0x0020, unicode: 0x0020, modifier: 0x0
21:35:22 T:139954151589952 DEBUG: OnKey: space (0xf020) pressed, action is Pause
21:35:22 T:139954151589952 DEBUG: CAnnouncementManager - Announcement: OnPause from xbmc
21:35:22 T:139954151589952 DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnPause
21:35:22 T:139952507578112 NOTICE: isPlaybackPaused = True
21:36:35 T:139954151589952 NOTICE: Previous line repeats 72 times.

Weird... just out of the blue stopped working for me... reports False all the time...

Thanks for taking a look, I'll have to try and debug the cause.
Image Lunatixz - Kodi / Beta repository
Image PseudoTV - Forum | Website | Youtube | Help?
Reply

Logout Mark Read Team Forum Stats Members Help
bool condition "player.paused" not working?0