From fc20963577394ce527255bac3d5b27f11eaa2bd3 Mon Sep 17 00:00:00 2001 From: nemesbak Date: Thu, 28 May 2026 14:38:57 +0200 Subject: [PATCH] fix(embyfin-stream-cleanup): downgrade repeated identifier log to DEBUG MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit _get_media_server_configs() is called multiple times per poll cycle (once in _poll_once, once in _fetch_media_server_sessions, once in _fetch_active_recording_channels). When two media servers share an identifier (e.g. the same Jellyfin instance registered for both pool entries), the "pools will be combined" message fires at INFO level on every single call — generating up to ~18 log lines per minute of identical text in normal operation. Downgrade to DEBUG so the message is available for troubleshooting without polluting INFO logs during steady-state operation. --- plugins/embyfin-stream-cleanup/handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/embyfin-stream-cleanup/handler.py b/plugins/embyfin-stream-cleanup/handler.py index 0d75a09..d2c3f1f 100644 --- a/plugins/embyfin-stream-cleanup/handler.py +++ b/plugins/embyfin-stream-cleanup/handler.py @@ -220,7 +220,7 @@ def _get_media_server_configs(self): # Note identifiers shared with lower-numbered servers (allowed — pools are unioned) dupes = idents & seen_idents if dupes: - logger.info( + logger.debug( f"Server {n}: identifier(s) {', '.join(sorted(dupes))} also on a " "lower-numbered server — pools will be combined for those identifiers" )