Skip to content

Commit

Permalink
improve OCP detection + speed up legacy playback start
Browse files Browse the repository at this point in the history
  • Loading branch information
JarbasAl committed Nov 22, 2024
1 parent c7464d4 commit 040df19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ocp_pipeline/opm.py
Original file line number Diff line number Diff line change
Expand Up @@ -771,6 +771,7 @@ def handle_m(m):
if s.session_id == player.session_id:
player.available_extractors = m.data["SEI"]
player.ocp_available = True
self.update_player_proxy(player)
ev.set()
LOG.info(f"Session: {player.session_id} Available stream extractor plugins: {m.data['SEI']}")

Expand All @@ -780,7 +781,6 @@ def handle_m(m):
ev.wait(timeout)
self.bus.remove("ovos.common_play.SEI.get.response", handle_m)

self.update_player_proxy(player)
return player

def get_player(self, message: Optional[Message] = None, timeout=1) -> OCPPlayerProxy:
Expand Down

0 comments on commit 040df19

Please sign in to comment.