robotastic / trunk-recorder

Records calls from a Trunked Radio System (P25 & SmartNet)
GNU General Public License v3.0
827 stars 191 forks source link

fix rdio uploader #908

Closed taclane closed 5 months ago

taclane commented 5 months ago

A stray initialization of curl was causing issues with the libcurl library found in older, stable, distros. This includes the Ubuntu 22.04 LTS base used in the trunk-recorder docker image.

Newer versions of libcurl appear to handle this gracefully, but it will wipe the data accumulated in the curl object and revert the POST request to a GET when using older libraries.

Additionally, the Rdio Scanner startup messages have been cleaned up to mirror #907

(info)   Setting up plugin -  Name: Rdio-Scanner     Library file: librdioscanner_uploader.so
(info)      [Rdio Scanner]  Rdio Scanner Server: https://server.net:3000
(info)      [Rdio Scanner]  Uploading calls for: test    Rdio System: 1111   API Key: *****555
(info)      [Rdio Scanner]  Uploading calls for: clmrn_I     Rdio System: 3333   API Key: *****555
(info)      [Rdio Scanner]  Uploading calls for: clmrn_G     Rdio System: 3333   API Key: *****555