Project

General

Profile

DVB network info location

Added by Jacques van Langen about 11 years ago

Where are the muxes stored Tvheadend retrieves when I press the “Add DVB network by location”. I compiled from source, so if needed, I can change the source code.

I am in need off an easy way to add muxes and organize channels and guide info. I have a TBS6985 4 tuner card with two 1 of 4 Disecq switches and two duo block LNB’s. It is a lot of work to organize channels and XMLTV data.

Any suggestions how to make things easier would be appreciated.

At the moment I try to do it the following way.
• Create list of channels you want to receive.
• Number the channels
• Find the muxes data you need to receive the channels
• Add muxes to first tuner
• Copy muxes to other tuners
• Wait until all muxes are processed
• Map the channels you need
• Number the channels you mappped
• Create tv_grab_xx files
• Wait until tv_grab results are imported
• Add guide info for each channel

Anyway many thank for the Tvheadend team for creating and developing Tvheadend.

Thank.


Replies (1)

RE: DVB network info location - Added by Baum K about 11 years ago

Hi Jacques,

It was quite hard to find where is it ! :D , but was very interesting to read TVH's code.

So, the "Add DVB network by location" looks to be fetched at the build time.

Let have a look in configure script, section DVB scan.
" If dvb-scan is enabled then run support/getmuxlist "

getmuxlist is running the following git that you can try :
git clone http://linuxtv.org/git/dtv-scan-tables.git

That means when you run ./configure -enable_dvbscan, you will create a "data/dvb-scan" directory with all muxes inside.

This "data/dvb-scan" directory is used by "muxes_init" in muxes.c and populate variables in dvb_preconf.c via htsmsg_t structure.
( see also config_get_muxconfpath in config2.c)

That also means if you configure with --enable_dvbscan -enable-bundle , dvb-scan dir will be put in the binary, and be read in "memory"

That also means you can probably modify files between configure and make.

Hope this helps ! :)

    (1-1/1)