Project

General

Profile

Failed transponder re-scanning through API

Added by JM Wislez over 2 years ago

I have transponders that return a failed status from time to time. I would like to use the API to trigger a re-scan of these transponders. I tried:

$ curl -s 'http://[user]:[pass]!@localhost:9981/api/mpegts/network/scan?uuid=[uuid]'

But this seems to only scans one (the latest?) transponder per adapter, not all. Any way to scan all or a specific transponder through the API?

Thanks!

Jean-Marc


Replies (1)

RE: Failed transponder re-scanning through API - Added by Dave Pickles over 2 years ago

According to https://github.com/dave-p/TVH-API-docs/wiki/mpegts#mpegtsnetworkscan the api/mpegts/network/scan function must be supplied with the uuid of the network, it will then trigger a scan across the muxes contained in that network using whatever tuners are available.

I just tried it (on UK Freesat 28.2E) and it works on my system. Strangely it scans the muxes in the reverse order to normal; instead of H then V and frequency low to high it scans V then H and high to low.

A scan of a single mux can be triggered from the UI by setting its "Scan Status" to "Active". I don't think there is a specific API to do this.

    (1-1/1)