mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-26 02:36:10 +00:00
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)"):
|
elif xbmc.getCondVisibility("Container.Content(pictures)"):
|
||||||
itemType = "picture"
|
itemType = "picture"
|
||||||
else:
|
else:
|
||||||
log("ItemType is unknown.")
|
log.info("ItemType is unknown.")
|
||||||
|
|
||||||
if (not kodiId or kodiId == "-1") and xbmc.getInfoLabel("ListItem.Property(embyid)"):
|
if (not kodiId or kodiId == "-1") and xbmc.getInfoLabel("ListItem.Property(embyid)"):
|
||||||
itemId = xbmc.getInfoLabel("ListItem.Property(embyid)")
|
itemId = xbmc.getInfoLabel("ListItem.Property(embyid)")
|
||||||
|
@ -73,7 +73,7 @@ if __name__ == '__main__':
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
log("Found ItemId: %s ItemType: %s" % (itemId, itemType), 1)
|
log.info("Found ItemId: %s ItemType: %s" % (itemId, itemType))
|
||||||
if itemId:
|
if itemId:
|
||||||
|
|
||||||
dialog = xbmcgui.Dialog()
|
dialog = xbmcgui.Dialog()
|
||||||
|
@ -163,11 +163,11 @@ if __name__ == '__main__':
|
||||||
heading=lang(29999),
|
heading=lang(29999),
|
||||||
line1=lang(33041))
|
line1=lang(33041))
|
||||||
if not resp:
|
if not resp:
|
||||||
log("User skipped deletion for: %s." % itemId, 1)
|
log.info("User skipped deletion for: %s." % itemId)
|
||||||
delete = False
|
delete = False
|
||||||
|
|
||||||
if delete:
|
if delete:
|
||||||
log("Deleting request: %s" % itemId, 0)
|
log.info("Deleting request: %s" % itemId)
|
||||||
emby.deleteItem(itemId)
|
emby.deleteItem(itemId)
|
||||||
|
|
||||||
xbmc.sleep(500)
|
xbmc.sleep(500)
|
||||||
|
|
Loading…
Reference in a new issue