Skip to content

v0.14.23 — Restart Listener now also starts the audio daemon - #15

Open
ShowPilotFPP wants to merge 1 commit into
mainfrom
claude/daemon-start-fix
Open

ShowPilotFPP wants to merge 1 commit into
mainfrom
claude/daemon-start-fix

Conversation

@ShowPilotFPP

Copy link
Copy Markdown
Owner
  • Bug fix: if FPP started before the ShowPilot Server URL was entered, the audio daemon (which gives ShowPilot the live song position for phone audio) didn't start until FPP itself was restarted. Restart Listener now starts it too. A daemon that's already running is left alone, so phones that are in sync aren't interrupted.

Source: found on a test FPP


Generated by Claude Code

Copy link
Copy Markdown
Owner Author

Checks: php -l commands/restart_listener.php, bash -n scripts/ensure-daemon.sh. Ran ensure-daemon.sh against a stub FPP environment: with no Server URL it logs "not started" and starts nothing; with a URL and no daemon it starts one; with the daemon already running it leaves the same process alone (one start line in the log). Audio daemon change, so no Lite mirror (the plugin has none anyway).


Generated by Claude Code

- Bug fix: if FPP started before the ShowPilot Server URL was entered, the audio daemon (which gives ShowPilot the live song position for phone audio) didn't start until FPP itself was restarted. Restart Listener now starts it too. A daemon that's already running is left alone, so phones that are in sync aren't interrupted.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PJcoKHBbUy8af4NEScdVTb
@ShowPilotFPP
ShowPilotFPP force-pushed the claude/daemon-start-fix branch from 6f487b3 to 14628c6 Compare November 8, 2026 03:35

Copy link
Copy Markdown
Owner Author

Updated before shipping: this release also carries a Connection setting on the Server tab — Self-hosted ShowPilot (default, unchanged behaviour) or Hosted ShowPilot (the audio daemon keeps one outbound connection to the server for live song position). Deliberately left out of the release notes for now.

Checks on the final branch: node --check showpilot_audio.js, php -l on the changed PHP files, bash -n on the scripts. Against a stand-in server: Self-hosted opened no connection; Hosted connected to /api/plugin/link with the bearer token and relayed position/heartbeat; switching back to Self-hosted closed it within 30 s and it didn't reconnect. ensure-daemon.sh: no URL → nothing started; URL and no daemon → started; daemon running → left alone.


Generated by Claude Code

Copy link
Copy Markdown
Owner Author

/ship


Generated by Claude Code

@github-actions

github-actions Bot commented Nov 8, 2026

Copy link
Copy Markdown

Shipping this through ShipPilot… (started by @ShowPilotFPP)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants