def get_app_id():
app_id = _addon.getSetting("appID")
if app_id == '':
try:
import credentials
app_id = credentials._appId
except ImportError:
credentials = None
log('Could not find the app_id. Either set it from the setting menu or create credentials.py file.',
xbmc.LOGWARNING)
return app_id
评论列表
文章目录