def run(self): xbmc.log( '[ plugin.video.venom ] Sync "My Accounts" Service Starting...', 2) control.syncMyAccounts(silent=True) return xbmc.log( '[ plugin.video.venom ] Finished Sync "My Accounts" Service', 2)
def run(self): control.log( '[ plugin.video.kraken ] Sync "My Accounts" Service Starting...', LOGNOTICE) control.syncMyAccounts(silent=True) return control.log( '[ plugin.video.kraken ] Finished Sync "My Accounts" Service', LOGNOTICE)
from resources.lib.modules import views views.clearViews() elif action == 'tools_cleanSettings': control.clean_settings() elif action == 'tools_openMyAccount': from myaccounts import openMASettings openMASettings(query) control.sleep(500) while control.condVisibility('Window.IsVisible(addonsettings)' ) or control.homeWindow.getProperty( 'myaccounts.active') == 'true': control.sleep(500) control.sleep(100) control.syncMyAccounts() control.sleep(100) if params.get('opensettings') == 'true': control.openSettings(params.get('query2'), 'plugin.video.venom') elif action == 'tools_syncMyAccount': control.syncMyAccounts() if params.get('opensettings') == 'true': control.openSettings(query, 'plugin.video.venom') elif action == 'tools_traktAcctMyAccounts': control.execute( 'RunScript(script.module.myaccounts, action=traktAcct)') elif action == 'tools_adAcctMyAccounts': control.execute(