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,14 +124,9 @@ 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': itemSubFkt(child,
item.add_updateAlbum(child, viewtag=viewName,
viewtag=viewName, viewid=viewId)
viewid=viewId)
else:
itemSubFkt(child,
viewtag=viewName,
viewid=viewId)
# Keep track of where we are at # Keep track of where we are at
processMetadataCount += 1 processMetadataCount += 1
processingViewName = title processingViewName = title

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')