Project

General

Profile

Is it possible to receive an email with program name and channel when a new recording has been scheduled?

Added by Sean Micklem over 6 years ago

Hi. What I'd like to know is if there is any way to receive an email when a new recording has been scheduled, for example when you want to know what the kids are trying to record?

Or if that's not possible, is there any way to receive a nightly report showing all upcoming scheduled recordings? If there is a way to see this from the Linux command line, by running some command that directly queries whatever database Tvheadend uses, I could probably pipe that to an email.


Replies (1)

RE: Is it possible to receive an email with program name and channel when a new recording has been scheduled? - Added by Ulrich Buck over 6 years ago

You might want to use

Pre-processor command:
Post-processor command:
Post-remove command:

which you can configure in your DVR profile.

Or you coud use the TVH API.
For example
http://yourIP/api/dvr/entry/grid
will give you all recordings in Json format.
Look at the bottom of the .c files in https://github.com/tvheadend/tvheadend/tree/master/src/api to find out more api possibilities and try them.

A search of "TVHeadend json API" will bring up more hints.

Just came across the API documentation at https://github.com/dave-p/TVH-API-docs/wiki

    (1-1/1)