From 82bcec981901328944370642e82de107da52be75 Mon Sep 17 00:00:00 2001 From: SpootDev Date: Wed, 6 Apr 2016 13:37:19 -0500 Subject: [PATCH] type --- resources/lib/player.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/lib/player.py b/resources/lib/player.py index 69b4e37e..7f323460 100644 --- a/resources/lib/player.py +++ b/resources/lib/player.py @@ -443,7 +443,7 @@ class Player(xbmc.Player): itemid = data['item_id'] refresh_id = data['refresh_id'] currentFile = data['currentfile'] - type = data['Type'] + media_type = data['Type'] playMethod = data['playmethod'] # Prevent manually mark as watched in Kodi monitor @@ -463,9 +463,9 @@ class Player(xbmc.Player): # Send the delete action to the server. offerDelete = False - if type == "Episode" and settings('deleteTV') == "true": + if media_type == "Episode" and settings('deleteTV') == "true": offerDelete = True - elif type == "Movie" and settings('deleteMovies') == "true": + elif media_type == "Movie" and settings('deleteMovies') == "true": offerDelete = True if settings('offerDelete') != "true":