Meiner einer wurde gefragt, mal anzudeuten, wie man Qam256 Kanäle auf Kabelkarten zumindest mal von den FF-Karten im System fernhalten kann. So kann mans machen:
Diff
--- vdr-1.4.4/dvbdevice.c 2006-08-14 11:38:32.000000000 +0200
+++ vdr-1.4.4-qam256/dvbdevice.c 2007-01-01 16:38:48.000000000 +0100
@@ -761,11 +761,17 @@
bool cDvbDevice::ProvidesTransponder(const cChannel *Channel) const
{
+ if (HasDecoder() && (cSource::IsCable(Channel->Source())) && (fe_modulation_t(Channel->Modulation()) == QAM_256))
+ return false;
+
return ProvidesSource(Channel->Source()) && (!cSource::IsSat(Channel->Source()) || !Setup.DiSEqC || Diseqcs.Get(Channel->Source(), Channel->Frequency(), Channel->Polarization()));
}
bool cDvbDevice::ProvidesChannel(const cChannel *Channel, int Priority, bool *NeedsDetachReceivers) const
{
+ if (HasDecoder() && (cSource::IsCable(Channel->Source())) && (fe_modulation_t(Channel->Modulation()) == QAM_256))
+ return false;
+
bool result = false;
bool hasPriority = Priority < 0 || Priority > this->Priority();
bool needsDetachReceivers = false;
Alles anzeigen
Der Patch verhindert einfach das Tunen von Qam256 Sender auf Kabelkarten mit Decoder, sprich FF-Karten. Keine allumfassende, dafür aber fixe und einfache Lösung, die wohl in 94.7% alle Fälle ausreichen dürfte.
Der Patch wurde für 1.4.4 gebaut, sollte aber auch mit älteren VDRs (1.3,1.4) problemlos tun.
arghgra