Forums » Tutorial and setups »
Adding pre-defined muxes
Added by Bernhard Heyer about 2 years ago
How could one add dvb-t2 muxes to the 'Pre-defined muxes' drop-down when installing TVHeadend?
I would like to add some muxes for za-CapeTown, South Africa.
Replies (8)
RE: Adding pre-defined muxes - Added by Dave Pickles about 2 years ago
The data comes from this Github repository: https://github.com/tvheadend/dtv-scan-tables
Raise a Pull Request containing the necessary changes.
RE: Adding pre-defined muxes - Added by Bernhard Heyer about 2 years ago
How does one create a Pull Request?
Sorry, I'm a bit of a newby on this front...
RE: Adding pre-defined muxes - Added by Dave Pickles about 2 years ago
Search for "github tutorial".
You don't have the right to make changes to the dtv-scan-tables repository so you have to create a copy of it, edit that, then invite the maintainer to "pull" your changes into the official version.
RE: Adding pre-defined muxes - Added by Bernhard Heyer about 2 years ago
Thanks Dave, the tables are installed on
https://github.com/tvheadend/dtv-scan-tables/tree/tvheadend/dvb-t
However, 'za-CapeTown' still does not show under the 'Pre-defined muxes' drop-down when installing and configuring TVHeadend? How can they be shown under this option?
RE: Adding pre-defined muxes - Added by Dave Pickles about 2 years ago
Which version of Tvheadend are you using and is it self-built or are you using a package? If packaged where did it come from?
It now seems that the scan tables are built into the Tvheadend package on some (most?) distributions so cannot officially be updated separately.
As an unofficial workaround (tested OK) if you are using a package and cannot get a recent update
cd /usr/share/tvheadend/data/ git clone https://github.com/tvheadend/dtv-scan-tables.git mv dvb-scan dvb-scan.old mv dtv-scan-tables dvb-scan
I can now see the new muxes in the 'add new network' box, though for some reason without the country.
RE: Adding pre-defined muxes - Added by Dave Pickles about 2 years ago
The list of country codes is in src/input/mpegts/scanfile.c. Country code "za" needs to be added to the list.
RE: Adding pre-defined muxes - Added by Bernhard Heyer almost 2 years ago
I'm using a Raspberry Pi-4 with Raspian GNU/Linux 10, TVHeadend and then Kodi.
RE: Adding pre-defined muxes - Added by Dave Pickles almost 2 years ago
South Africa has now been added to the countries list so the 'pre-defined muxes' drop-down should now work as expected if you update to latest master.