AVM's FRITZ!Box Cable 6490, report wrong number of tuners and this setting
allows you to override that. Any value below 1 or above 32 is ignored.
For now this setting requires a restart of tvheadend.</dd>
+<p>
+ <dt><b>Enable FRITZ!Box-workarounds</b><dt>
+ <dd>Turns off full mux - and addpids/delpids - support, turns on PIDs in setup,
+ and enables one specific workaround for buggy FRITZ!-devices.</dd>
<p>
<dt><b>Force teardown delay</b><dt>
<dd>Force the delay between RTSP TEARDOWN and RTSP SETUP command (value
.opts = PO_ADVANCED,
.off = offsetof(satip_device_t, sd_pilot_on),
},
+ {
+ .type = PT_BOOL,
+ .id = "fritzquirks",
+ .name = "Enable FRITZ!Box-workarounds",
+ .opts = PO_ADVANCED,
+ .off = offsetof(satip_device_t, sd_fritz_quirk),
+ },
{
.type = PT_INT,
.id = "tunercfgoverride",
sd->sd_pids_max = 128;
sd->sd_pids_len = 2048;
sd->sd_no_univ_lnb = 1;
- } else if (strstr(sd->sd_info.manufacturer, "AVM Berlin") &&
- strstr(sd->sd_info.modelname, "FRITZ!")) {
- sd->sd_fullmux_ok = 0;
- sd->sd_pids_deladd = 0;
- sd->sd_pids0 = 1;
- sd->sd_fritz_quirk = 1;
}
}
satip_device_calc_uuid(&uuid, info->uuid);
conf = hts_settings_load("input/satip/adapters/%s", uuid.hex);
-
/* some sane defaults */
sd->sd_fullmux_ok = 1;
sd->sd_pids_len = 127;
sd->sd_sig_scale = 240;
sd->sd_dbus_allow = 1;
+ /* safe defaults for FRITZ!-devices */
+ if (strstr(info->manufacturer, "AVM Berlin") &&
+ strstr(info->modelname, "FRITZ!")) {
+ sd->sd_fullmux_ok = 0;
+ sd->sd_pids_deladd = 0;
+ sd->sd_pids0 = 1;
+ sd->sd_fritz_quirk = 1;
+ }
+
if (!tvh_hardware_create0((tvh_hardware_t*)sd, &satip_device_class,
uuid.hex, conf)) {
/* Note: sd is freed in above fcn */
}
}
+ if (sd->sd_fritz_quirk == 1) {
+ sd->sd_fullmux_ok = 0;
+ sd->sd_pids_deladd = 0;
+ sd->sd_pids0 = 1;
+ }
+
if (save)
satip_device_save(sd);