Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto Populate ... FYI #123

Closed
Dewey3 opened this issue Feb 8, 2022 · 5 comments
Closed

Auto Populate ... FYI #123

Dewey3 opened this issue Feb 8, 2022 · 5 comments
Assignees

Comments

@Dewey3
Copy link

Dewey3 commented Feb 8, 2022

This is certainly no problem, but it is something I wanted to relay to you as FYI only. The primary system that I monitor, Prince George's Co, MD, 2A8, P25, Phase 2, TDMA, uses dynamic talkgroups in the 20### numbers that rotate on a daily basis, so I'm always adding new 20### talkgroups to Trunk-Recorder's CSV talkgroup file as priority 255 so they are ignored in the future. (479 talkgroups in my current 741 talkgroup file are these dynamic talkgroups set to a priority of 255). Every now and again, a new dynamic talkgroup that I had not already set to ignore gets assigned. Since I like to keep Auto Populate turned on, which has been very useful, the previously unidentified talkgroup gets ingested by Rdio-Scanner. Rdio-Scanner properly tags the newly unrecognized talkgroup as "Untagged"; however, it randomly assigns anything, including unprintable characters in the "Groups" field for the new talkgroup.

@chuot chuot self-assigned this Feb 8, 2022
@chuot
Copy link
Owner

chuot commented Feb 8, 2022

Can you post a screenshot of those garbled characters?

Do you run your instance with the default database engine or using a different one?

How do you feed in Rdio Scanner, upload-script, tr plugin, dirwatch ?

@Dewey3
Copy link
Author

Dewey3 commented Feb 8, 2022

Can you post... this time it was just the single capital letter "V", the unprintable characters will sometimes appear instead, I just can't identify when that will happen (I didn't think you wanted a screenshot of the single V, but can provide it if it helps). Also if it helps, I can delete some of the 255 priority talkgroups from the CSV file for a day or two to see how other unrecognized talkgroups will be classified.

Do you run your... default database engine and database file.

How do you feed Rdio Scanner... plugin.

@Dewey3
Copy link
Author

Dewey3 commented Feb 9, 2022

An interesting thing happened... I was posting an issue over on Trunk-Recorder just before posting this, so when I went to answer this, I accidentally placed the answer to this with a link to the screenshots in my Trunk-Recorder thread (TrunkRecorder/trunk-recorder#634 (comment)). Well as a result of that, it looks like this is actually a Trunk-Recorder issue with the Rdio-Scanner plugin anyway. So my guess is that the rest of this story here is moot. In case you wanted to see my screenshots of the unprintable characters without having to follow the link over to Trunk-Recorder, the screenshots are here: https://drive.google.com/drive/folders/1gAUouj7xlJr8RLRx1Ztl6BOhNw4gWfrZ?usp=sharing

@taclane
Copy link

taclane commented Feb 9, 2022

Yeah, here's an example that caused me to investigate this as well. Previous TG groups slowly got replaced by invisible characters, single letters and the like.
Screen_Shot_2022-02-07_at_9 25 26_AM
Root cause seems to be rdio-scanner's plugin for trunk recorder. tg_group is a string, but it is getting assigned the TG ID integer without type conversion. Rdio-scanner wasn't auto-populating the talkgroup group field until somewhat recently, so that's probably why it went unnoticed.

Changing line 62 of the plugin to:

      tg_group = std::to_string(call_info.talkgroup);

takes care of the junk characters, but it is still just using the TG ID for the group field. I'm planning to submit a PR so that plugins have all the talkgroup data so that we can auto-populate rdio-scanner completely out of trunk-recorder's talkgroup csv.

@Dewey3
Copy link
Author

Dewey3 commented Feb 9, 2022

This looks like a very east fix for me as an end user. Thank you for all of your help and support!

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

No branches or pull requests

3 participants