Repository navigation
Systems with sites (SDK 0.4.0) - #1
Merged
Merged
Conversation
Trunk Recorder Pro's systems now have sites: a call heard on several is one call, its JSON saying the site it was kept from. The events doc says so: site / site_name in the examples, call.start's id matching call_num only for a call heard on one site, a call's audio from a copy that had no call.start, status as an entry per site. Settings and uploading say a system's sites share its settings, and how to give a site its own. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Trunk Recorder Pro now has systems with sites (TrunkRecorder/trunk-recorder-pro#51; SDK
trunk-recorder-plugin0.4.0). This updates the template and its author docs.What changes
docs/events.md:site/site_namein the examples.call.start'sidmatches the concluded call'scall_numonly for a call heard on one site. A call heard on several starts and ends once, as its first site's copy, and the copy that concludes may be another site's.call_idof a copy that had nocall.start. Such a chunk belongs to the call with the same system and talkgroup.statushas one entry per site.docs/settings.md,docs/uploading.md: a system's sites share its settings. For a service that knows a site as a system of its own, add a list of sites, as 0.1.5: a site with a Broadcastify Calls system of its own trunk-plugin-broadcastify#1 and 0.1.5: a site with an OpenMHz system of its own trunk-plugin-openmhz#3 do.Tests: all pass, and clippy and
cargo fmt --checkare clean.🤖 Generated with Claude Code