Commit Graph
15 Commits
Author SHA1 Message Date
franzz a537d0dd18 Center logo
Deploy HEOS panel / deploy (push) Successful in 25s
2026-09-16 23:23:45 +02:00
franzz ec684b7803 Make progress bar cursor draggable
Deploy HEOS panel / deploy (push) Successful in 26s
2026-09-16 23:19:08 +02:00
franzz 532b48ad37 Fix grouped AVR / room card + add movie info
Deploy HEOS panel / deploy (push) Successful in 25s
2026-09-16 20:36:29 +02:00
franzz 69476134f7 Add icons
Deploy HEOS panel / deploy (push) Successful in 25s
2026-09-16 18:06:14 +02:00
franzz 3d4922fd19 Fix panel order
Deploy HEOS panel / deploy (push) Successful in 25s
2026-09-16 15:58:58 +02:00
franzz 4dd7e298a5 Add song progress bar
Deploy HEOS panel / deploy (push) Successful in 25s
2026-09-16 15:03:45 +02:00
franzz 58a2dedc03 Remove group management
Deploy HEOS panel / deploy (push) Successful in 25s
2026-09-16 13:43:31 +02:00
franzz 5b82a24ac4 fix music navs
Deploy HEOS panel / deploy (push) Successful in 25s
2026-09-15 23:19:11 +02:00
franzz 7c19ff9096 Add spotify integration
Deploy HEOS panel / deploy (push) Successful in 25s
2026-09-15 22:07:43 +02:00
franzz 6a0f1fa5e8 fix AVR input swap
Deploy HEOS panel / deploy (push) Successful in 25s
2026-09-15 17:20:24 +02:00
franzz dc7f09052d play/pause
Deploy HEOS panel / deploy (push) Successful in 24s
2026-09-15 01:03:25 +02:00
franzzandClaude Opus 5 6d132f53ff Serve the panel from a sub-path, and an Apache conf for /heos
The app assumed it lived at the server root: its links were /static/...
and its fetches /api/..., which behind a proxy at /heos resolve to the
wrong place, so the page would load and nothing on it would work.

It now takes the prefix from X-Forwarded-Prefix, and everything it
generates -- stylesheet, icons, the manifest's start_url, every fetch --
follows. Nothing changes when it is served from its own port.

deploy/heos.conf is the Apache side, restricted to the local network by
default, since this controls the speakers and the vhost it hangs off has
a public certificate.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-14 21:57:16 +02:00
franzzandClaude Opus 5 6213bcf23f Show merged rooms inside the host's card
Two cards side by side said nothing about whether the rooms were playing
together; now a room that joins the AVR moves into its card, under the
input it is playing, and leaving puts the card back in its own slot. The
button changes with it: Join Home Cinema when it stands alone, Leave when
it is in the group, since the card's position already says which it is.

Also fixes Separate everything, which sent a GET to a POST-only route and
so failed with a 405 and snapped the rooms straight back.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-14 21:50:02 +02:00
franzzandClaude Opus 5 aa1b734b3a Use the HEOS mark, in white, for the header and the icon
The word HEOS at the top of the panel becomes the mark itself, and the
home-screen icons are rendered from the same file so there is one place
to change it. All white on transparent: the panel is dark, and iOS lays
a transparent apple-touch-icon over black.

make_icons.py no longer draws its own glyph -- it rasterises logo.svg
with headless Chromium, which is heavier than the old arithmetic but the
only way to render real paths without a system SVG library. The PNGs are
committed, so it only has to run when the logo changes.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-14 21:45:33 +02:00
franzzandClaude Opus 5 375bcfdd76 Merge the bridge and a home-screen interface into one app
The HEOS app is unpleasant to use for the four things that actually get
done in this house, so this is those four things on one screen: volume
for the Home 400 and the Living Room pair, joining either to the AVR,
splitting them off again, and picking the AVR's input.

The bridge's logic moves in mostly intact, split into a HEOS client, an
AVR client and a controller, with two grouping bugs fixed on the way:

  * Merging a room into the AVR sent only the pair's leader pid, which
    left the second Home 200 behind. Group targets now expand to every
    member pid, and unmerging re-forms the pair rather than leaving two
    lone speakers. The members are learned while the pair is visible and
    remembered in members.json so a restart can still rebuild it.

  * Volume for the pair used its gid, which stops existing the moment it
    joins the AVR's group. It now falls back to the member players.

Both sockets are kept open rather than reconnecting per command, which
is what made every button press feel slow; the AVR connection doubles as
a listener, so input changes made with the physical remote show up too.

The original query-string endpoints still answer, so anything already
pointed at the bridge keeps working.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-14 21:15:43 +02:00