Project

General

Profile

How to get a email every time TV Headend finish recording

Added by Rhodar Warner almost 10 years ago

Hallo guys,

I read almost every guides about “TV Headend post processing recordings”. But what I like to do is,
to get a notification email every time TV Headend finish recording. I read a lot of thread but
every one only talks about commercial removing or converting the recorded files. Can some one help me?
I have a Synology DS212+ and a I can send emails from CLI with:

Code:
/usr/bin/php -r “mail(‘’,'Tvheadend – TV Program Recording Finish!’,”);”

Thanks in advance,
Negrito


Replies (1)

RE: How to get a email every time TV Headend finish recording - Added by Prof Yaffle almost 10 years ago

What happens if you just try this string as your post-processing command? You need to be careful of paths, but if you're using an absolute path then it should work fine. You can pass the recording name as a variable so it's more informative... and, if that doesn't work, write a simple shell script with this line in it and call that using /bin/sh /path/to/script <options>.

    (1-1/1)