From bd4b6698fbdd7f0604d06297164092f08929ca2e Mon Sep 17 00:00:00 2001 From: miro Date: Wed, 17 Jul 2024 23:54:41 +0100 Subject: [PATCH] log old OCP version if detected --- ovos_audio/audio.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ovos_audio/audio.py b/ovos_audio/audio.py index d30d84e..3065467 100644 --- a/ovos_audio/audio.py +++ b/ovos_audio/audio.py @@ -106,8 +106,9 @@ def find_ocp(self): try: self.ocp.player.validate_source = self.validate_source self.ocp.player.native_sources = self.native_sources - except: - pass # handle older OCP plugin versions + except Exception as e: + # handle older OCP plugin versions + LOG.warning("old OCP version detected! please update 'ovos_plugin_common_play'") def find_default(self): if not self.service: