Adds a TCP client for lircd's classic protocol: play/pause/next/prev/ volume/mute map to the same intents every other front-end already emits, and number keys 0-9 play an assigned album/audiobook from the start or a podcast show's newest episode, resolved fresh on every press. The mapping is configured in config.yml and editable from the frontend: a small "Taste zuweisen" button on the play screen (or the A+digit keyboard shortcut) opens a 10-key picker to assign whatever is currently playing. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
7 lines
241 B
Python
7 lines
241 B
Python
"""IR remote control, via lircd's TCP socket."""
|
|
|
|
from musicmouse.services.lirc.protocol import LircButtonEvent, parse_line
|
|
from musicmouse.services.lirc.service import LircService
|
|
|
|
__all__ = ["LircButtonEvent", "LircService", "parse_line"]
|