tvheadend as multiroom server - is it possible ?

Added by Marcin N 4 months ago

I am moving and therefore I have to make a new satellite television installation. I currently have a computer with tvheadend for one TV and of course everything works as it should, but in a new place I would like to use 2-3 TVs and I wonder if it could be configured otherwise ie the computer will continue to play the server role but I will change the dvb-s2 card for twin or quad. All TVs will be based on android tv on which will be installed kodi, but i wonder if it is possible to install hts client plugin directly on android TV?

Has anyone already tried this or is there an option to configure this as I think? Maybe you have an idea how to set up TVs to connect to the server through the local network

Generally I would like it to work that way

---------- >---signal1--> -------------------- <--android tv kodi client 1 by wifi--<
antena sat >---signal2--> HTPC LINUX TVHEADEND <--android tv kodi client 2 by wifi--<
---------- >---signal3--> -------------------- <--android tv kodi client 3 by wifi--<

of course need using tvheadend because descrambling, HTPC is connecting to oscam outside local network
is it posible ?

sorry for my english - using translate google


Replies (26)

RE: tvheadend as multiroom server - is it possible ? - Added by Robert Cameron 4 months ago

Yes, that is exactly how Tvheadend is supposed to work. I have a single machine that runs Tvheadend, and I have 5 or so client machines that all run Kodi throughout the house, all of them accessing the same Tvheadend server.

RE: tvheadend as multiroom server - is it possible ? - Added by Marcin N 4 months ago

Hey great news :)

can you write more about your configuration ? how many dvb-s cards you have ? or maybe one twin or quad ? do you using android tv as clients ?? i dont see tvheadend client in android kodi package :/

RE: tvheadend as multiroom server - is it possible ? - Added by saen acro 4 months ago

Keep in mind 1 tuner = 1 frequency,
so for user tuner, better use quad tuner.

RE: tvheadend as multiroom server - is it possible ? - Added by Marcin N 4 months ago

That's what I thought, so I want to buy a quad tuner :D

But now i wonder if kodi on sony android tv has tvheadend plugin because i do not want to install any additional client computers

PS> one more question i'm using htpc with low profile, so there is no pcie quad tuner in low profile and i must buy second twin tuner ie. TBS-6902 Dual DVB-S2 HD PCIe.

how clients choose witch tuner should use ? in tvheadend will be only one account for descrambling and i dont see option to seperate dvb inputs :/ in kodi hts configuration plugin is only setting hostname and port and user access - should i add new users in tvheadend server ? there is no option to sign dvb input to user

RE: tvheadend as multiroom server - is it possible ? - Added by Marcin N 4 months ago

@saen acro thank you :)

a moment ago i tested kodi on tablet sony, and it has tvheadend client :D, configured and it works :D!!! sometimes shows no free adapter, so i must stop tv on server and tablat works :D

so now i must buy new tuner probably TBS-6902 Dual DVB-S2 HD PCIe, is much cheaper than your suggest option, and i think for me will be enough - ;P

RE: tvheadend as multiroom server - is it possible ? - Added by saen acro 4 months ago

If you have a plans to fight against stupid TBS drivers go, I will not select this brand any more.
I prefer to use, not to investigate how it will work without problems.
The choice is yours.

RE: tvheadend as multiroom server - is it possible ? - Added by K Shea 4 months ago

If you had to "fight against stupid TBS drivers" then either you did it wrong or you have an incompatible motherboard. Did you happen to read the article at https://freetoairamerica.wordpress.com/2016/11/24/the-never-final-always-subject-to-revision-article-on-how-to-build-a-satellite-tv-pvr-distribution-system-using-tvheadend/ which explains several things about TBS drivers?

Personally I have had good luck using the stock TBS drivers. You do have to rebuild them any time there is a kernel update, but there are bash scripts that can do that for you.

At least there is something of a community of TBS users, so if you ask questions you can usually get help. However, some people don't take the time to fully read helpful articles and instructions, or don't understand what they are reading and just plow ahead anyway and then complain when it doesn't work, and they will never have success. The same is true if you pick a motherboard that doesn't properly recognize the TBS cards. I do wish there were decent cards available at a decent price, that work with all motherboards and that do not require fiddling with drivers in North America, but sadly there are not to the best of my knowledge. You could probably import other cards from Europe (such as the ones you mentioned), but it's going to be costly to do so, and then what do you do if you get a defective unit? (Of course if you live in Europe then this isn't as much of an issue).

If you know of some magical card that you can just use, without installing drivers and that will work on any motherboard with PCIe slots, that is readily available in North America, please do enlighten us!

As for TBS, my feeling is that they obtain their products from Chinese manufacturers, and I don't know how much input (if any) they have had in the design process. They do sometimes come off as a company that doesn't know their own products all that well. If you ask them even a mildly technical question they often don't respond in a way that gives you much confidence that they really know what they are talking about. I would be shocked to discover that any of the actual product designers work for TBS. So it doesn't surprise me that some people aren't all that enthusiastic about their products, but what are the alternatives?

RE: tvheadend as multiroom server - is it possible ? - Added by saen acro 4 months ago

@K Shea
RTFM when TBS drivers installed and if run properly,
no other tuner will work even this with have kernel support.

some multimedia remotes also have problem after TBS crap

RE: tvheadend as multiroom server - is it possible ? - Added by Marcin N 4 months ago

yes i know TBS is cheap chinese crap, but now using TT-budget® S2-4100 with saa716x module using https://github.com/tbsdtv/linux_media/wiki drivers, so new TBS tuner will use the same drivers and should work ok, for my use i think is enought

RE: tvheadend as multiroom server - is it possible ? - Added by Hiro Protagonist 4 months ago

Marcin N wrote:

---------- >---signal1--> -------------------- <--android tv kodi client 1 by wifi--<
antena sat >---signal2--> HTPC LINUX TVHEADEND <--android tv kodi client 2 by wifi--<
---------- >---signal3--> -------------------- <--android tv kodi client 3 by wifi--<

What you want to do will work, but you should use wired ethernet unless you have no other option. Wifi has higher latency and is a shared medium. You may have problems if you stream multiple HD sessions at the same time.

RE: tvheadend as multiroom server - is it possible ? - Added by Marcin N 4 months ago

yes i know, i bought new router in ac standard, so i think 2 hd streams should work fine, third tv is only for kids with cartoons, almost all still SD :/

RE: tvheadend as multiroom server - is it possible ? - Added by Marcin N 2 months ago

hello again!!!!
finally i movein to new place and upgrade my hardware for new twin TBS 6902 PCI-e card.
system is ubuntu 17:04 64 bit with latest build tvheadend from unofficial ppa. drivers compiled and i think is working but...
1. it is not stable!!!, sometime freezing, lost settings in tvheadend
2. i made some screenshot of my configuration please look at this and please tell me is it correct

i have 4 multiswitch universal lnb (Opticum QUAD LQP 04H Full HD 3D HQ HDTV)
1 single dvb-s2 pci-e card clone TBS6922
1 twin dvb-s2 pci-e card TBS6902

and now i dont know how to set all this crap to work together
first tv is connected directly by hdmi tp PC so it work always
second tv with android kodi stream working sometimes and i dont know why, sometimes after restart pc, twin card has no setting for LNB!!! and then it doesnt work, when is options for lnb it works, adapter numbers are changing too, when clone TBS6922 is not adapter 0 then tbs6902 has no lnb options
third tv for now is without hts client, so cant test but wondering why adapter2 has no lnb setting

last question is which dvb card should be master ?

please see attached files from tvheadend configuration

Bez tytułu2.png - 4 multishwitch setting for adapter0 (52.3 KB)

Bez tytułu.png - adapter0 - single dvb-s2 (85 KB)

Bez tytułu4.png - 4 multishwitch setting for adapter1 (52.4 KB)

Bez tytułu3.png - adapter1 - first of twin dvb-s2 (66.7 KB)

Bez tytułu5.png - adapter2 - second of twin dvb-s2 (66.3 KB)

RE: tvheadend as multiroom server - is it possible ? - Added by Marcin N 2 months ago

today with no any change in tvheadend second dvb card has no lnb options!!! see screenshot, so only one card works!!! and today TBS6922 is Adapter1 not Adapter0 !!! its magic :D

Bez tytułu6.png (65.8 KB)

RE: tvheadend as multiroom server - is it possible ? - Added by saen acro 2 months ago

Set Master tuner to its default value "This tuner"

RE: tvheadend as multiroom server - is it possible ? - Added by Marcin N 2 months ago

No result, the same tbs6902 with no lnb options,
Tommorow i will try remove tbs6922

RE: tvheadend as multiroom server - is it possible ? - Added by Marcin N 2 months ago

ok, after today testing....
1. when i open pc i saw not plugged 12v cable to power supply so i plugin - nothing happened
2. removed clone TBS6922 single dvb-s2 card - no result - only one lnb settings for adapter1 not adapter0 for TBS6902 !
3. changed power supply from 350W to 500W - nothing happened

so still working only one stream, if i try run second stream there is no free adapters!!! but should be 2 free but not working.

tested standalone both cards and they working but only for one stream.

maybe 2 times after many restart works 2 streams, when shows second lnb setting, when no second lnb settings working only one stream.

i'm wondering how many lnb setting should be for twin TBS6902 card one or two ? if one, why not working second stream ??

today i'm much stupid than yesterday, i have no idea where is problem and how to solve this, i dont wanna use windows, but my friend using the same 2 cards TBS6902 with dvb viewer and works perfect almost out of the box :/

please help

RE: tvheadend as multiroom server - is it possible ? - Added by saen acro 2 months ago

With tbs media_build you use?
Isn't all tuners have separate cable?

RE: tvheadend as multiroom server - is it possible ? - Added by Marcin N 2 months ago

i'm using this https://github.com/tbsdtv/linux_media/wiki for both cards with modules saa716x and TBSECP3

[email protected]:~$ dmesg | grep frontend
[   15.234572] TBSECP3 driver 0000:03:00.0: DVB: registering adapter 0 frontend                                                             0 (TurboSight TBS 6902 DVB-S/S2 )...
[   15.374588] SAA716x Budget 0000:02:00.0: DVB: registering adapter 1 frontend                                                             0 (TurboSight TBS 6922 DVB-S/S2)...
[   15.461625] TBSECP3 driver 0000:03:00.0: DVB: registering adapter 2 frontend                                                             0 (TurboSight TBS 6902 DVB-S/S2 )...
[   22.020460] TBSECP3 driver 0000:03:00.0: DVB: adapter 2 frontend 0 frequency                                                             0 out of range (950000..2150000)
[   22.448430] SAA716x Budget 0000:02:00.0: DVB: adapter 1 frontend 0 frequency                                                             0 out of range (950000..2150000)
[   23.012400] TBSECP3 driver 0000:03:00.0: DVB: adapter 0 frontend 0 frequency                                                             0 out of range (950000..2150000)

i have connected 4 separate cables, and all tested by standard sat reciver and all are working with almost 90% quality and strengh

now i think the tbs card is broken or somethin, watch this aboot 0.30 sek https://www.youtube.com/watch?v=f5-b1w-4v_A
the same card have two lnb universal option at start before configure network and others so it must be hardware problem, now try to compile latest drivers but dont belive it solve problem :(

today bought another card TECHNOTREND TT-BUDGET S2-4200 DVB-S2 DUAL HD PCIE (clone DVBSky S952 V3) maybe tommorw i'll get it and test.

RE: tvheadend as multiroom server - is it possible ? - Added by saen acro 2 months ago

TBS media_build destroy support to other brand tuners,
even this with kernel support.

RE: tvheadend as multiroom server - is it possible ? - Added by Marcin N 2 months ago

saen acro wrote:

TBS media_build destroy support to other brand tuners,
even this with kernel support.

hmm, tbs media_build has modules/driver for my both cards TBS6902 and clone TBS6922, so it should works if cards are not broken

what you suggest ?? use closed driver ? use tfu windows ?

RE: tvheadend as multiroom server - is it possible ? - Added by saen acro 2 months ago

As I see your second card is TT-budget® S2-4100
brand older then TBS, with in kernel support http://www.tt-downloads.de/release_notes_linux_driver.pdf

lspci -nn | grep Multimedia

Post result to confirm.

RE: tvheadend as multiroom server - is it possible ? - Added by Marcin N 2 months ago

[email protected]:/usr/src/tbsdtv/media_build# lspci -nn | grep Multimedia
02:00.0 Multimedia controller [0480]: Philips Semiconductors SAA7160 [1131:7160] (rev 03)
03:00.0 Multimedia controller [0480]: TBS Technologies DVB-S2 4 Tuner PCIe Card [544d:6178]

unfortunately not supported by any kernel version, i'm talked with them some times ago, and they abandoned linux driver and suggest to use tbsdtv open sources driver, and it works perfect until i buy new card :D on new clean kernels card is not recognized until compile tbsdtv drivers

i make an issue on their github https://github.com/tbsdtv/linux_media/issues/84, maybe it is bug in drivers for kernels newer than 4.9.x and they suggest to try on lts kernel 4.4 or 4.9.

RE: tvheadend as multiroom server - is it possible ? - Added by saen acro 2 months ago

TechnoTrend card work without TBS media_build,
when TBS crap installed TT card stop to work,
because media tree is destroyed.

#lspci -k
03:01.0 Multimedia controller: Philips Semiconductors SAA7146 (rev 01)
        Subsystem: Technotrend Systemtechnik GmbH S2-3200
        Kernel driver in use: budget_ci dvb
        Kernel modules: budget_ci

# modinfo budget_ci
filename:       /lib/modules/3.10.0-229.1.2.44985.MSSr7.el7.centos.x86_64/kernel/drivers/media/pci/ttpci/budget-ci.ko
description:    driver for the SAA7146 based so-called budget PCI DVB cards w/ CI-module produced by Siemens, Technotrend, Hauppauge
author:         Michael Hunold, Jack Thomasson, Andrew de Quincey, others
license:        GPL
rhelversion:    7.1
srcversion:     C68F106CE0395CEC26C8747
alias:          pci:v00001131d00007146sv000013C2sd0000101Bbc*sc*i*
alias:          pci:v00001131d00007146sv000013C2sd00001019bc*sc*i*
alias:          pci:v00001131d00007146sv000013C2sd0000101Abc*sc*i*
alias:          pci:v00001131d00007146sv000013C2sd00001017bc*sc*i*
alias:          pci:v00001131d00007146sv000013C2sd00001012bc*sc*i*
alias:          pci:v00001131d00007146sv000013C2sd00001011bc*sc*i*
alias:          pci:v00001131d00007146sv000013C2sd00001010bc*sc*i*
alias:          pci:v00001131d00007146sv000013C2sd0000100Fbc*sc*i*
alias:          pci:v00001131d00007146sv000013C2sd0000100Cbc*sc*i*
depends:        saa7146,budget-core,rc-core,dvb-core,i2c-core
intree:         Y
vermagic:       3.10.0-229.1.2.44985.MSSr7.el7.centos.x86_64 SMP mod_unload modversions
signer:         CentOS Linux kernel signing key
sig_key:        83:2E:D3:31:0C:8A:7D:B7:6B:B5:F6:16:AE:9D:9B:6A:76:B3:8E:02
sig_hashalgo:   sha256
parm:           rc5_device:only IR commands to given RC5 device (device = 0 - 31, any device = 255, default: autodetect) (int)
parm:           ir_debug:enable debugging information for IR decoding (int)
parm:           adapter_nr:DVB adapter numbers (array of short)

RE: tvheadend as multiroom server - is it possible ? - Added by K Shea 2 months ago

You probably already know this, but with TBS cards you have two choices: The closed source drivers which for your cards can now be found at https://www.tbsdtv.com/download/?path=3_13 (looks like they have changed up their downloads page a bit) or the open source drivers (see https://www.tbsdtv.com/forum/viewtopic.php?f=86&t=9960). I have always had good luck with the closed source drivers provided I make sure that the TBS cards aren't sharing IRQ's with other devices (see https://freetoairamerica.wordpress.com/2014/11/08/do-you-run-one-or-more-tbs-pcie-cards-under-linux-check-your-irqs/).

If I recall correctly some of the install procedure guides that have been published tell you to remove the contents of the kernel's drivers directory, but if you do that it will kill the support for other brands of tuners. Generally you do not need to do that, because I believe the whole point of that step was to remove any old lingering TBS drivers (if you were going from closed to open source or vise versa). Note that whenever you get a kernel update, that directory is restored (which is why you have to rebuild the drivers after each kernel update) so next time you get a kernel update, don't delete any of the Linux drivers, just install your TBS drivers. If the open source drivers aren't working for you, try the closed source ones (preferably after the next kernel update, so you are starting with a clean slate).

I will note that it is not unheard of to get a defective TBS card or to have one go bad, and if one goes bad it can cause issues for the other cards in the system. So if all else fails, try pulling one card and then the other. If your TT-budget card starts working when one of the TBS cards is gone, that TBS card just might be defective. Also, not all motherboards play well with TBS cards (Gigabyte in particular is a brand I personally would not use in a backend) so if you keep having issues and have another motherboard available, you may wish to try that.

1 2 (1-25/26)