Skip to content

Commit

Permalink
fix regression introduced in Spotify bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
rtertiaer committed Dec 12, 2023
1 parent ace822f commit ce0dd7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions amplipi/streams.py
Original file line number Diff line number Diff line change
Expand Up @@ -570,10 +570,10 @@ def _activate(self, vsrc: int):
def _deactivate(self):
try:
self.proc.terminate()
outs, errs = self.proc.communicate(timeout=3)
self.proc.communicate(timeout=3)
except Exception as e:
print(f"failed to terminate spotify stream: {e}")
kouts, kerrs = self.proc.kill()
self.proc.kill()
try:
del self.mpris
except Exception:
Expand Down

0 comments on commit ce0dd7f

Please sign in to comment.