From cbcca963db21d676606f295f374bcf6801a44bb8 Mon Sep 17 00:00:00 2001 From: Eric Munson Date: Mon, 19 Aug 2024 12:00:26 -0400 Subject: [PATCH] Subsonic: Correct the final entry that uses a non-MA logger (#1578) Signed-off-by: Eric B Munson --- .../server/providers/opensubsonic/sonic_provider.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/music_assistant/server/providers/opensubsonic/sonic_provider.py b/music_assistant/server/providers/opensubsonic/sonic_provider.py index a15df5d86..556cc2ba3 100644 --- a/music_assistant/server/providers/opensubsonic/sonic_provider.py +++ b/music_assistant/server/providers/opensubsonic/sonic_provider.py @@ -3,7 +3,6 @@ from __future__ import annotations import asyncio -import logging from typing import TYPE_CHECKING from libopensonic.connection import Connection as SonicConnection @@ -119,9 +118,7 @@ async def handle_async_init(self) -> None: self._seek_support = True break except OSError: - logging.getLogger("libopensonic").info( - "Server does not support transcodeOffset, seeking in player provider" - ) + self.logger.info("Server does not support transcodeOffset, seeking in player provider") @property def supported_features(self) -> tuple[ProviderFeature, ...]: