Release v0.7.2 - Redesigned interface and persistent account settings
Validate and generate manual release / package (push) Waiting to run

This commit is contained in:
Jason committed 2026-12-04 11:08:09 -05:00
1 parent 1d894f59fb
commit 398749210a
35 files changed
+2807 -256

No files matched your search

+29 -36
View File
@@ -1,4 +1,4 @@
# Install and connect — 0.7.0
# Install and connect — 0.7.2
## Normal setup
@@ -7,41 +7,40 @@
Foundry user-data `Data/modules/` directory and reload the isolated test world.
The ZIP contains one `adaptive-music/` directory. Do not install the outer release
bundle or source archive as the module.
2. As the single active GM, open Settings → Adaptive Music setup. Enter the private
trusted **HTTPS Music Assistant server address** and the dedicated account’s access
token, then select **Authenticate**. Use the origin, without a subpath or query.
3. Select **Connect audio**. The module automatically creates or reconnects its own
campaign receiver and pairs it to the authenticated account. No receiver identity
export or JSON backup import is needed. The selector includes only this browser’s
campaign-owned receiver; it does not enumerate household speakers.
4. Assign ambient and combat playlists to the selected scene and save assignments.
World defaults and boss/manual controls are optional. Enable music automation.
2. As the single active GM, open Settings → Adaptive Music setup. In **Connection**,
enter the private **HTTPS Music Assistant server address** and the dedicated
account’s access token. Use the server origin and select **Connect** to create or
reconnect the campaign receiver, pair it, and load playlists.
3. Select **Choose scene music**. In **Scene Music**, choose the scene and save its
ambient, combat, boss and native fallback assignments. You can also set world
defaults and individual boss overrides.
4. Open **Playback** to enable automation, see the current track and listeners, or
adjust campaign volume and control the dedicated MA queue.
5. Players connect automatically. If a browser requires activation, open Campaign
audio and select **Enable Audio** once. Keep one audio tab per account.
The token stays in this tab’s memory, including across failed attempts and setup
window closure. Reload or Disconnect forgets it. Receiver identity is encrypted in
this GM browser’s local storage and reused after reauthentication. A changed MA
origin needs a new login and a separately scoped receiver. Clearing site storage
forgets the receiver. Receiver options can name a new receiver; existing remembered
names remain identity-bound. Forget remembered receiver removes the local identity
only, leaving MA resources and queues untouched.
After a successful connection, the GM’s Foundry account remembers the encrypted
server address and receiver name. On another computer or after reload, enter the
same MA token and select **Connect** to unlock the saved address. Reload and
**Disconnect** clear the in-memory token. If the token changes, enter the server
address with the replacement token. **Advanced → Forget saved connection** clears
the account record. The receiver identity remains encrypted in its browser vault.
Connection recovery → Reconnect remembered receiver reuses this tab’s credentials and preserves the queue while pausing automation. Optional existing STUN/TURN settings are in Receiver options; no public ICE service is enabled by default.
New MA playlist assignments resolve across browsers using the same MA token and
origin. To update a legacy assignment, connect from the browser that originally
saved it and save the scene again. From a different browser, reselect its playlists.
Keep the active GM browser open for live MA playback and listener forwarding.
Reconnecting to an owned nonempty queue preserves it. Apply the automation setting
Reconnecting to an owned nonempty queue preserves it. Enable automation in Playback
when ready to resume scene control. Unknown mutation outcomes stop automation and
require review; they are never silently replayed. Pause is emulated for MA 2.10.6
Sendspin by preserving a stopped queue’s index/position in the active GM session.
Crossfade and restoration after a GM crash/reload are not guaranteed. Old experimental identity-based assignments may need playlist reselection once; the remembered v0.7.0 receiver keeps subsequent catalog references stable.
require review. Pause preserves a stopped queue’s index and position for the active
GM session.
## Connection diagnostics
Setup displays the actual stage: authentication, Sendspin connection, pairing,
clock sync, catalog or ready. It shows decoded frames, GM audio state and connected
listeners. **Check browser connection (no MA token)** tests both WebSocket routes
from the actual Foundry page and identifies enforced CSP blocks. It does not send
an MA authentication frame; normal browser cookies may still accompany the handshake.
Connection shows authentication, receiver setup and catalog progress. **Check browser
connection** tests both WebSocket routes from the actual Foundry page without sending
an MA authentication frame. Normal browser cookies can accompany the handshake.
**Copy connection diagnostics** supplies a report without address, token, receiver
keys or playlist titles. No browser developer console is required.
@@ -64,24 +63,18 @@ additional container, service, VM or LXC is required by this module. A direct HT
address cannot be used from HTTPS Foundry. Default ICE does not use a public relay;
remote players still need a viable existing WebRTC path.
Ubuntu Firefox and Chromium reached the deployed HTTPS endpoints from the Foundry
origin through normal public DNS resolution. The operator’s Mac instead maps MA to
the private proxy; that private proxy’s TCP 443 route times out from Ubuntu before
TLS. A single temporary VM-to-proxy TCP 443 flow has been proposed to the operator
with rollback in ignored .local/PRIVATE-ROUTE-REQUEST.md; it has not been applied.
No persistent DNS or broad proxy change is requested. The original Mac path remains
unverified. Run TESTING.md’s one acceptance sequence before public publication.
See TESTING.md for private-route evidence and the outstanding installed, Mac and WAN checks.
## Manual Gitea publication
The existing stable manifest and versioned download mechanism is preserved:
- Manifest: `https://cheddahboxmb.duckdns.org/CheddahBoxMB/adaptive-music/raw/branch/main/module.json`
- v0.7.0 asset: `https://cheddahboxmb.duckdns.org/CheddahBoxMB/adaptive-music/releases/download/v0.7.0/adaptive-music.zip`
- v0.7.2 asset: `https://cheddahboxmb.duckdns.org/CheddahBoxMB/adaptive-music/releases/download/v0.7.2/adaptive-music.zip`
These are the established repository’s URLs; this work never contacted Gitea or
verified public asset availability. After acceptance, manually publish the included
source to your existing repository, create tag/release `v0.7.0`, attach
source to your existing repository, create tag/release `v0.7.2`, attach
`adaptive-music.zip` and the included manifest/checksums, and update the branch
manifest only after its versioned asset exists. The outer bundle includes full
source, docs, licenses, metadata and SHA256SUMS. Keep the previous immutable release