Opendigitalradio / dablin

DAB/DAB+ receiver for Linux (including ETI-NI and EDI AF playback)
GNU General Public License v3.0
123 stars 27 forks source link

Make subchannel data available in CLI #57

Closed haditim closed 4 years ago

haditim commented 4 years ago

Hi, Thanks for the amazing work.

I use dablin cli for EDI decoding. However, I am wondering if that would be possible to make the same data that populates the GTK widgets also available in the CLI. For example the list of channels, programs, audio level and other statistic can be dumped to a json/yaml/toml file as it was done in etisnoop and get updated every once in a while. Please let me know if such a feature is already implemented or there is a possibility to add it. Thanks

basicmaster commented 4 years ago

Hi,

DABlin is designed to be a playback application with some more detailled output sometimes, but its task is rather not to output information regularly and in a structured way. This is actually the task of analysers like etisnoop. AFAIK etisnoop currently only processes ETI, but I guess it would be welcomed if you want to add EDI input to it ;-)

mpbraendli commented 4 years ago

Sure it would be welcome! I have a little test-tool inside http://git.mpb.li/git/odr-edilib/about/ which can analyse EDI and convert it to ETI. Maybe that can help you for your analysis needs.

haditim commented 4 years ago

Thanks a lot for swift replies. I just thought that since the GTK widgets are populated anyways, one could also make the data available relatively easily. If this is not the case then I'll be trying to use the test tool @mpbraendli mentioned. Thanks again for the amazing project.