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

Feature request: Feed data rows to external decoder via stdin #931

Open
Semnodime opened this issue Jan 30, 2022 · 1 comment
Open

Feature request: Feed data rows to external decoder via stdin #931

Semnodime opened this issue Jan 30, 2022 · 1 comment
Labels

Comments

@Semnodime
Copy link

Is your feature request related to a problem?

I have written a python script to decode the incoming radio data.
As I have hundreds of data rows, starting evaluating the /usr/bin/env python3 and starting the interpreter takes long, ...very long.

Describe the solution you'd like

Instead of feeding a single row via the first command line argument (which, as a minor side note, is prone to fail for gigantuous amounts of data per row), I suggest to provide the decoder with the data rows via stdin.
Note that I strongly suggest to first input all the data rows (one row per line, terminated by a single newline \n) and only start reading the decodeded data rows after all data has been written to stdin.

Doing so provides the decoder with the new (and optional) opportunity to process all data lines in context of each other, which even allows to tune parameters and reference previous or future data rows.

Describe alternatives you've considered
  • Writing the decoder as native binary.
  • Removing data rows by hand by selecting and deleting relevant input samples
  • Doing some other work while waiting for urh to finish
@jopohl jopohl added the feature label Jan 30, 2022
@luzpaz
Copy link

luzpaz commented Feb 2, 2024

I have written a python script to decode the incoming radio data.

Is there a link to the python script ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants