pssc / ha-addon-tvheadend Goto Github PK
View Code? Open in Web Editor NEWHome Assistant Addon for Tvheadend
License: GNU General Public License v3.0
Home Assistant Addon for Tvheadend
License: GNU General Public License v3.0
I submit Options as parameter and wonder, why they never reach tvheadend. So I try to understand their way.
https://github.com/pssc/ha-addon-tvheadend/blob/6a454f0d2a577ea1a555aa3d2eec6ad4e064bfe7/tvheadend/rootfs/etc/cont-init.d/09-ha-config-to-env.sh
https://github.com/pssc/ha-addon-tvheadend/blob/master/tvheadend/rootfs/etc/services.d/tvhaedend/run#L22
My Option was "--satip_xml http://192.168.178.26:8000/description.xml" and I found the logentry
[02:00:25] INFO: Option OPTIONS to LMS_OPTIONS="--satip_xml http://192.168.178.26:8000/description.xml"
also by listing all env vars:
TERM=xterm-256color
SUPERVISOR_TOKEN=******
SHLVL=1
LMS_OPTIONS="--satip_xml http://192.168.178.26:8000/description.xml"
CWD=/
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
S6_CMD_WAIT_FOR_SERVICES=1
DEBIAN_FRONTEND=noninteractive
HAA_NAME=tvheadend
but later only:
[services.d] starting services
+ LIBSUP=/opt/tvheadend-support/lib/libtvheadend.sh
+ '[' -r /opt/tvheadend-support/lib/libtvheadend.sh ']'
+ . /opt/tvheadend-support/lib/libtvheadend.sh
++ set -o errexit
++ set -o errtrace
++ set -o nounset
++ set -o pipefail
++ readonly LIBLMS_VERSION=0.0.1
++ LIBLMS_VERSION=0.0.1
+++ dirname /opt/tvheadend-support/lib/libtvheadend.sh
++ readonly __LIBLMS_LIB_DIR=/opt/tvheadend-support/lib
++ __LIBLMS_LIB_DIR=/opt/tvheadend-support/lib
+ main
+ echo 'Start tvheadend'
Start tvheadend
+ OPTIONS=
+ PID=635
+ echo -n 635
+ trap stop SIGTERM SIGINT
+ trap '' SIGHUP
+ wait 635
+ echo tvheadend -S -C -c /config/tvheadend/
tvheadend -S -C -c /config/tvheadend/
+ tvheadend -S -C -c /config/tvheadend/
[services.d] done.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.