diff --git a/resources/lib/player.py b/resources/lib/player.py index b7508904..36311a38 100644 --- a/resources/lib/player.py +++ b/resources/lib/player.py @@ -113,7 +113,7 @@ class Player(xbmc.Player): ''' try: item['Runtime'] = int(item['Runtime']) - except ValueError: + except (TypeError, ValueError): try: item['Runtime'] = int(self.getTotalTime()) LOG.info("Runtime is missing, Kodi runtime: %s" % item['Runtime'])