开播后由下载进程中断后,再去更新信息(避免一直在更新信息)
This commit is contained in:
parent
b8d76f6273
commit
e646085f0b
@ -330,6 +330,8 @@ class downloader(XiGuaLiveApi):
|
||||
global broadcaster
|
||||
_prev_status = self.isLive
|
||||
doClean()
|
||||
if not force and self.isLive:
|
||||
return _prev_status
|
||||
_result = super(downloader, self).updRoomInfo(force)
|
||||
if _prev_status != self.isLive and not self.isLive:
|
||||
resetDelay()
|
||||
|
Reference in New Issue
Block a user