If chid.find(' = -1 and chid.find('.torrent') = -1: Print('Starting Player Ace hash: ' + chid) Try:from acecore import TSengine as tsengine
Os.system('kill $(ps aux | grep 'tart.py')') If settings.getSetting('shutdown-engine') = 'true': Subprocess.Popen('taskkill /F /IM ace_player.exe /T',shell=True)Įlif xbmc.getCondVisibility(''): Subprocess.Popen('wmic process where ExecutablePath=''+needed_value.replace('\\','\\\\')+'' delete',shell=True) Needed_value = _winreg.QueryValueEx(t, 'EnginePath') T = _winreg.OpenKey(_winreg.HKEY_CURRENT_USER, 'Software\AceStream') Source File: acestream.py View license def acestreams_builtin(name,iconimage,chid): OfflineFile = offlinefile.offlinefile(filename, str(cachePath) + '/' + str(dir) +'.jpg', resolution.rstrip(), str(cachePath) + '/' + str(dir) + '/' + str(os.path.splitext(file)) + '.mp4') NameFile = xbmcvfs.File(str(cachePath) + '/' + str(dir) + '/' + str(os.path.splitext(file)) + '.resolution')
NameFile = xbmcvfs.File(str(cachePath) + '/' + str(dir) + '/' + str(dir) + '.name') Subdir,subfiles = xbmcvfs.listdir(str(cachePath) + '/' + str(dir))
If xbmcvfs.exists(cachePath) or os.path.exists(cachePath): Source File: kodi_common.py View license def getOfflineFileList(cachePath):