def getCommandActions():
commands = COMMANDS.copy()
for command in commands:
actions = commands[command]
actions = [ACTIONS[x] for x in actions]
commands[command] = actions
f = xbmcvfs.File('special://profile/addon_data/script.tvguide.fullscreen/commands.json','rb')
j = f.read()
f.close()
if j:
new_commands = json.loads(j)
for c in new_commands:
if c in commands:
commands[c] = new_commands[c]
return commands
ActionEditor.py 文件源码
python
阅读 27
收藏 0
点赞 0
评论 0
评论列表
文章目录