From fda52e900ac7ce09ea93143314ca1358220c7c3d Mon Sep 17 00:00:00 2001 From: Sebastian S Date: Thu, 14 May 2020 15:07:58 +0200 Subject: [PATCH] fixed exception caused by incomplete cleanup --- resources/lib/player_monitor.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/resources/lib/player_monitor.py b/resources/lib/player_monitor.py index 8828d4e..e28b0e4 100644 --- a/resources/lib/player_monitor.py +++ b/resources/lib/player_monitor.py @@ -44,11 +44,6 @@ def onNotification(self, sender, method, data): if PLAYER.isPlayingVideo() and not self.pvr_playback: self.get_videoinfo() - ''' Playlist changed. Fetch nextitem again. - ''' - if method in ['Playlist.OnAdd', 'Playlist.OnRemove'] and PLAYER.isPlayingVideo() and not self.pvr_playback: - self.get_nextitem() - ''' Check if multiple audio tracks are available and refetch artwork info for PVR playback. ''' @@ -67,7 +62,6 @@ def onNotification(self, sender, method, data): if not PLAYER.isPlaying() and xbmcgui.getCurrentWindowId() not in [12005, 12006, 10028, 10500, 10138, 10160]: self.pvr_playback = False - self.get_nextitem(clear=True) self.get_channellogo(clear=True) self.get_audiotracks(clear=True) self.get_videoinfo(clear=True)