feat: add backend health check for unmanaged MoviePilot processes

This commit is contained in:
jxxghp
2026-06-13 17:12:29 +08:00
parent b89c351686
commit a37ed9aa97
3 changed files with 102 additions and 1 deletions

View File

@@ -0,0 +1,15 @@
import warnings
def _filter_third_party_startup_warnings() -> None:
"""
过滤第三方库在新版 Python 下产生的已知无害启动警告。
"""
warnings.filterwarnings(
"ignore",
message=r"invalid escape sequence '\\&'",
category=SyntaxWarning,
)
_filter_third_party_startup_warnings()