Release v0.6.0 - Music Assistant wizard and automatic listener connections
Validate and generate manual release / package (push) Waiting to run

This commit is contained in:
Jason committed 2026-12-03 20:11:10 -05:00
1 parent 5319177c58
commit eb9536f903
26 files changed
+1553 -764

No files matched your search

+34 -49
View File
@@ -1,61 +1,46 @@
# Adaptive Music — 0.5.0 development
# Adaptive Music — 0.6.0
Independent open-source project by **CheddahBoxMB**, targeting Foundry VTT **v14.371**
and Music Assistant **2.10.6**, independent of game system and other modules.
This is a development release; it has not been exercised inside an actual Foundry
world. No production installation or external service is changed by building it.
Independent open-source project by **CheddahBoxMB**, targeting Foundry VTT
**v14.371** and Music Assistant **2.10.6**. System-independent; no other modules,
containers, VMs/LXCs or mandatory services. Install the single Foundry module ZIP.
Install `adaptive-music.zip` through Foundry's normal module manifest mechanism.
[INSTALL.md](INSTALL.md) covers manual Gitea publication, installation, updates and
isolated testing. The configured repository is **planned, not confirmed**. No
connection to it was made. An uploaded, anonymously readable manifest and release
asset are required before Foundry installation by URL can work.
GM setup now includes a Music Assistant connection wizard, private GM authentication,
existing dedicated receiver selection by identity backup, catalog-backed playlist
selectors, audio connection and diagnostics. World defaults and separate scene
ambient/combat/boss/Foundry fallback selections persist in Foundry. Native effects
and AmbientSound documents remain untouched. Automation defaults off.
The standard module includes native playlist playback, persistent separate scene
ambient/combat/boss/native fallback assignments, global defaults, manual overrides,
combat automation and the existing snapshot/restore controller. The GM setup menu
configures native ownership and assignments. Automation defaults off. Only
explicitly owned native music playlists are eligible; sound effects are out of scope.
The GM browser hosts the bundled official Sendspin SDK, decodes PCM with Web Audio,
and sends audio to authorized active players over WebRTC. Players connect automatically
and may need one **Enable Audio** click. Neither MA credentials nor its address are
sent to players. Private credentials and receiver identity stay in GM tab memory;
reloading the GM tab requires reconnecting. All code running in the GM browser origin
must be trusted. Optional companion controls are hidden under advanced development.
The new **experimental GM browser host** shares the validated MA provider/catalog
code, uses the bundled official Sendspin SDK's PCM decoder and Web Audio, and
sends audio to invited listeners with WebRTC. Supported Foundry module sockets carry
only encrypted bounded signaling, never continuous audio. GM credentials remain in
GM memory and are visible to that browser's user; players receive individual
expiring audio capabilities. No Docker, VM, LXC, external module, permanent sandbox,
core patch, OS service or public MA endpoint is required by the module.
MA needs trusted private HTTPS/WSS reachable by the GM, an existing dedicated receiver
identity/pairing backup, account permissions and authentication-log review. This release
does not create a receiver or change any service/network configuration. WAN audio may
need an already available approved TURN relay. No browser bypasses, public MA proxy,
new service or guaranteed synchronization is provided. See [INSTALL.md](INSTALL.md).
This path is a developer API experiment, not a completed one-click MA setup.
The existing DEV receiver's private identity/pairing, private browser-reachable TLS,
authentication-log review and MA ingestion of the approved synthetic sequences are
still prerequisites. Real catalog entries can be displayed/assigned, but only the
authorized synthetic sequences are enabled for experimental MA playback. The
companion implementation remains optional experimental source and is preserved at
local branch `experimental/companion-0.4.0`; it is not needed for native playback.
The user reports v0.5.0 published to their existing Gitea, installed/activated in
Foundry v14.371 with D&D 5e 6.1.2, and both windows rendering. This is user-supplied
installation evidence, not a claim of MA playback. v0.6.0 is checked with offline
regressions and a Chromium UI fixture; live Foundry/MA audio and WAN acceptance remain
pending. Earlier synthetic browser measurements are recorded separately.
Measured in Chromium: the official decoder and WebRTC delivered synthetic 440 Hz
PCM to **two** listener contexts, with first signal at **1.757 s** and approximately
**42.3 kbit/s** aggregate GM RTP payload. This used a loopback signaling shim, not
Foundry or MA. WAN/NAT/TURN, inter-listener synchronization, audible MA output and
nonempty live queue restoration remain unverified. Crossfade and simultaneous
ambient layers are not implemented. GM loss ends forwarding; seamless failover or
crash restoration is not promised.
Build a complete manual release bundle locally, without Git credentials or a remote:
Build without contacting a Git server:
```sh
python3 scripts/release.py
# To prepare the same release for GitHub instead:
python3 scripts/release.py --repository https://github.com/OWNER/REPOSITORY --output dist/github
python3 scripts/release.py --validate dist/releases/v0.6.0/adaptive-music.zip
```
Output: `dist/releases/v0.5.0/adaptive-music-release-v0.5.0.zip`, containing the
installable module, standalone manifest, source archive, documentation, licenses
and SHA256 checksums. The manifest uses a stable branch URL and a version-specific
release download. Build automation validates both but does not publish anything.
Prebuilt browser assets are included; end users do not need Node/npm or Python.
Manual upload bundle: `dist/releases/v0.6.0/adaptive-music-release-v0.6.0.zip`.
It includes the installable module, standalone manifest, complete source archive,
documentation, licenses and checksums. [INSTALL.md](INSTALL.md) explains manual
publication to the existing Gitea. No Git server was accessed by this work.
For contributor commands and evidence see [TESTING.md](TESTING.md),
[PROGRESS.md](PROGRESS.md), [ARCHITECTURE.md](ARCHITECTURE.md) and
[SECURITY.md](SECURITY.md). MIT project license; upstream MIT/Apache notices and
full dependency licenses are retained in `THIRD-PARTY-NOTICES` and `licenses/`.
MIT project license. Upstream MIT/Apache notices and licenses remain in
`THIRD-PARTY-NOTICES` and `licenses/`. See [TESTING.md](TESTING.md),
[PROGRESS.md](PROGRESS.md), [ARCHITECTURE.md](ARCHITECTURE.md) and [SECURITY.md](SECURITY.md).