ubuntuandClaude Sonnet 5 2eaa0fee64 Remove dead code and tighten error handling
- Drop analyse_m3u_file2: an unrouted, unused ~90%-duplicate of
  analyse_m3u_file (a bug fixed in one would never apply to the other).
- Drop the in-memory `devices` list from polling/list_devices: it was
  only ever written to, never read (list_devices already returns from
  devices_db, the real source of truth).
- Remove the resulting unused NUM_MAX_CHANNEL variable and duplicate
  `from pymongo import MongoClient` import.
- Narrow a bare `except:` to `except KeyError:` so it can't also
  swallow SystemExit/KeyboardInterrupt.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-30 23:36:07 +00:00
2026-08-03 13:14:43 +00:00
2026-08-03 13:14:43 +00:00
2026-08-03 13:14:43 +00:00
S
Description
No description provided
1.7 MiB
Languages
HTML 51.1%
Python 38.7%
JavaScript 9.3%
Shell 0.7%
Dockerfile 0.2%