Skip to content

Commit

Permalink
log old OCP version if detected
Browse files Browse the repository at this point in the history
  • Loading branch information
JarbasAl committed Jul 17, 2024
1 parent edc8831 commit bd4b669
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ovos_audio/audio.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit bd4b669

Please sign in to comment.