def main():
if xbmc.getInfoLabel('Window(10000).Property(script.plex.service.started)'):
# Prevent add-on updates from starting a new version of the addon
return
xbmcgui.Window(10000).setProperty('script.plex.service.started', '1')
if xbmcaddon.Addon().getSetting('kiosk.mode') == 'true':
xbmc.log('script.plex: Starting from service (Kiosk Mode)', xbmc.LOGNOTICE)
xbmc.executebuiltin('RunScript(script.plex)')
评论列表
文章目录