-
-
Notifications
You must be signed in to change notification settings - Fork 202
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
Failed parsing Config: stod
is less than useful
#729
Comments
I have no idea what's wrong. Trunk Recorder refuses to load. Kneel before Stod! |
Ugh, I found it. This is an incarnation of #724 Min broken case
Min working case
Basically, if you don't have something in for tone, it fails. This is broken for a lot of reasons. 1.) Not every analog station uses tones I know the tone stuff is a no-op at this moment, but when that support is added, the digital modes will all break since the tone won't ever be detected. |
ok - the easy fix for this is to improve the parsing of the Channels file so it can handle the tone field being empty. A better fix is probably looking at how we handle digital conventional channels... to the point in #724 - maybe we don't really need a channels file for conventional digital. |
I also ran into this, though my issue was that my CSV included the column headers as shown on https://github.com/robotastic/trunk-recorder/blob/master/docs/CONFIGURE.md#channelfile but actually there shouldn't be any headers in the CSV. |
I can't speak for all conventional digital systems, but it is fairly common for conventional P25 deployments to use the default talkgroup (1) across everything. For instance, the only way to discriminate Police (TG 1) from Fire (TG 1) is by the frequency used. Using a channel.csv to assign metadata by frequency is a reasonable solution for both conventional and conventional p25. As far as conventional DMR or other single-frequency trunks, I don't have any in my area, but it does sound like they operate in a way that would benefit more from a talkgroup.csv. Maybe depending on whether a talkgroupsFile or channelFile is specified, it can drive whether a system looks up metadata by TG or frequency? |
This is prob OBE - CSV parsing was re-written |
Min test case json
Min test case channels.csv
The text was updated successfully, but these errors were encountered: