Project

General

Profile

Feature request: REST API endpoint for DVR free / used / total disk space

Added by Christian . over 5 years ago

The Tvheadend GUI contains values for free, used and total disk space of the DVR component's storage. These values are probably requested via a HTSP connection .

I'm already using the REST API and would like to monitor the storage values. Unfortunately, these values are not part of the REST API yet. I'd like to avoid implementing the HTSP protocol just for this reason.

Thus, it would be nice if the values could be made available via a REST endpoint.


Replies (4)

RE: Feature request: REST API endpoint for DVR free / used / total disk space - Added by Dave H over 5 years ago

It would be easy enough to implement a service to transmit disk stats without using TVH at all. Any available transport mechanism could be used - an HTTP service, SSH, Redis, MQTT etc etc.

RE: Feature request: REST API endpoint for DVR free / used / total disk space - Added by Christian . over 5 years ago

That's correct and should be sufficient in most cases. However, since these stats are taken from the system, you don't have access to the value used by Tvheadend which is calculated by Tvheadend internally.

    (1-4/4)