def __init__(self):
self.userthemes_path = u"special://profile/addon_data/%s/themes/" % xbmc.getSkinDir()
if not xbmcvfs.exists(self.userthemes_path):
xbmcvfs.mkdir(self.userthemes_path)
self.skinthemes_path = u"special://skin/extras/skinthemes/"
if xbmcvfs.exists("special://home/addons/resource.skinthemes.%s/resources/" % get_skin_name()):
self.skinthemes_path = u"special://home/addons/resource.skinthemes.%s/resources/" % get_skin_name()
self.addon = xbmcaddon.Addon(ADDON_ID)
colorthemes.py 文件源码
python
阅读 23
收藏 0
点赞 0
评论 0
评论列表
文章目录