Project

General

Profile

Please help me ! How to autostart tvheadend

Added by Kujtim Leku over 6 years ago

Hi i'm begginer i need to know how to startup my tvheadend autostart on ubuntu i read to many articles, to create file in /etc/init.d/tvheadend i create but is not working, to start tvheadend i need to login with putty and to write tvheadend -C, after i close putty tvheadend not working

Please help me


Replies (37)

RE: Please help me ! How to autostart tvheadend - Added by Kujtim Leku over 6 years ago

saen acro wrote:

[...]

if i write only tvheadend

tv headend starting working but i dont know how to automatic start

RE: Please help me ! How to autostart tvheadend - Added by saen acro over 6 years ago

You still not install it
inside tvheadend source folder

root@FlamingoXL:/opt/tvheadend# ./Autobuild.sh -j(nproc)

RE: Please help me ! How to autostart tvheadend - Added by Kujtim Leku over 6 years ago

saen acro wrote:

You still not install it
inside tvheadend source folder
[...]

root@tvheadent:~/tvheadend# ./Autobuild.sh
On branch master
Your branch is up-to-date with 'origin/master'.
nothing to commit, working directory clean
dpkg-buildpackage: source package tvheadend
dpkg-buildpackage: source version 4.3-1233~g4fe0af0
dpkg-buildpackage: source distribution unstable
dpkg-buildpackage: source changed by Andreas Öman <>
dpkg-buildpackage: host architecture amd64
dpkg-source --before-build tvheadend
dpkg-checkbuilddeps: error: Unmet build dependencies: debhelper (>= 7.0.50) libpcre2-dev | libpcre3-dev
dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
dpkg-buildpackage: warning: (Use -d flag to override.)

RE: Please help me ! How to autostart tvheadend - Added by Kujtim Leku over 6 years ago

saen acro wrote:

you still not read
http://tvheadend.org/boards/4/topics/24116

there is a section
short version of all needed packages

i read one by one but i dont know why i can't is complicated

RE: Please help me ! How to autostart tvheadend - Added by saen acro over 6 years ago

Reading and understanding

dpkg-checkbuilddeps: error: Unmet build dependencies: debhelper (>= 7.0.50) libpcre2-dev | libpcre3-dev

with mean

apt install libpcre2-dev libpcre3-dev

RE: Please help me ! How to autostart tvheadend - Added by Kujtim Leku over 6 years ago

saen acro wrote:

Reading and understanding
[...]

with mean
[...]

on the end

/root/tvheadend/src/intlconv.c:149: undefined reference to `libiconv_close'
/root/tvheadend/src/intlconv.c:156: undefined reference to `libiconv_close'
/root/tvheadend/build.linux/src/intlconv.o: In function `intlconv_to_utf8':
/root/tvheadend/src/intlconv.c:230: undefined reference to `libiconv_open'
/root/tvheadend/build.linux/src/intlconv.o: In function `tvh_iconv':
/root/tvheadend/src/intlconv.c:23: undefined reference to `libiconv'
/root/tvheadend/build.linux/src/intlconv.o: In function `intlconv_to_utf8':
/root/tvheadend/src/intlconv.c:238: undefined reference to `libiconv_close'
/root/tvheadend/src/intlconv.c:245: undefined reference to `libiconv_close'
collect2: error: ld returned 1 exit status
Makefile:699: recipe for target '/root/tvheadend/build.linux/tvheadend' failed
make3: * [/root/tvheadend/build.linux/tvheadend] Error 1
make3: Leaving directory '/root/tvheadend'
Makefile:103: recipe for target 'ffmpeg_all' failed
make2:
[ffmpeg_all] Error 2
make2: Leaving directory '/root/tvheadend'
debian/rules:11: recipe for target 'override_dh_auto_build' failed
make1:
[override_dh_auto_build] Error 2
make1: Leaving directory '/root/tvheadend'
debian/rules:5: recipe for target 'build' failed
make: *
[build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

RE: Please help me ! How to autostart tvheadend - Added by saen acro over 6 years ago

echo "deb https://dl.bintray.com/tvheadend/deb xenial unstable" | sudo tee /etc/apt/sources.list.d/tvheadend.list
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 379CE192D401AB61 
apt update
apt install tvheadend

RE: Please help me ! How to autostart tvheadend - Added by Kujtim Leku over 6 years ago

saen acro wrote:

[...]

ok i use this command and i reboot, but tvheadend not starting

RE: Please help me ! How to autostart tvheadend - Added by Kujtim Leku over 6 years ago

saen acro wrote:

[...]

if i write
service tvheadend start
headend started bot not automatic started on boot

RE: Please help me ! How to autostart tvheadend - Added by saen acro over 6 years ago

Is it ask you for TVH administrator password during installation?
is

service tvheadend status

show any information?

is

service tvheadend start

start it?

RE: Please help me ! How to autostart tvheadend - Added by Kujtim Leku over 6 years ago

saen acro wrote:

Is it ask you for TVH administrator password during installation?
is
[...]
show any information?

is
[...]
start it?

Its fixed now
after write
systemctl enable tvheadend

Headend startet automatic after boot thank you very much

(26-37/37)