]> git.ipfire.org Git - thirdparty/tvheadend.git/commit
bouquet: Allow merging of services across network bouquet, fixes #5617
authorE.Smith <31170571+azlm8t@users.noreply.github.com>
Fri, 12 Apr 2019 18:07:11 +0000 (19:07 +0100)
committerFlole998 <Flole998@users.noreply.github.com>
Sun, 18 Feb 2024 15:27:51 +0000 (16:27 +0100)
commitb0be01cb034f16a59ee449ac365c953165b0c61b
treed2f9bc8275a7c110aa598c647bf9ed2e09241877
parent075e6cdf7fe9169a8a862b5d9795c5917a3993a9
bouquet: Allow merging of services across network bouquet, fixes #5617

In a mixed network environment (such as DVB-T and DVB-S) it is common
to receive many of the same channels. However, with "auto map to
channels" on a bouquet, you could not merge the channels across the
network bouquets.

Now we create a separate "Tvheadend Network" in the bouquets and allow
"auto map to channels" on it. Any other bouquets that are enabled but
do _not_ have "auto map to channels" enabled will be added to the
enabled "Tvheadend Network".

So, if "DVB-T Network" and "DVB-S Network" in the bouquet tab are both
enabled _and_ their tickbox for "auto map to channels" is deselected,
then their services will be added to the "Tvheadend Network". That can
then be enabled with "merge channels" to produce the merged channels.

We call it "Tvheadend Network" instead of "Tvheaded Virtual Bouquet"
to be consistent with the other auto-generated names.

The new bouquet is lazily updated to ensure the CPU overhead is
minimized. This means that when other bouquets are scanned, we wait
until the system is quiet before updating the new bouquet with
the new channels.

Fixes: #5617
src/bouquet.c