This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

[HOWTO] Install TvHeadend on Finch / Qjail-3.5

Jails with XigmaNAS
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
dreamcat4
experienced User
experienced User
Posts: 111
Joined: 21 Mar 2014 21:59
Status: Offline

[HOWTO] Install TvHeadend on Finch / Qjail-3.5

Post by dreamcat4 »

Description:

TvHeadend is a home PVR software with web interface. It requires a compatible USB TV Tuner device, PCI Adaptor card, or nearby networked "ipTV" device to work. The other alternative to TvHeadend software is "MythTV". Each have their own pros / cons. This how-to is for TvHeadend.

https://tvheadend.org/

HOW-TO Link:

https://gist.github.com/dreamcat4/f0e61d35f656afde5df6

Most of the commands can be copy-pasted and should "just work". However if you wish, it is possible to change some variables near the top. For example "jail_ip=", "jail_loopback=" and "jailname=".

laster13
PowerUser
PowerUser
Posts: 995
Joined: 01 Jun 2013 19:15
Location: France-Marseille
Status: Offline

Re: [HOWTO] Install TvHeadend on Finch / Qjail-3.5

Post by laster13 »

Hi

Is dit really possible tout install Tvheadend

In Finch and does it work with xbmc

Thanks

dreamcat4
experienced User
experienced User
Posts: 111
Joined: 21 Mar 2014 21:59
Status: Offline

Re: [HOWTO] Install TvHeadend on Finch / Qjail-3.5

Post by dreamcat4 »

laster13 wrote:Hi

Is dit really possible tout install Tvheadend

In Finch and does it work with xbmc

Thanks
Laster, yes it is possible right now with 3.4 in public freebsd ports tree. However some of the features in 3.4 port don't work (transcoding, and internal EPG grabbers). I myself have been building a newer version with updated / better features. That isn't ready yet, and isn't publically available. Although you can see in dreamcat4/ports github repository all the needed ports files. That isn't in the current howto.

I have to get Decke the port maintainer to test my changes, and officially update it. He is too busy yet to find time.
And yes, tvheadend will work with XBMC.

laster13
PowerUser
PowerUser
Posts: 995
Joined: 01 Jun 2013 19:15
Location: France-Marseille
Status: Offline

Re: [HOWTO] Install TvHeadend on Finch / Qjail-3.5

Post by laster13 »

thank you for your reply. I will try to install finch pending and I am looking forward that you've finished your projett on tvheadend

laster13
PowerUser
PowerUser
Posts: 995
Joined: 01 Jun 2013 19:15
Location: France-Marseille
Status: Offline

Re: [HOWTO] Install TvHeadend on Finch / Qjail-3.5

Post by laster13 »

hi dreamcat4

i have usb tnt delgato diversity.

I try to install tvheadend but I am having some difficulties.
Tvheadend.PNG

Code: Select all

service devfs restart
devfs does not exist in /etc/rc.d or the local startup
directories (/usr/local/etc/rc.d)

Code: Select all

qjail config -b "$rule_num" "$jailname"
Error; devfs_ruleset # 150 does not exist.
It must first be defined in the hosts /etc/devfs.rules.
my devs.rules is

Code: Select all

[devfsrules_unhide_cuse=23]
add path 'cuse*' unhide
add path 'video*' unhide
add path 'dvb*' unhide
add path 'dvb/*' unhide
add path 'dvb/adapter0/*' unhide
add path 'dvb/adapter1/*' unhide
add path 'input*' unhide
add path 'input/*' unhide



[devfsrules_jail_tvheadend=150]
add include $devfsrules_jail
add include $devfsrules_unhide_cuse
I continue despite everything until the end and all is well

but when I type the following line I have:

tvheadend ~/ root~# fetch -o - http://$192.168.0.150:9981
fetch: http://92.168.0.150:9981: Operation timed out

Finally, when j arrives on the console delgato eyetv diversity is not recognized
console tvheadend.PNG
but in nas4free journal i have

Code: Select all

Aug 9 09:04:44	nas4free	root: Unknown USB device: vendor 0x0fd9 product 0x0011 bus uhub1
Aug 9 09:04:44	nas4free	kernel: ugen1.3: <Elgato> at usbus1

Il you think that usb tnt delgato diversity is notre compatible can you give the name of other USB TNT

Thank
You do not have the required permissions to view the files attached to this post.

dreamcat4
experienced User
experienced User
Posts: 111
Joined: 21 Mar 2014 21:59
Status: Offline

Re: [HOWTO] Install TvHeadend on Finch / Qjail-3.5

Post by dreamcat4 »

laster13 wrote:

Code: Select all

service devfs restart
devfs does not exist in /etc/rc.d or the local startup
directories (/usr/local/etc/rc.d)
This error looks like old finch version. Before v1.23. Because I do not get that problem on my machine (it worked for me).

Code: Select all

freenas ~/ id~$ sudo finch chroot
finch: chrooting to "/mnt/pool0/finch".
freenas // root^> cd /etc/rc.d
freenas rc.d/ root^> mv devfs ../rc.d__disabled_by_finch/
freenas rc.d/ root^> exit
logout
freenas ~/ id~$ finch -v
finch: 1.25, 8bf0bfbad9, Mon Jul 21 08:49:34 BST 2014.
freenas rc.d/ id~$ finch update -y
finch: Last authored on: Sun Jul 27 14:54:28 BST 2014
...
Stopping finch.
Stopping cron.
...
Stopping webcamd.
Waiting for PIDs: 15028
Stopping kldload.
Updating finch scripts.
Starting finch.
Starting kldload.
Starting webcamd.
Attached to ugen7.3[0]
webcamd is running as pid 20952.
...
Jail successfully started  tvheadend
Starting cron.

Update complete.
* Now logout / log back in, or type ". /etc/profile".
freenas ~/ id~$ sudo finch chroot
finch: chrooting to "/mnt/pool0/finch".
freenas // root^> ls -l /etc/rc.d/devfs 
-r-xr-xr-x  1 root  wheel  1433 Sep 27  2013 /etc/rc.d/devfs*
freenas // root^> service devfs restart
freenas // root^> echo $?
0
freenas // root^> 
The code is here:

https://github.com/dreamcat4/finch/blob ... ces#L13-21

finch --version... please say your version...
finch update -y -f... please update...
laster13 wrote: but in nas4free journal i have

Code: Select all

Aug 9 09:04:44	nas4free	root: Unknown USB device: vendor 0x0fd9 product 0x0011 bus uhub1
Aug 9 09:04:44	nas4free	kernel: ugen1.3: <Elgato> at usbus1
You seem to have missed entirely the instructions about 'Install drivers for your TV Tuner device'. With 'webcamd how-to' link posted in it. Perhaps the instruction was not clear / obvious enough? That us useful feedback to know for improving.

Before even installing Tvheadend, your USB tuner device needs webcamd service running correctly, as per the webcamd howto. This does not apply to iptv devices or SAT>IP devices. Only USB ones. And not only webcamd service, but also it may not function correctly until you have installed the correct dib0700.fw file into ${finch_path}/boot/modules. Like it tells you in webcamd howto were to download from video4linux homepage etc...

Your device can be found as supported in the dib0700 list on the FreeBSD man pages. Or freebsd's 'webcamcompat' web page.

http://www.manualpages.de/FreeBSD/FreeB ... 700.4.html

laster13
PowerUser
PowerUser
Posts: 995
Joined: 01 Jun 2013 19:15
Location: France-Marseille
Status: Offline

Re: [HOWTO] Install TvHeadend on Finch / Qjail-3.5

Post by laster13 »

Code: Select all

nas4free ~/ root~$ sudo finch chroot
nas4free ~/ root~$ finch -v
finch: 1.26, 6fe5fc5836, Sun Jul 27 14:54:28 UTC 2014.
I think I made a mistake here. I really do not understand this step

Code: Select all

# Finch users: Configure kldload to start cuse4bsd kernel module on boot up
# (other users should edit their loader.conf file instead).
sysrc "kldload_modules=$(sysrc -n kldload_modules) cuse4bsd"
it's give a error

Code: Select all

 sysrc "kldload_modules=$(sysrc -n kldload_modules) cuse4bsd"
kldload_modules: sysrc: unknown variable 'kldload_modules' cuse4bsd -> sysrc: unknown variable 'kldload_modules' cuse4bsd cuse4bsd
and when i type

Code: Select all

 service kldload start
Starting kldload.
kldload: kernel module: sysrc:.ko not found.
kldload: kernel module: unknown.ko not found.
kldload: kernel module: variable.ko not found.
kldload: kernel module: 'kldload_modules'.ko not found.

Code: Select all

kldstat
Id Refs Address            Size     Name
 1   14 0xffffffff80200000 1a22920  kernel
 2    1 0xffffffff81c23000 23d298   zfs.ko
 3    2 0xffffffff81e61000 84d0     opensolaris.ko
 4    1 0xffffffff90d6a000 1e3e8    isboot.ko
 5    1 0xffffffff91012000 376d     cuse4bsd.ko


I'm happy about the compatibility of USB tnt, I think that I had to make mistakes or spend stages.

I start all over tomorrow.

Thank you for your help
Last edited by laster13 on 11 Aug 2014 06:46, edited 4 times in total.

laster13
PowerUser
PowerUser
Posts: 995
Joined: 01 Jun 2013 19:15
Location: France-Marseille
Status: Offline

Re: [HOWTO] Install TvHeadend on Finch / Qjail-3.5

Post by laster13 »

hi

I have a little advance .. I can now start webcamd but I do not know how to start cuse4bsd

Code: Select all

sysrc "kldload_modules = $ (sysrc -n kldload_modules) cuse4bsd" 
kldload_modules: -> sysrc: unknown variable 'kldload_modules' cuse4bsd 
So I run manually

Code: Select all

kldload cuse4bsd

Code: Select all

nas4free ~ / root ~ $ sudo chroot finch 
finch: chrooting to "/ mnt / pool1 / finch." 
nas4free // root ^> sysrc "kldload_modules = $ (sysrc -n kldload_modules) cuse4bsd" 
kldload_modules: -> sysrc: unknown variable 'kldload_modules' cuse4bsd 
nas4free // root ^> ^ C 
nas4free // root ^> kldload cuse4bsd 

nas4free // root ^> usbconfig | grep -i elgato 
ugen1.3 <Elgato EyeTV Diversity> at usbus1, cfg = 0 md = HOST spd = HIGH (480Mbps) pwr = ON (500mA) 


nas4free // root ^> d webcamd 1.3 
Attached to ugen1.3 [0] 
Creating / dev / dvb / adapter0 / demux0 
Creating / dev / dvb / adapter1 / demux0 
Creating / dev / dvb / adapter0 / dvr0 
Creating / dev / dvb / adapter1 / dvr0 
Creating / dev / dvb / adapter0 / frontend0 
Creating / dev / dvb / adapter1 / frontend0 
Creating / dev / input / event0 

sysrc "webcamd_device_0_name=Elgato EyeTV Diversity" 

nas4free // root ^> service "webcamd" start 
nas4free // root ^> service "webcamd" stop 
Stopping webcamd. 
Waiting for PIDs: 2854 
nas4free // root ^> 
So webcamd works and when webcamd works

Code: Select all

-lsa ls / dev / 

Code: Select all

nas4free // root^> service "webcamd" start
nas4free // root^> ls -lsa /dev/
total 18
1 dr-xr-xr-x  13 root  wheel      512 Aug 10 18:01 ./
8 drwxr-xr-x  17 root  wheel      512 Aug 10 15:25 ../
0 crw-r--r--   1 root  wheel     0x24 Aug 10 18:01 acpi
0 lrwxr-xr-x   1 root  wheel        4 Aug 10 18:01 ad10@ -> ada3
0 lrwxr-xr-x   1 root  wheel        6 Aug 10 18:01 ad10p1@ -> ada3p1
0 lrwxr-xr-x   1 root  wheel        4 Aug 10 18:01 ad4@ -> ada0
0 lrwxr-xr-x   1 root  wheel        5 Aug 10 18:01 ad4a@ -> ada0a
0 lrwxr-xr-x   1 root  wheel        4 Aug 10 18:01 ad6@ -> ada1
0 lrwxr-xr-x   1 root  wheel        6 Aug 10 18:01 ad6p1@ -> ada1p1
0 lrwxr-xr-x   1 root  wheel        4 Aug 10 18:01 ad8@ -> ada2
0 lrwxr-xr-x   1 root  wheel        6 Aug 10 18:01 ad8p1@ -> ada2p1
0 crw-r-----   1 root  operator  0x74 Aug 10 18:01 ada0
0 crw-r-----   1 root  operator  0x7c Aug 10 18:01 ada0a
0 crw-r-----   1 root  operator  0x76 Aug 10 18:01 ada1
0 crw-r-----   1 root  operator  0x7e Aug 10 18:01 ada1p1
0 crw-r-----   1 root  operator  0x78 Aug 10 18:01 ada2
0 crw-r-----   1 root  operator  0x80 Aug 10 18:01 ada2p1
0 crw-r-----   1 root  operator  0x7a Aug 10 18:01 ada3
0 crw-r-----   1 root  operator  0x82 Aug 10 18:01 ada3p1
0 crw-------   1 root  wheel     0x42 Aug 10 18:01 atkbd0
0 crw-------   1 root  kmem       0xf Aug 10 18:01 audit
0 crw-------   1 root  wheel     0x17 Aug 10 18:01 bpf
0 lrwxr-xr-x   1 root  wheel        3 Aug 10 18:01 bpf0@ -> bpf
1 dr-xr-xr-x   2 root  wheel      512 Aug 10 18:01 cam/
0 crw-------   1 root  wheel      0x6 Aug 10 18:01 console
0 crw-------   1 root  wheel     0x41 Aug 10 18:01 consolectl
0 crw-r-----   1 root  kmem      0x12 Aug 10 18:01 cpuctl0
0 crw-r-----   1 root  kmem      0x13 Aug 10 18:01 cpuctl1
0 crw-rw-rw-   1 root  wheel     0x48 Aug 10 18:01 crypto
0 crw-rw-rw-   1 root  wheel      0xe Aug 10 18:01 ctty
0 crw-rw----   1 uucp  dialer    0x28 Aug 10 18:01 cuau0
0 crw-rw----   1 uucp  dialer    0x29 Aug 10 18:01 cuau0.init
0 crw-rw----   1 uucp  dialer    0x2a Aug 10 18:01 cuau0.lock
0 crw-rw----   1 uucp  dialer    0x2e Aug 10 18:01 cuau1
0 crw-rw----   1 uucp  dialer    0x2f Aug 10 18:01 cuau1.init
0 crw-rw----   1 uucp  dialer    0x30 Aug 10 18:01 cuau1.lock
0 crw-------   1 root  operator  0xa1 Aug 10 18:06 cuse
0 crw-r-----   1 root  operator  0x70 Aug 10 18:01 da0
0 crw-r-----   1 root  operator  0x71 Aug 10 18:01 da1
0 crw-r-----   1 root  operator  0x72 Aug 10 18:01 da2
0 crw-r-----   1 root  operator  0x73 Aug 10 18:01 da3
0 crw-------   1 root  wheel      0x5 Aug 10 18:01 devctl
0 cr--------   1 root  wheel     0x4f Aug 10 18:01 devstat
1 dr-xr-xr-x   4 root  wheel      512 Aug 10 18:15 dvb/
1 dr-xr-xr-x   2 root  wheel      512 Aug 10 18:01 fd/
0 crw-------   1 root  wheel      0xc Aug 10 18:01 fido
0 crw-r-----   1 root  operator   0x3 Aug 10 18:01 geom.ctl
1 dr-xr-xr-x   2 root  wheel      512 Aug 10 18:01 gptid/
1 dr-xr-xr-x   2 root  wheel      512 Aug 10 18:15 input/
0 crw-------   1 root  wheel     0x14 Aug 10 18:01 io
0 lrwxr-xr-x   1 root  wheel        6 Aug 10 18:01 kbd0@ -> atkbd0
0 lrwxr-xr-x   1 root  wheel        7 Aug 10 18:01 kbd1@ -> kbdmux0
0 lrwxr-xr-x   1 root  wheel        5 Aug 10 18:01 kbd2@ -> ukbd0
0 crw-------   1 root  wheel      0x8 Aug 10 18:01 kbdmux0
0 crw-------   1 root  wheel      0xd Aug 10 18:01 klog
0 crw-r-----   1 root  kmem       0xb Aug 10 18:01 kmem
0 crw-r-----   1 root  operator  0x51 Aug 10 18:01 md0
0 crw-r-----   1 root  operator  0x58 Aug 10 18:01 md1
0 crw-------   1 root  wheel     0x50 Aug 10 18:01 mdctl
0 crw-r-----   1 root  kmem       0xa Aug 10 18:01 mem
0 crw-rw-rw-   1 root  wheel     0x22 Aug 10 18:01 midistat
0 crw-rw-rw-   1 root  wheel     0x4b Aug 10 18:01 mixer0
0 crw-rw-rw-   1 root  wheel     0x4c Aug 10 18:01 mixer1
0 crw-rw-rw-   1 root  wheel     0x4d Aug 10 18:01 mixer2
0 crw-rw-rw-   1 root  wheel     0x4e Aug 10 18:01 mixer3
0 crw-------   1 root  kmem       0x7 Aug 10 18:01 nfslock
0 crw-rw-rw-   1 root  wheel     0x10 Aug 10 18:11 null
0 crw-------   1 root  operator  0x67 Aug 10 18:01 pass0
0 crw-------   1 root  operator  0x68 Aug 10 18:01 pass1
0 crw-------   1 root  operator  0x69 Aug 10 18:01 pass2
0 crw-------   1 root  operator  0x6a Aug 10 18:01 pass3
0 crw-------   1 root  operator  0x6b Aug 10 18:01 pass4
0 crw-------   1 root  operator  0x6c Aug 10 18:01 pass5
0 crw-------   1 root  operator  0x6d Aug 10 18:01 pass6
0 crw-------   1 root  operator  0x6e Aug 10 18:01 pass7
0 crw-r--r--   1 root  wheel     0x16 Aug 10 18:01 pci
0 crw-rw-rw-   1 root  wheel     0x19 Aug 10 18:01 ptmx
1 dr-xr-xr-x   2 root  wheel      512 Aug 10 18:02 pts/
0 crw-rw-rw-   1 root  wheel     0x1a Aug 10 18:01 random
0 crwx------   1 root  wheel     0x6f Aug 10 18:01 rdma_cm*
0 cr--r--r--   1 root  wheel      0x4 Aug 10 18:01 sndstat
0 crw-------   1 root  wheel     0x15 Aug 10 18:01 speaker
0 lrwxr-xr-x   1 root  wheel        4 Aug 10 18:01 stderr@ -> fd/2
0 lrwxr-xr-x   1 root  wheel        4 Aug 10 18:01 stdin@ -> fd/0
0 lrwxr-xr-x   1 root  wheel        4 Aug 10 18:01 stdout@ -> fd/1
0 crw-------   1 root  wheel     0x23 Aug 10 18:01 sysmouse
0 crw-------   1 root  wheel     0x25 Aug 10 18:01 ttyu0
0 crw-------   1 root  wheel     0x26 Aug 10 18:01 ttyu0.init
0 crw-------   1 root  wheel     0x27 Aug 10 18:01 ttyu0.lock
0 crw-------   1 root  wheel     0x2b Aug 10 18:01 ttyu1
0 crw-------   1 root  wheel     0x2c Aug 10 18:01 ttyu1.init
0 crw-------   1 root  wheel     0x2d Aug 10 18:01 ttyu1.lock
0 crw-------   1 root  wheel     0x31 Aug 10 18:01 ttyv0
0 crw-------   1 root  wheel     0x32 Aug 10 18:01 ttyv1
0 crw-------   1 root  wheel     0x33 Aug 10 18:01 ttyv2
0 crw-------   1 root  wheel     0x34 Aug 10 18:01 ttyv3
0 crw-------   1 root  wheel     0x35 Aug 10 18:01 ttyv4
0 crw-------   1 root  wheel     0x36 Aug 10 18:01 ttyv5
0 crw-------   1 root  wheel     0x37 Aug 10 18:01 ttyv6
0 crw-------   1 root  wheel     0x38 Aug 10 18:01 ttyv7
0 crw-------   1 root  wheel     0x39 Aug 10 18:01 ttyv8
0 crw-------   1 root  wheel     0x3a Aug 10 18:01 ttyv9
0 crw-------   1 root  wheel     0x3b Aug 10 18:01 ttyva
0 crw-------   1 root  wheel     0x3c Aug 10 18:01 ttyvb
0 crw-------   1 root  wheel     0x3d Aug 10 18:01 ttyvc
0 crw-------   1 root  wheel     0x3e Aug 10 18:01 ttyvd
0 crw-------   1 root  wheel     0x3f Aug 10 18:01 ttyve
0 crw-------   1 root  wheel     0x40 Aug 10 18:01 ttyvf
1 dr-xr-xr-x   2 root  wheel      512 Aug 10 18:01 ufs/
1 dr-xr-xr-x   2 root  wheel      512 Aug 10 18:01 ufsid/
0 crw-------   1 root  wheel     0x45 Aug 10 18:01 ufssuspend
0 lrwxr-xr-x   1 root  wheel        9 Aug 10 18:01 ugen0.1@ -> usb/0.1.0
0 lrwxr-xr-x   1 root  wheel        9 Aug 10 18:01 ugen0.2@ -> usb/0.2.0
0 lrwxr-xr-x   1 root  wheel        9 Aug 10 18:01 ugen1.1@ -> usb/1.1.0
0 lrwxr-xr-x   1 root  wheel        9 Aug 10 18:01 ugen1.2@ -> usb/1.2.0
0 lrwxr-xr-x   1 root  wheel        9 Aug 10 18:01 ugen1.3@ -> usb/1.3.0
0 crw-------   1 root  wheel     0x5e Aug 10 18:01 ukbd0
0 lrwxr-xr-x   1 root  wheel        6 Aug 10 18:01 urandom@ -> random
1 dr-xr-xr-x   2 root  wheel      512 Aug 10 18:01 usb/
0 crw-r--r--   1 root  operator  0x49 Aug 10 18:01 usbctl
0 crw-------   1 root  operator  0x4a Aug 10 18:01 xpt0
0 crw-rw-rw-   1 root  wheel     0x11 Aug 10 18:01 zero
0 crw-rw-rw-   1 root  operator  0x46 Aug 10 18:01 zfs
I do not see my usb "elgato" and I didn t forget to type

Code: Select all

service "kldload" start

Code: Select all

kldload cuse4bsd
Yet in my file

/ mnt / pool1 / finch / dev / dvb

I see two folders

adapter0
adapter1

Regarding installing tvheadend

i install a new finch, then i look in the folder /etc/rc.d and i don't see devfs but i see devfs in /etc/rc.d__disabled_by_finch

so....

Code: Select all

cp /etc/rc.d__disabled_by_finch/devfs /etc/rc.d
I verified user rights and i see 555

Code: Select all

chmod -R 775 /etc/rc.d/devfs
and now it s work i can restart devfs

/etc/devfs.rules does not exist

I am obliged to create file...is it normal?


thanks

dreamcat4
experienced User
experienced User
Posts: 111
Joined: 21 Mar 2014 21:59
Status: Offline

Re: [HOWTO] Install TvHeadend on Finch / Qjail-3.5

Post by dreamcat4 »

laster13 wrote:

Code: Select all

sysrc "kldload_modules = $ (sysrc -n kldload_modules) cuse4bsd" 
kldload_modules: -> sysrc: unknown variable 'kldload_modules' cuse4bsd 
^^ wrong spaces = bad cmd.
laster13 wrote: I see two folders

adapter0
adapter1
^^ correct. This means webcamd is running, and has created the needed devices. Did you remember to put dib0700 firmware file in /boot/modules? It was needed also.

You may also check id webcamd is running by typing "pgrep -fl webcamd". Or "service webcamd status".

Regarding installing tvheadend
laster13 wrote: i install a new finch, then i look in the folder /etc/rc.d and i don't see devfs but i see devfs in /etc/rc.d__disabled_by_finch

so....

Code: Select all

cp /etc/rc.d__disabled_by_finch/devfs /etc/rc.d
I verified user rights and i see 555

Code: Select all

chmod -R 775 /etc/rc.d/devfs
and now it s work i can restart devfs
Good idea. Well done.

Sorry I don't know why the problem without seeing your "install.log" and "boot.log" Files. Please email them to me if you can.
laster13 wrote: /etc/devfs.rules does not exist

I am obliged to create file...is it normal?
Thank you!

I wasn't aware, that is missing from the HowTo. The extra command you needed was "touch /etc/devfs.rules". Howto updated added now.

laster13
PowerUser
PowerUser
Posts: 995
Joined: 01 Jun 2013 19:15
Location: France-Marseille
Status: Offline

Re: [HOWTO] Install TvHeadend on Finch / Qjail-3.5

Post by laster13 »

thanks

I'm sorry but the moderator has disabled access to the email and attachment files... i don't know how to do to send it to you but it seems that sysrc is desactivated... i read this in boot.log

Code: Select all

/mnt/pool1/finch/etc/finch/postinit: sysrc: not found
+ [ '' != NO ]
+ sysrc devd_enable=NO
I contacted moderator to activate these options and as soon as possible, i'll send it to you!

sorry i type this..

Code: Select all

 sysrc "kldload_modules=$(sysrc -n kldload_modules) cuse4bsd"
kldload_modules:  -> sysrc: unknown variable 'kldload_modules' cuse4bsd

Code: Select all

 qjail config -b "$rule_num" "$jailname"
Error; devfs_ruleset # 150 does not exist.
It must first be defined in the hosts /etc/devfs.rules.
Type 'man devfs.rules' for more information.
YES I put dib0700 firmware file in /boot/modules


perhaps can you give your mail by mp?

dreamcat4
experienced User
experienced User
Posts: 111
Joined: 21 Mar 2014 21:59
Status: Offline

Re: [HOWTO] Install TvHeadend on Finch / Qjail-3.5

Post by dreamcat4 »

laster13 wrote: I'm sorry but the moderator has disabled access to the email and attachment files... i don't know how to do to send it to you but it seems that sysrc is desactivated... i read this in boot.log
Please don't PM me. All the info you need is on the "Support" page of finch.io website. Either email me or raise github issue. You will get faster / better support that way.
laster13 wrote: sorry i type this..

Code: Select all

 sysrc "kldload_modules=$(sysrc -n kldload_modules) cuse4bsd"
kldload_modules:  -> sysrc: unknown variable 'kldload_modules' cuse4bsd
OK. That is my fault. The command should be:

sysrc "kldload_modules=$(sysrc -n kldload_modules 2&> /dev/null) cuse4bsd"

Is updated in HowTo.

First delete it with by typing "sysrc -x kldload_modules". Or "nano /etc/rc.conf".
Then try again.
laster13 wrote:

Code: Select all

 qjail config -b "$rule_num" "$jailname"
Error; devfs_ruleset # 150 does not exist.
It must first be defined in the hosts /etc/devfs.rules.
Type 'man devfs.rules' for more information.
normal?
No. Either devfs didn't restart before or missing devfs.rules file.
Check /etc/devfs.rules file. Do again touch + cat << EOF txt chunk.
Restart devfs service (while inside chroot).

laster13
PowerUser
PowerUser
Posts: 995
Joined: 01 Jun 2013 19:15
Location: France-Marseille
Status: Offline

Re: [HOWTO] Install TvHeadend on Finch / Qjail-3.5

Post by laster13 »

I start all over and I have deleted the file devfs.rules

i delete tvheadend jail with

Code: Select all

qjail delete tvheadend
and i start all over the howto

Code: Select all

nas4free ~/ root~$ sudo finch chroot
finch: chrooting to "/mnt/pool1/finch".
nas4free // root^> qjail delete tvheadend
Successfully deleted  tvheadend
nas4free // root^> jail_ip="192.168.0.150"
nas4free // root^> jail_loopback="lo0|127.0.0.150"
nas4free // root^> jailname="tvheadend"
nas4free // root^> qjail create -4 "$jail_ip,$jail_loopback" "$jailname"
Successfully created  tvheadend
nas4free // root^> qjail config -k "$jailname"
Successful enabled allow.raw_sockets for tvheadend
nas4free // root^> qjail start tvheadend
Jail successfully started  tvheadend
nas4free // root^> rule_num="150"
nas4free // root^> touch /etc/devfs.rules
nas4free // root^> grep "devfsrules_unhide_cuse=23" /etc/devfs.rules || cat >> / etc/devfs.rules <<- EOF

>add path 'dvb*' unhide
> [devfsrules_unhide_cuse=23]
> add path 'cuse*' unhide
> add path 'video*' unhide
> add path 'dvb*' unhide
> add path 'dvb/*' unhide
> add path 'dvb/adapter0/*' unhide
> add path 'dvb/adapter1/*' unhide
> add path 'input*' unhide
> add path 'input/*' unhide
>
> EOF
nas4free // root^> grep "devfsrules_jail_${jailname}=${rule_num}" /etc/devfs.rules || cat >> /etc/devfs.rules <<- EOF
>
> [devfsrules_jail_${jailname}=${rule_num}]
> add include \$devfsrules_jail
> add include \$devfsrules_unhide_cuse
>
> EOF
nas4free // root^> service devfs restart
nas4free // root^> qjail stop "$jailname"
Jail successfully stopped  tvheadend
nas4free // root^> qjail config -b "$rule_num" "$jailname"
Error; devfs_ruleset # 150 does not exist.
It must first be defined in the hosts /etc/devfs.rules.
Type 'man devfs.rules' for more information.
nas4free // root^>
allways the same error

my devfs.rules

Code: Select all

[devfsrules_unhide_cuse=23]
add path 'cuse*' unhide
add path 'video*' unhide
add path 'dvb*' unhide
add path 'dvb/*' unhide
add path 'dvb/adapter0/*' unhide
add path 'dvb/adapter1/*' unhide
add path 'input*' unhide
add path 'input/*' unhide


[devfsrules_jail_tvheadend=150]
add include $devfsrules_jail
add include $devfsrules_unhide_cuse

do you think i can have french channels?

laster13
PowerUser
PowerUser
Posts: 995
Joined: 01 Jun 2013 19:15
Location: France-Marseille
Status: Offline

Re: [HOWTO] Install TvHeadend on Finch / Qjail-3.5

Post by laster13 »

i have update 1.27 then reboot and all seems to works ;)

i find diccom7000 pc in tv adapter

I still have to find how to configure the french channels.

is it possible?

dreamcat4
experienced User
experienced User
Posts: 111
Joined: 21 Mar 2014 21:59
Status: Offline

Re: [HOWTO] Install TvHeadend on Finch / Qjail-3.5

Post by dreamcat4 »

Found more problems on nas4free platform. Nas4free has certain things missing, including a symlink to libc! I have been re-testing changes in a nas4free VM. I think may be worth to try again now, (not sure if fully fixed yet). First you must do forced update to download the new fixes:

finch update -y --force

Then reboot your nas4free machine... try again to reload the devfs rulesets.

Use the command:

devfs rule showsets

to see if any output. If it worked, should say some numbers including '4' and '150'.

So qjail config -b again to apply ruleset to jail...

Sorry again for any inconvenience. Most people want to give up by now. It's the only major problem (apart from rather old tvheadend version, to be updated in next few weeks by Decke).

dreamcat4
experienced User
experienced User
Posts: 111
Joined: 21 Mar 2014 21:59
Status: Offline

Re: [HOWTO] Install TvHeadend on Finch / Qjail-3.5

Post by dreamcat4 »

Ah OK. I still recommend you please update again since the time of my last message. Since other bugs fixed too.
laster13 wrote:do you think i can have french channels?
I guess you can have right now french channels. If you can add the mux frequencies, and scan. And use the "Over the air" EPG (of DVB-T / freeview). Which is broadcasted with the signal itself. Other 'internal EPG grabbers' are missing / don't work on 3.4. That is on newest tvheadend only... which comes released later on.

Also:

You will find some bugs on tvheadend 3.4 that importing the muxes from Network Locations is out-of date (frequency map may have changed in your area since 6 months ago).

You should restart tvheadend rc.d service, and *fully* reload the web GUI page after finished scanning. Because channels do not show up straight away (looks empty). This is just bugs in tvheadend 3.4. After scanning is completed, do "service tvheadend restart" or "qjail restart tvheadend". And then later channels will show up after re-try.

laster13
PowerUser
PowerUser
Posts: 995
Joined: 01 Jun 2013 19:15
Location: France-Marseille
Status: Offline

Re: [HOWTO] Install TvHeadend on Finch / Qjail-3.5

Post by laster13 »

i update still as you said with

Code: Select all

finch update -y --force
devfs rule showsets

Code: Select all

nas4free ~/ root~$ devfs rule showsets
1
2
3
4
23
150
218
nas4free ~
and it s work :D

Code: Select all

 qjail config -b "$rule_num" "$jailname"
Successfully enabled devfs_ruleset for tvheadend

laster13
PowerUser
PowerUser
Posts: 995
Joined: 01 Jun 2013 19:15
Location: France-Marseille
Status: Offline

Re: [HOWTO] Install TvHeadend on Finch / Qjail-3.5

Post by laster13 »

Thank you for your help, you're awesome.

you offer us something really extraodinaire with finch and I congratulated you for all the work done, it's not within the reach of everyone

I will offer a tutorial on the french forum and I hope that they will be aware of the reagents and extent of the opportunity provided by finch

fantastic

laster13
PowerUser
PowerUser
Posts: 995
Joined: 01 Jun 2013 19:15
Location: France-Marseille
Status: Offline

Re: [HOWTO] Install TvHeadend on Finch / Qjail-3.5

Post by laster13 »

hi

I started the whole installation to be able to do it again. In the howto webcam before typing the command :

Code: Select all

/etc/rc.d__disabled_by_finch/devd restart 
I have been obliged to issue the following command:

Code: Select all

sysrc "devd_enable = YES" 
And in the howto tvheadend when i tape

Code: Select all

# Stop the jail 
qjail stop "$ jailname" 
---> the jail was already quit!

but it's works!!

------

I ve had a lot of difficulty to find the mux frequency !

I found howto explains how his scanner frequencies

Code: Select all

sudo chroot finch 

Code: Select all

pkg update -f 

Code: Select all

ASSUME_ALWAYS_YES="yes" pkg install "w-cam" 
and then

Code: Select all

sudo w_scan -ft -c FR o 7> mnt/pool1/channels.conf 
a channel file is created

then

Code: Select all

cd /mnt/poll1

Code: Select all

channels.conf cat | sed-e 's /, /: / g' | cut d: -f2,3 | uniq | sort 
this gives

Code: Select all

CNH: 482000 
CNH: 650000 
CNH: 698000 
GR1: 586000 
GR1: 674000 
GR1 A: 586000 .....
i tries to get these frequencies in tvheadend but it finds me nothing in service or channel

for example:: add mux and:

-frequency:698000
-bandwich:8
everything else:auto

i dont have Over the air" EPG (of DVB-T / freeview) but

-eit dvb grabber
-uk freesat
-uk freview
-viasat baltic..

how can i have DVB-T / FREEVIEW ?

can you help me?

if you speak french... :oops:

dreamcat4
experienced User
experienced User
Posts: 111
Joined: 21 Mar 2014 21:59
Status: Offline

Re: [HOWTO] Install TvHeadend on Finch / Qjail-3.5

Post by dreamcat4 »

laster13 wrote: I have been obliged to issue the following command:

Code: Select all

sysrc "devd_enable = YES" 
Sorry, was old mistake in the how-to (from before new rc.d script). I have removed "service devd restart" now from the webcamd how-to. It is not needed anymore. In fact, worse to set devd_enable=YES.
NO is right bcause webcamd rc.d script checks for that variable and must be NO for webcamd launchin inside finch chroot. That was discussed and agreed with webcamd author.

However if you reboot Finch it will automatically set back to devd_enable=NO. So no big harm done.
laster13 wrote: I found howto explains how his scanner frequencies

Code: Select all

CNH: 482000 
CNH: 650000 
CNH: 698000 
GR1: 586000 
GR1: 674000 
GR1 A: 586000 .....
i tries to get these frequencies in tvheadend but it finds me nothing in service or channel
You can ask on tvheadend forums or the IRC channel #hts, on Freenode.net IRC servers. Make sure to say clearly the version you are using (3.4).

3.4 has some bugs, like I said before. Add muxes manually with "Add" button in muxes tab. Then enable the network card... it says "Muxes remaining left not scanned"... when say "0 muxes left". Then restart tvheadend "service tvheadend restart". Reload Web GUI... Go to services tab. Select all and copy services ---> channels.
laster13 wrote: i dont have Over the air" EPG
That is the text in english localization language. Go to "Configuration" --> "Channel /EPG" --> "EPG Grabber" --> "Over-the-air-Grabbers" (3rd box of 4 kinds). Select in the list your OTA grabber.

laster13
PowerUser
PowerUser
Posts: 995
Joined: 01 Jun 2013 19:15
Location: France-Marseille
Status: Offline

Re: [HOWTO] Install TvHeadend on Finch / Qjail-3.5

Post by laster13 »

thank for your reply

for a test i would like to buid tvheadend with RTSP

RTSP allows using the Freebox internet and being able to switch antenna tnt. because I still can not make a mux works.

If you could just give me your opinion and tell me if in a jail I can build a program that I have downloaded with git

as i would like to test is here

http://blog.slucas.fr/blog/tvheadend-in ... he-glandos

Or perhaps install debian in freebsd?

I have install git

Pkg install git

But after i can not build

dreamcat4
experienced User
experienced User
Posts: 111
Joined: 21 Mar 2014 21:59
Status: Offline

Re: [HOWTO] Install TvHeadend on Finch / Qjail-3.5

Post by dreamcat4 »

laster13 wrote:thank for your reply
for a test i would like to buid tvheadend with RTSP
But after i can not build
There is a reason that changes were not merged. That rtsp is old and broken branch. See in this search results why it was closed and the new branch not finished yet:

https://github.com/tvheadend/tvheadend/ ... sp+is%3Apr+

Question:

Do you actually own FreeBOX yet, or are just checking if it will work in future? Because I would recommend instead a SAT>IP reciever. Like the Telestar DIGIBIT R1 from amazon.de for ASTRA DVBS/2.

SAT>IP will be supported on official master branch of Tvheadend. So SAT>IP is far more recommended than RTSP, which is not supported on the reciever side.

laster13
PowerUser
PowerUser
Posts: 995
Joined: 01 Jun 2013 19:15
Location: France-Marseille
Status: Offline

Re: [HOWTO] Install TvHeadend on Finch / Qjail-3.5

Post by laster13 »

Yes i have a freebox ...

dreamcat4
experienced User
experienced User
Posts: 111
Joined: 21 Mar 2014 21:59
Status: Offline

Re: [HOWTO] Install TvHeadend on Finch / Qjail-3.5

Post by dreamcat4 »

laster13 wrote:Yes i have a freebox ...
You need to realize that the developer of tvheadend does not own a Freebox, and so depend on some contribution to him for such support... It's nothing I can do about.

https://github.com/tvheadend/tvheadend/pull/190

Glandos commented on Jun 11

Yes, I should have closed this long time ago, since it doesn't compile, and make people believe it will.
Unfortunately, I didn't have time to work more on this… It doesn't mean I don't want to, I'm still using tvheadend, but it's difficult to put some priorities…
I hope I will soon have time to finalize my work, but I don't know when.

laster13
PowerUser
PowerUser
Posts: 995
Joined: 01 Jun 2013 19:15
Location: France-Marseille
Status: Offline

Re: [HOWTO] Install TvHeadend on Finch / Qjail-3.5

Post by laster13 »

hi dreamcat4

I am finally coming to see channels...As yous say me before i restart tvheadend and so the channels appears!! Now everything works perfectly it's great!!!! :mrgreen:

thanks..thanks..very!!!! very good howto!!!

laster13
PowerUser
PowerUser
Posts: 995
Joined: 01 Jun 2013 19:15
Location: France-Marseille
Status: Offline

Re: [HOWTO] Install TvHeadend on Finch / Qjail-3.5

Post by laster13 »

I still didn't try mountage point but does it work for ufs?

Thanks

AvtoR
NewUser
NewUser
Posts: 7
Joined: 18 Jun 2013 18:11
Status: Offline

Re: [HOWTO] Install TvHeadend on Finch / Qjail-3.5

Post by AvtoR »

Hello!

Last weekend I tried to install PVR server tvheadend to my Nas4free server.
I was following this instructions:

https://gist.github.com/dreamcat4/f0e61d35f656afde5df6

First I installed Finch chroot.
Then I was inside Finch chroot install webcamd with firmware for my DVB-T Lifeview LV52T usb stick, (Afatech 9015/13 chip set).
Next step I created new jail "tvheadend" with local console access with all basic setting (upper link).
Then I configured and logged into jail.
Inside jail I installed avahi and on the end installed tvheadend service. I made basic config and made last reboot.

After reboot webcamd is running, jail is running, avahi is running and tvheadend is running to.

An now the problem:
When I open WEB config page of tvheadend, there is no DVB-T device to config?

Again I log in to jail, install w_scan utility and successfully scan muxes. I suppose that webcamd and DVB-T is working correct!
Actually everything is looking OK, except there is no dvb-t device in tvheadend WEB config page.

What is going wrong?
Any help would be welcome.
Last edited by AvtoR on 20 May 2015 18:28, edited 1 time in total.

AvtoR
NewUser
NewUser
Posts: 7
Joined: 18 Jun 2013 18:11
Status: Offline

Re: [HOWTO] Install TvHeadend on Finch / Qjail-3.5

Post by AvtoR »

This is w_scan output:

Code: Select all

tvheadend ~/ root~# w_scan
w_scan version 20120415 (compiled for DVB API 5.5)
WARNING: could not guess your country. Falling back to 'DE'
guessing country 'DE', use -c <country> to override
using settings for GERMANY
DVB aerial
DVB-T Europe
scan type TERRESTRIAL, channellist 4
output format vdr-1.6
WARNING: could not guess your codepage. Falling back to 'UTF-8'
output charset 'UTF-8', use -C <charset> to override
Info: using DVB adapter auto detection.
        /dev/dvb/adapter0/frontend0 -> TERRESTRIAL "Afatech AF9013": good :-)
        /dev/dvb/adapter1/frontend0 -> TERRESTRIAL "Afatech AF9013": good :-)
Using TERRESTRIAL frontend (adapter /dev/dvb/adapter0/frontend0)
-_-_-_-_ Getting frontend capabilities-_-_-_-_
Using DVB API 5.a
frontend 'Afatech AF9013' supports
INVERSION_AUTO
QAM_AUTO
TRANSMISSION_MODE_AUTO
GUARD_INTERVAL_AUTO
HIERARCHY_AUTO
FEC_AUTO
FREQ (174.00MHz ... 862.00MHz)
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
Scanning 7MHz frequencies...
177500: (time: 00:02)
184500: (time: 00:04)
191500: (time: 00:07)
198500: (time: 00:09)
205500: (time: 00:12)
212500: (time: 00:14)
219500: (time: 00:17)
226500: (time: 00:19)
Scanning 8MHz frequencies...
474000: (time: 00:22)
482000: (time: 00:24)
490000: (time: 00:27)
498000: (time: 00:29)
506000: (time: 00:32)
514000: (time: 00:35)
522000: (time: 00:37)
530000: (time: 00:40)
538000: (time: 00:42)
546000: (time: 00:45)
554000: (time: 00:47)
562000: (time: 00:50) (time: 00:51) signal ok:
        QAM_AUTO f = 562000 kHz I999B8C999D999T999G999Y999
        updating transponder:
           (QAM_AUTO f = 562000 kHz I999B8C999D999T999G999Y999) 0x0000
        to (QAM_64   f = 562000 kHz I999B8C23D0T8G4Y0) 0x405A
570000: (time: 01:04)
578000: (time: 01:07)
586000: (time: 01:09)
594000: (time: 01:12)
602000: (time: 01:14)
610000: (time: 01:17) (time: 01:18) signal ok:
        QAM_AUTO f = 610000 kHz I999B8C999D999T999G999Y999
        updating transponder:
           (QAM_AUTO f = 610000 kHz I999B8C999D999T999G999Y999) 0x0000
        to (QAM_64   f = 610000 kHz I999B8C34D0T8G4Y0) 0x405A
618000: (time: 01:32)
626000: (time: 01:34)
634000: (time: 01:37)
642000: (time: 01:39)
650000: (time: 01:42)
658000: (time: 01:44)
666000: (time: 01:47)
674000: (time: 01:49)
682000: (time: 01:52)
690000: (time: 01:54)
698000: (time: 01:57)
706000: (time: 02:00)
714000: (time: 02:02)
722000: (time: 02:05)
730000: (time: 02:07)
738000: (time: 02:10)
746000: (time: 02:12)
754000: (time: 02:15)
762000: (time: 02:17)
770000: (time: 02:20)
778000: (time: 02:22)
786000: (time: 02:25)
794000: (time: 02:27)
802000: (time: 02:30)
810000: (time: 02:32)
818000: (time: 02:35)
826000: (time: 02:37)
834000: (time: 02:40)
842000: (time: 02:42)
850000: (time: 02:45)
858000: (time: 02:48)
tune to: QAM_64   f = 562000 kHz I999B8C23D0T8G4Y0
(time: 02:50) WARNING:          char_coding 210: iconv_open failed.
                The conversion from 'ISO_6937-2' to 'UTF-8' is not supported.
WARNING:                char_coding 210: iconv_open failed.
                The conversion from 'ISO_6937-2' to 'UTF-8' is not supported.
        service = SLO1 (RTV SLOVENIJA)
WARNING:                char_coding 210: iconv_open failed.
                The conversion from 'ISO_6937-2' to 'UTF-8' is not supported.
WARNING:                char_coding 210: iconv_open failed.
                The conversion from 'ISO_6937-2' to 'UTF-8' is not supported.
        service = SLO2 (RTV SLOVENIJA)
WARNING:                char_coding 210: iconv_open failed.
                The conversion from 'ISO_6937-2' to 'UTF-8' is not supported.
WARNING:                char_coding 210: iconv_open failed.
                The conversion from 'ISO_6937-2' to 'UTF-8' is not supported.
        service = SLO3 (RTV SLOVENIJA)
WARNING:                char_coding 210: iconv_open failed.
                The conversion from 'ISO_6937-2' to 'UTF-8' is not supported.
WARNING:                char_coding 210: iconv_open failed.
                The conversion from 'ISO_6937-2' to 'UTF-8' is not supported.
        service = SLO1 HD (RTV SLOVENIJA)
WARNING:                char_coding 210: iconv_open failed.
                The conversion from 'ISO_6937-2' to 'UTF-8' is not supported.
WARNING:                char_coding 210: iconv_open failed.
                The conversion from 'ISO_6937-2' to 'UTF-8' is not supported.
        service = SLO2 HD (RTV SLOVENIJA)
WARNING:                char_coding 210: iconv_open failed.
                The conversion from 'ISO_6937-2' to 'UTF-8' is not supported.
WARNING:                char_coding 210: iconv_open failed.
                The conversion from 'ISO_6937-2' to 'UTF-8' is not supported.
        service = VAS KANAL (TV NOVO MESTO)
Info: no data from PMT
Info: no data from PMT
Info: no data from PMT
tune to: QAM_64   f = 610000 kHz I999B8C34D0T8G4Y0
(time: 03:04) WARNING:          char_coding 210: iconv_open failed.
                The conversion from 'ISO_6937-2' to 'UTF-8' is not supported.
WARNING:                char_coding 210: iconv_open failed.
                The conversion from 'ISO_6937-2' to 'UTF-8' is not supported.
        service = POP TV (PRO PLUS)
WARNING:                char_coding 210: iconv_open failed.
                The conversion from 'ISO_6937-2' to 'UTF-8' is not supported.
WARNING:                char_coding 210: iconv_open failed.
                The conversion from 'ISO_6937-2' to 'UTF-8' is not supported.
        service = KANAL A (PRO PLUS)
WARNING:                char_coding 210: iconv_open failed.
                The conversion from 'ISO_6937-2' to 'UTF-8' is not supported.
WARNING:                char_coding 210: iconv_open failed.
                The conversion from 'ISO_6937-2' to 'UTF-8' is not supported.
        service = PLANET TV (ANTENNA TV)
WARNING:                char_coding 210: iconv_open failed.
                The conversion from 'ISO_6937-2' to 'UTF-8' is not supported.
WARNING:                char_coding 210: iconv_open failed.
                The conversion from 'ISO_6937-2' to 'UTF-8' is not supported.
        service = TV3 MEDIAS (AGENCIJA MEDIAS)
WARNING:                char_coding 210: iconv_open failed.
                The conversion from 'ISO_6937-2' to 'UTF-8' is not supported.
WARNING:                char_coding 210: iconv_open failed.
                The conversion from 'ISO_6937-2' to 'UTF-8' is not supported.
        service = GOLICA TV (GOLICA TV)
WARNING:                char_coding 210: iconv_open failed.
                The conversion from 'ISO_6937-2' to 'UTF-8' is not supported.
WARNING:                char_coding 210: iconv_open failed.
                The conversion from 'ISO_6937-2' to 'UTF-8' is not supported.
        service = OBVESTILO C (RTV SLOVENIJA)
dumping lists (9 services)
SLO3;RTV SLOVENIJA:562000:I999B8C23D0M64T8G4Y0:T:27500:160=27:161=slv:122:0:3:8897:1:0
SLO2 HD;RTV SLOVENIJA:562000:I999B8C23D0M64T8G4Y0:T:27500:240=27:241=slv:122:0:7:8897:1:0
VAS KANAL;TV NOVO MESTO:562000:I999B8C23D0M64T8G4Y0:T:27500:300=27:301=slv:0:0:10:8897:1:0
POP TV;PRO PLUS:610000:I999B8C34D0M64T8G4Y0:T:27500:500=27:501=slv:502:0:20:8897:4:0
KANAL A;PRO PLUS:610000:I999B8C34D0M64T8G4Y0:T:27500:520=27:521=slv:502:0:21:8897:4:0
PLANET TV;ANTENNA TV:610000:I999B8C34D0M64T8G4Y0:T:27500:540=27:541=slv:0:0:22:8897:4:0
TV3 MEDIAS;AGENCIJA MEDIAS:610000:I999B8C34D0M64T8G4Y0:T:27500:560=27:561=slv:0:0:23:8897:4:0
GOLICA TV;GOLICA TV:610000:I999B8C34D0M64T8G4Y0:T:27500:580=27:581=slv:0:0:24:8897:4:0
OBVESTILO C;RTV SLOVENIJA:610000:I999B8C34D0M64T8G4Y0:T:27500:760=27:0:0:0:33:8897:4:0
Done.
tvheadend ~/ root~#

This is tvheaedend output.
Folder "/dev/dvb/adapter0/" Is empty! is this normal?
What means this error:
[ ERROR] upnp: upnp_thread_multicast - cannot bind 239.255.255.250:1900
and
[ ERROR] tcp: bind: *: Address already in use

Code: Select all

tvheadend ~/ root~# tvheadend -s
2015-05-18 14:57:33.261 [   INFO] charset: 138 entries loaded
2015-05-18 14:57:33.421 [   INFO] linuxdvb: adapter added /dev/dvb/adapter0
2015-05-18 14:57:33.743 [   INFO] linuxdvb: adapter added /dev/dvb/adapter1
2015-05-18 14:57:33.749 [  ERROR] tcp: bind: *: Address already in use
2015-05-18 14:57:33.750 [  ERROR] upnp: upnp_thread_multicast - cannot bind 239.255.255.250:1900 [e=Can't assign requested address]
2015-05-18 14:57:33.751 [   INFO] epggrab: module eit created
2015-05-18 14:57:33.751 [   INFO] epggrab: module uk_freesat created
2015-05-18 14:57:33.751 [   INFO] epggrab: module uk_freeview created
2015-05-18 14:57:33.751 [   INFO] epggrab: module viasat_baltic created
2015-05-18 14:57:33.764 [   INFO] epggrab: module opentv-ausat created
2015-05-18 14:57:33.764 [   INFO] epggrab: module opentv-skyit created
2015-05-18 14:57:33.764 [   INFO] epggrab: module opentv-skyuk created
2015-05-18 14:57:33.765 [   INFO] epggrab: module pyepg created
2015-05-18 14:57:33.765 [   INFO] epggrab: module xmltv created
2015-05-18 14:57:43.429 [   INFO] epggrab: module /usr/local/bin/tv_grab_ar created
2015-05-18 14:57:43.429 [   INFO] epggrab: module /usr/local/bin/tv_grab_ch_search created
2015-05-18 14:57:43.429 [   INFO] epggrab: module /usr/local/bin/tv_grab_combiner created
2015-05-18 14:57:43.429 [   INFO] epggrab: module /usr/local/bin/tv_grab_dk_dr created
2015-05-18 14:57:43.429 [   INFO] epggrab: module /usr/local/bin/tv_grab_dtv_la created
2015-05-18 14:57:43.429 [   INFO] epggrab: module /usr/local/bin/tv_grab_es_laguiatv created
2015-05-18 14:57:43.429 [   INFO] epggrab: module /usr/local/bin/tv_grab_eu_egon created
2015-05-18 14:57:43.429 [   INFO] epggrab: module /usr/local/bin/tv_grab_eu_epgdata created
2015-05-18 14:57:43.429 [   INFO] epggrab: module /usr/local/bin/tv_grab_fi created
2015-05-18 14:57:43.429 [   INFO] epggrab: module /usr/local/bin/tv_grab_fi_sv created
2015-05-18 14:57:43.429 [   INFO] epggrab: module /usr/local/bin/tv_grab_fr created
2015-05-18 14:57:43.429 [   INFO] epggrab: module /usr/local/bin/tv_grab_fr_kazer created
2015-05-18 14:57:43.429 [   INFO] epggrab: module /usr/local/bin/tv_grab_hr created
2015-05-18 14:57:43.429 [   INFO] epggrab: module /usr/local/bin/tv_grab_huro created
2015-05-18 14:57:43.429 [   INFO] epggrab: module /usr/local/bin/tv_grab_il created
2015-05-18 14:57:43.429 [   INFO] epggrab: module /usr/local/bin/tv_grab_is created
2015-05-18 14:57:43.429 [   INFO] epggrab: module /usr/local/bin/tv_grab_it created
2015-05-18 14:57:43.429 [   INFO] epggrab: module /usr/local/bin/tv_grab_na_dd created
2015-05-18 14:57:43.429 [   INFO] epggrab: module /usr/local/bin/tv_grab_na_dtv created
2015-05-18 14:57:43.429 [   INFO] epggrab: module /usr/local/bin/tv_grab_nl created
2015-05-18 14:57:43.429 [   INFO] epggrab: module /usr/local/bin/tv_grab_no_gfeed created
2015-05-18 14:57:43.429 [   INFO] epggrab: module /usr/local/bin/tv_grab_pt created
2015-05-18 14:57:43.429 [   INFO] epggrab: module /usr/local/bin/tv_grab_pt_meo created
2015-05-18 14:57:43.429 [   INFO] epggrab: module /usr/local/bin/tv_grab_se_swedb created
2015-05-18 14:57:43.429 [   INFO] epggrab: module /usr/local/bin/tv_grab_se_tvzon created
2015-05-18 14:57:43.429 [   INFO] epggrab: module /usr/local/bin/tv_grab_uk_atlas created
2015-05-18 14:57:43.429 [   INFO] epggrab: module /usr/local/bin/tv_grab_uk_bleb created
2015-05-18 14:57:43.429 [   INFO] epggrab: module /usr/local/bin/tv_grab_uk_guardian created
2015-05-18 14:57:43.429 [   INFO] epggrab: module /usr/local/bin/tv_grab_uk_rt created
2015-05-18 14:57:43.429 [   INFO] epggrab: module /usr/local/bin/tv_grab_uk_tvguide created
2015-05-18 14:57:43.429 [   INFO] epggrab: module /usr/local/bin/tv_grab_za created
2015-05-18 14:57:43.431 [   INFO] epgdb: loaded v2
2015-05-18 14:57:43.431 [   INFO] epgdb:   channels   0
2015-05-18 14:57:43.431 [   INFO] epgdb:   brands     0
2015-05-18 14:57:43.431 [   INFO] epgdb:   seasons    0
2015-05-18 14:57:43.431 [   INFO] epgdb:   episodes   0
2015-05-18 14:57:43.431 [   INFO] epgdb:   broadcasts 0
2015-05-18 14:57:43.431 [   INFO] dvr: Creating new configuration ''
2015-05-18 14:57:43.432 [WARNING] dvr: Output directory for video recording is not yet configured for DVR configuration "". Defaulting to to "/root". This can be changed from the web user interface.
2015-05-18 14:57:43.432 [  ERROR] tcp: bind: *: Address already in use
2015-05-18 14:57:43.432 [ NOTICE] START: HTS Tvheadend version 3.9.20140806-6d19440 started, running as PID:96372 UID:0 GID:0, CWD:/root CNF:/root/.hts/tvheadend
I Use latest tvheadend 3.9.20140806. I suppose this is experimental version.
How can I install latest stable version of tvheadend v3.4, via pkg install?

Thanks in advance!

AvtoR
NewUser
NewUser
Posts: 7
Joined: 18 Jun 2013 18:11
Status: Offline

Re: [HOWTO] Install TvHeadend on Finch / Qjail-3.5

Post by AvtoR »

Anyone?

Post Reply

Return to “Jails”