Skip to content

Commit

Permalink
fixed exception caused by incomplete cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
sualfred committed May 14, 2020
1 parent 7b41716 commit fda52e9
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions resources/lib/player_monitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
'''
Expand All @@ -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)
Expand Down

0 comments on commit fda52e9

Please sign in to comment.