Fix logging
Forgot to change actual log lines
This commit is contained in:
parent
fe1b5d8e06
commit
68c0aee1ea
1 changed files with 4 additions and 4 deletions
|
@ -56,7 +56,7 @@ if __name__ == '__main__':
|
|||
elif xbmc.getCondVisibility("Container.Content(pictures)"):
|
||||
itemType = "picture"
|
||||
else:
|
||||
log("ItemType is unknown.")
|
||||
log.info("ItemType is unknown.")
|
||||
|
||||
if (not kodiId or kodiId == "-1") and xbmc.getInfoLabel("ListItem.Property(embyid)"):
|
||||
itemId = xbmc.getInfoLabel("ListItem.Property(embyid)")
|
||||
|
@ -73,7 +73,7 @@ if __name__ == '__main__':
|
|||
pass
|
||||
|
||||
|
||||
log("Found ItemId: %s ItemType: %s" % (itemId, itemType), 1)
|
||||
log.info("Found ItemId: %s ItemType: %s" % (itemId, itemType))
|
||||
if itemId:
|
||||
|
||||
dialog = xbmcgui.Dialog()
|
||||
|
@ -163,11 +163,11 @@ if __name__ == '__main__':
|
|||
heading=lang(29999),
|
||||
line1=lang(33041))
|
||||
if not resp:
|
||||
log("User skipped deletion for: %s." % itemId, 1)
|
||||
log.info("User skipped deletion for: %s." % itemId)
|
||||
delete = False
|
||||
|
||||
if delete:
|
||||
log("Deleting request: %s" % itemId, 0)
|
||||
log.info("Deleting request: %s" % itemId)
|
||||
emby.deleteItem(itemId)
|
||||
|
||||
xbmc.sleep(500)
|
||||
|
|
Loading…
Reference in a new issue