Remove obsolete check for method in processing metadata

This commit is contained in:
tomkat83 2016-03-08 11:58:14 +01:00
parent 8ab99b5036
commit b05ec9746a
2 changed files with 4 additions and 9 deletions

View file

@ -124,11 +124,6 @@ class ThreadedProcessMetadata(Thread):
with lock: with lock:
# Get the one child entry in the xml and process # Get the one child entry in the xml and process
for child in plexitem: for child in plexitem:
if method == 'add_updateAlbum':
item.add_updateAlbum(child,
viewtag=viewName,
viewid=viewId)
else:
itemSubFkt(child, itemSubFkt(child,
viewtag=viewName, viewtag=viewName,
viewid=viewId) viewid=viewId)

View file

@ -443,7 +443,7 @@ def reset():
logMsg("PLEX", "Deleting: settings.xml", 1) logMsg("PLEX", "Deleting: settings.xml", 1)
dialog.ok( dialog.ok(
heading="Emby for Kodi", heading=addonName,
line1="Database reset has completed, Kodi will now restart to apply the changes.") line1="Database reset has completed, Kodi will now restart to apply the changes.")
xbmc.executebuiltin('RestartApp') xbmc.executebuiltin('RestartApp')