chuot / rdio-scanner

Rdio Scanner is an open source software that ingest and distribute audio files generated by various software-defined radio recorders. Its interface tries to reproduce the user experience of a real police scanner, while adding its own touch.
GNU General Public License v3.0
422 stars 59 forks source link

Patches API Example #331

Open tadscottsmith opened 1 year ago

tadscottsmith commented 1 year ago

Can you provide an example and update the documentation with an example of the JSON that the /api/call-upload endpoint expects for the "patches"?

tadscottsmith commented 1 year ago

It seems the actual format is [TGID1,TGID2]. Would probably be good to have the doc updated.

chuot commented 1 year ago

You're right, I forgot to change the doc when I added this feature. Anyway, it is indeed [TGID,...] as per Trunk-Recorder is sending them. I'll make sure to fix the doc when I'll publish v7, which I'm getting back to it after some personnal life hickups.

And btw, thanks so much for the SDRTrunk PR, it is very much appreciated!

tadscottsmith commented 1 year ago

Sorry for the very delayed response. Thank you for the verification and including this in the upcoming v7 documentation. I'm excited to see the new release!

I'm hopeful that the changes to SDRTrunk will get merged in, but I understand the author doesn't know me from Adam, and I'm sure he's busy as well, so we'll see.

Hope life is treating you better! Take care!