Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2f76809807 | ||
|
|
54c7dd3136 | ||
|
|
df04e90c80 | ||
|
|
bff910930b |
4
.github/workflows/portable.yml
vendored
4
.github/workflows/portable.yml
vendored
@@ -6,8 +6,8 @@ on:
|
||||
- v*.*.*
|
||||
|
||||
env:
|
||||
FFMPEG_ARCHIVE_URL: https://github.com/BtbN/FFmpeg-Builds/releases/download/latest/ffmpeg-n5.0-latest-win64-lgpl-shared-5.0.zip
|
||||
FFMPEG_ARCHIVE_NAME: ffmpeg-n5.0-latest-win64-lgpl-shared-5.0.zip
|
||||
FFMPEG_ARCHIVE_URL: https://github.com/BtbN/FFmpeg-Builds/releases/download/latest/ffmpeg-master-latest-win64-lgpl-shared.zip
|
||||
FFMPEG_ARCHIVE_NAME: ffmpeg-master-latest-win64-lgpl-shared.zip
|
||||
PYTHON_ARCHIVE_URL: https://www.python.org/ftp/python/3.10.4/python-3.10.4-embed-amd64.zip
|
||||
|
||||
jobs:
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
# 更新日志
|
||||
|
||||
## 1.9.1
|
||||
|
||||
- 修复禁用硬盘空间检测出现 cpu 占用异常
|
||||
|
||||
## 1.9.0
|
||||
|
||||
- 录制 HLS(fmp4) 原始数据
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
__prog__ = 'blrec'
|
||||
__version__ = '1.9.0'
|
||||
__version__ = '1.9.1'
|
||||
__github__ = 'https://github.com/acgnhiki/blrec'
|
||||
|
||||
@@ -52,6 +52,8 @@ class SpaceMonitor(
|
||||
self.enable()
|
||||
|
||||
def _do_enable(self) -> None:
|
||||
if self._check_interval <= 0:
|
||||
return
|
||||
asyncio.create_task(self.start())
|
||||
logger.debug('Enabled space monitor')
|
||||
|
||||
|
||||
@@ -119,12 +119,7 @@ class SegmentFetcher:
|
||||
@retry(
|
||||
reraise=True,
|
||||
retry=retry_if_exception_type(
|
||||
(
|
||||
requests.exceptions.Timeout,
|
||||
requests.exceptions.HTTPError,
|
||||
urllib3.exceptions.TimeoutError,
|
||||
urllib3.exceptions.ProtocolError,
|
||||
)
|
||||
(requests.exceptions.RequestException, urllib3.exceptions.HTTPError)
|
||||
),
|
||||
wait=wait_exponential(multiplier=0.1, max=5),
|
||||
stop=stop_after_delay(60),
|
||||
|
||||
Reference in New Issue
Block a user