Is there a way to tell from the device ID if a device is legacy or not? If it is not legacy and perhaps an edge case in my own system can the device ID show if the device is ATSC/QAM vs DVB-T/C?
Martin
Device ID info
Re: Device ID info
The official definition of the algorithm for determining from the device id if a device is legacy can be found in the libhdhomerun code (hdhomerun_discover.c).emveepee wrote: Sun Aug 10, 2025 4:33 pm Is there a way to tell from the device ID if a device is legacy or not? If it is not legacy and perhaps an edge case in my own system can the device ID show if the device is ATSC/QAM vs DVB-T/C?
You can gain a lot of additional information (presuming the device has recent firmware) from the http://<hdhr>/discover.json, and then decoding the json output.
Re: Device ID info
If you are using the discover API from libhdhomerun there is a function that tells you if a detected device is a legacy model.
Re: Device ID info
Thanks I don't have access to the API where I am calling from so this is perfect https://github.com/Silicondust/libhdhom ... er.c#L1490gtb wrote: Sun Aug 10, 2025 4:51 pm You can gain a lot of additional information (presuming the device has recent firmware) from the http://<hdhr>/discover.json, and then decoding the json output.
Martin