Skip to content

Conversation

@taclane
Copy link
Contributor

@taclane taclane commented Jan 2, 2026

As a followup to the OTA PR #1074, unit tags and OTA tags should provide a function to return the respective alias vectors if needed by another process.

While not presently used in trunk-recorder itself, this would allow plugins to iterate across
sys->get_unit_tags() or
sys->get_unit_tags_ota()
much the same way it can presently do so with
sys->get_talkgroups()

A example use would be to periodically poll the length of OTA tags, then display or emit the N newest entries from the front of the vector if a change in length is noted.

@Dygear
Copy link
Contributor

Dygear commented Jan 3, 2026

Very much +1 for this. I think I pinged @taclane about it right after the first beta went out on his repo. It would be great to have a way to get the OTA list from the plugin interface. Happy to see that land here.

@Dygear
Copy link
Contributor

Dygear commented Jan 7, 2026

@robotastic for what it's worth, I did read over the code and compiled it. This all looks good to me.

@robotastic
Copy link
Collaborator

Good prod - let me go roll it in!

@robotastic robotastic merged commit 73ff415 into TrunkRecorder:master Jan 7, 2026
1 check passed
@taclane taclane deleted the get-tags branch January 10, 2026 16:02
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.

3 participants