"""Chromecast playback: discovery, the local file server, and the session. Casting uses the *media receiver* model — lintunes hands the Chromecast a URL and the device fetches and decodes the original file itself. That keeps the audio bit-exact (no transcode) and lets the device do its own buffering, at the cost of lintunes becoming a remote control while connected: no local PCM, so the visualizer goes flat, and position is polled from the device rather than read from Qt. Nothing here imports pychromecast at module scope — the import is deferred into the functions that need it, so lintunes still launches on a machine that has pulled this code but not yet run ``pip install -e .`` (see CLAUDE.md on the self-updater shipping code but not dependencies). """