Skip to content

Xiol/Tvheadend-Postprocessor

Repository files navigation

Tvheadend Postprocess Scripts

Postprocessor scripts to transcode videos and radio recordings and then send email notifications to interested parties.

Requires ffmpeg, a working beanstalkd server and the Python packages beanstalkc and pyyaml.

How I installed it:

cd /opt
git clone git@github.com:Xiol/Tvheadend-Postprocessor.git tvhpp
cd tvhpp/
virtualenv env
source env/bin/activate
pip install beanstalkc pyyaml
cp tvhpp.conf.example /etc/tvhpp.conf
vi /etc/tvhpp.conf
# Edit as desired

# I'm using supervisord to control this, so copy config and update
cp supervisord/tvhqp.conf /etc/supervisord/conf.d
supervisorctl update
# Alternatively start it up using whatever method you want

# Set your Tvheadend Postprocessor command to:
/opt/tvhpp/env/bin/python /opt/tvhpp/tvheadend_postprocessor.py "%f" "%c" "%t" "%e"

I've only tested this with Tvheadend's .mkv output format. If you're using pass-through, YMMV.

License

Public domain.

About

Post processing scripts for Tvheadend that meet my needs but probably not yours.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages