def get_authkey(self):
'''get authentication key'''
auth_token = self.win.getProperty("spotify-token").decode("utf-8")
if not auth_token:
dialog = xbmcgui.Dialog()
header = self.addon.getAddonInfo("name")
msg = self.addon.getLocalizedString(11050)
dialog.ok(header, msg)
del dialog
xbmc.executebuiltin("Addon.OpenSettings(%s)" % ADDON_ID)
return auth_token
plugin_content.py 文件源码
python
阅读 19
收藏 0
点赞 0
评论 0
评论列表
文章目录