def remove_DataBase() :
xbmc.log("metahandler - deleting database...")
try:
if xbmcvfs.exists(DBLOCATION): xbmcvfs.delete(DBLOCATION)
except:
if os.path.exists(DBLOCATION): os.remove(DBLOCATION)
xbmcgui.Dialog().ok("Metahandler", "Database deleted")
xbmc.log("Metahandler - Clearing database cache. Done!")
评论列表
文章目录