录播助手更新:避免因为未开播而导致出现错误提示

This commit is contained in:
Jerry Yan 2019-02-01 16:31:32 +08:00
parent 77d7f35d25
commit f81c2811ce

View File

@ -23,6 +23,7 @@ class downloader(XiGuaLiveApi):
self.updPlayList()
def updPlayList(self):
if api.isLive:
if "stream_url" not in self._rawRoomInfo:
if self.playlist is None:
self.apiChangedError("无法获取直播链接")