Skip to content

Sending SIGINT to Syncplay connected to mpv rasies an exception #322

@daniel-123

Description

@daniel-123

It's a low priority, but Syncplay should try to close itself cleanly upon receiving SIGINT. It's more likely to occur with --no-gui, but it's also possible to encounter it in GUI mode by for example using CTRL+C in the terminal it was ran from.

In this situation Syncplay also stays running for about minute until some timeout occurs.

Exception in thread Thread-2:
Traceback (most recent call last):
  File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
    self.run()
  File "/usr/lib/syncplay/syncplay/players/python_mpv_jsonipc/python_mpv_jsonipc.py", line 163, in run
    current_data = self.socket.recv(1024)
ConnectionResetError: [Errno 104] Connection reset by peer

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions