refactor: CQL cleanup — extract constants, validate inputs, surface errors

- Extract magic numbers into named constants (cooldown, poll interval, etc.)
- Validate empty audio directories early with clear error message
- Consolidate mutually exclusive mode check (--sexy/--halo/--custom)
- Extract event loop into listenForSlaps for readability
- Flatten nested conditionals with early continues
- Surface audio playback errors to stderr instead of silently dropping
- Fix variable naming (e -> entry, s -> sample) per Go conventions
- Run goimports formatting pass
taigrrcommitted parent 19c5378b543ede7d207d5d37f88cded96818ee47e68cfb2Browse files
1 file changed+86−50

Rendering diff…