mirror of
https://github.com/beetbox/beets.git
synced 2026-01-03 22:42:44 +01:00
Keep track of a list of currently-connected clients. Use `socket.getpeername()` to get an identifier for each connection and include this in each log message. This function is documented as not being available on all systems, but it's unclear which systems this involves. Also log a message on client connect and disconnect events. If the disconnection reason is because the client sent a blank line, match MPD by returning a protocol error then hanging up. Escape curly braces. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| gstplayer.py | ||