Tvheadend dvb config revamp » History » Revision 4
« Previous |
Revision 4/15
(diff)
| Next »
Andreas Smas, 2010-07-04 09:30
There are a few problems with how the TV adapter tab is implemented today
- It cannot handle a large amount of services. With DVB-S you can easily hit >1k services. Ticket #100 * It's hard (but possible via sorting) to see which services that is transmitted on which mux. * The DVB satconf solution is a bit cumbersome * Updates to the quality meter indicator refreshed the grid in a way that is bad UX. Ticket #108
Therefore the plan is to totally redesign how Tvheadend interacts with hardware.
This rewrite will not be configuration compatible and will therefore bump Tvheadend version to 3.x
= Device tree =
This tree will present the available devices to the user
{{{
+ DVB Adapter #1
| + DVB-C Frontend
|
+ DVB Adapter #2
| + DVB-T Frontend
| + DVB-C Frontend
|
+ DVB Adapter #3
| + DVB-S Frontend
| | + Switchport 1
| | + Switchport 2
| | + Switchport 3
| | + Switchport 4
| | + Switchport n
| + DVB-T Frontend
|
+ V4L Adapter #1
+ Tuner
+ Composite
+ S-Video
}}}
Pressing on a node will present the user with information about the entry and a few configuration options as follows:
=== DVB / ATSC Adapter ===
==== Info ====
Various information about the hardware
==== Config ====
* Enable/Disable adapter
=== DVB-C / DVB-T / ATSC Frontends ===
==== Info ====
TBD
==== Config ====
* Network the frontend is attached to
* If this device may update network configuration
=== DVB-S Frontends ===
==== Info ====
TBD
==== Config ====
* Number of Diseqc switchports
or
* Network the frontend is attached to
* LnB configuration
=== Switchport ===
==== Info ====
TBD
==== Config ====
* Network the switchport is attached to
* LnB configuration
=== V4L adpater ===
==== Info ====
Various information about the hardware
==== Config ====
* Enable/Disable adapter
=== V4L frontends ===
==== Info ====
Various information about the hardware
==== Config ====
* TV system type (PAL, NTSC, etc) (for tuners)
* Network the frontend is attached to
= Device mapper =
Upon startup Tvheadend will try to map the available hardware to the adapters as good as it can.
In Tvheadend 2.x it was required that the stored configuration about the adapter exactly matched the plugged in hardware.
Instead Tvheadend 3.x will try to map hardware to configured devices according to the following ruleset:
- device type AND device name AND bus-id AND device path * device type AND device name AND bus-id * device type AND device name * device type AND bus-id * device type
device path | Path in filesystem | /dev/dvb/... | ||||||||||
bus-id | Hardware address | Bus 001 Device 004: ID 0ccd:0038 TerraTec Electronic GmbH Cinergy T2 DVB-T Receiver |
device-name | Name of device(vendor) as reported via DVB API | ST STV0297 DVB-C | |||||||
device-type | Frontend type(s) | DVB-T, DVB-C, etc |
It will start will all devices and try rule #1 then all devices that could not be mapped and rule #2, and so on.
This will mitigate problems when USB controllers probe devices in different order, etc
Also you can swap your DVB hardware to a new one (different vendor) and still have tvheadend map it correctly.
Updated by Andreas Smas over 14 years ago · 4 revisions