def showError(addonId, errorMessage):
"""
Shows an error to the user and logs it
Parameters:
addonId: the current addon id
message: the message to be shown
"""
notify(addonId, errorMessage)
xbmc.log(errorMessage, xbmc.LOGERROR)
评论列表
文章目录