From 6c8a95fabb998780b923578922f08e65c10e3b0a Mon Sep 17 00:00:00 2001 From: angelblue05 Date: Sat, 2 Jul 2016 23:41:42 -0500 Subject: [PATCH] Fix errors --- resources/lib/entrypoint.py | 4 ++-- resources/lib/musicutils.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/lib/entrypoint.py b/resources/lib/entrypoint.py index 14e08196..ba4ffe22 100644 --- a/resources/lib/entrypoint.py +++ b/resources/lib/entrypoint.py @@ -163,9 +163,9 @@ def deleteItem(): embycursor.close() try: - embyid = item[0] + itemId = item[0] except TypeError: - log("Unknown embyId, unable to proceed.", 1) + log("Unknown itemId, unable to proceed.", 1) return if settings('skipContextMenu') != "true": diff --git a/resources/lib/musicutils.py b/resources/lib/musicutils.py index 6ff43e01..b89c12da 100644 --- a/resources/lib/musicutils.py +++ b/resources/lib/musicutils.py @@ -222,7 +222,7 @@ def getSongTags(file): except Exception as e: #file in use ? - log("Exception in getSongTags", str(e),0) + log("Exception in getSongTags %s" % e,0) rating = None #remove tempfile if needed....