From b05ec9746ac883607799590629397957fabe5360 Mon Sep 17 00:00:00 2001 From: tomkat83 Date: Tue, 8 Mar 2016 11:58:14 +0100 Subject: [PATCH] Remove obsolete check for method in processing metadata --- resources/lib/librarysync.py | 11 +++-------- resources/lib/utils.py | 2 +- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/resources/lib/librarysync.py b/resources/lib/librarysync.py index a630aab3..e2b77bac 100644 --- a/resources/lib/librarysync.py +++ b/resources/lib/librarysync.py @@ -124,14 +124,9 @@ class ThreadedProcessMetadata(Thread): with lock: # Get the one child entry in the xml and process for child in plexitem: - if method == 'add_updateAlbum': - item.add_updateAlbum(child, - viewtag=viewName, - viewid=viewId) - else: - itemSubFkt(child, - viewtag=viewName, - viewid=viewId) + itemSubFkt(child, + viewtag=viewName, + viewid=viewId) # Keep track of where we are at processMetadataCount += 1 processingViewName = title diff --git a/resources/lib/utils.py b/resources/lib/utils.py index d2db3fdf..f2859c1b 100644 --- a/resources/lib/utils.py +++ b/resources/lib/utils.py @@ -443,7 +443,7 @@ def reset(): logMsg("PLEX", "Deleting: settings.xml", 1) dialog.ok( - heading="Emby for Kodi", + heading=addonName, line1="Database reset has completed, Kodi will now restart to apply the changes.") xbmc.executebuiltin('RestartApp')