def _updateEM3U8Finished(self, code=0): printDBG('EM3U8Downloader._updateEM3U8Finished update code[%d]--- ' % (code)) if not self.em3u8Started: self.status = DMHelper.STS.ERROR M3U8Downloader._terminate(self) self.onFinish()
def _terminate(self): printDBG("M3U8Downloader._terminate") if self.EM3U8linkProv: self.EM3U8linkProv_appClosed_conn = None #self.EM3U8linkProv_stdoutAvail_conn = None self.EM3U8linkProv_stderrAvail_conn = None self.EM3U8linkProv.sendCtrlC() self.EM3U8linkProv = None return M3U8Downloader._terminate(self)
def _terminate(self): printDBG("M3U8Downloader._terminate") if self.EM3U8linkProv: self.EM3U8linkProv_appClosed_conn = None #self.EM3U8linkProv_stdoutAvail_conn = None self.EM3U8linkProv_stderrAvail_conn = None self.EM3U8linkProv.sendCtrlC() self.EM3U8linkProv = None return M3U8Downloader._terminate(self)
def _updateEM3U8Finished(self, code=0): printDBG('EM3U8Downloader._updateEM3U8Finished update code[%d]--- ' % (code)) if not self.em3u8Started: self.status = DMHelper.STS.ERROR M3U8Downloader._terminate(self) self.onFinish()