| |||||||
| Development You want to code something for the TV-Server? Share it in here! |
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Portal Member Join Date: Jan 2007 Location: Montréal, Qc Age: 33
Posts: 41
Thanks: 0
Thanked 0 Times in 0 Posts
Country: | Hi I'm trying to change the LNb setting sent to tune a sat channel. I use a 22khz switch to change between to satellite. The switch use the lnbSwitchFreq setting to operate. The log files show that the lnbSwitch setting is changed, but the tuner doesn't work. The tuner work fine if a change the LnbSwitchFrequency in "settings" table in MSSQL!!! here what I changed in TvCardDVBS.cs: Code: public ITvSubChannel Tune(int subChannelId, IChannel channel)
...
int lowOsc = 9750;
int hiOsc = 10600;
int lnbSwitch = 11700;
BandTypeConverter.GetDefaultLnbSetup(Parameters, dvbsChannel.BandType, out lowOsc, out hiOsc, out lnbSwitch);
if(dvbsChannel.SatelliteIndex == 114){//sat 91
lnbSwitch = 12700;
}else{//sat 82
lnbSwitch = 12200;
}
Log.Log.Info("LNB low:{0} hi:{1} switch:{2} sat:{3}", lowOsc, hiOsc, lnbSwitch, dvbsChannel.SatelliteIndex);
and in Twinhan.cs Code: public void SendDiseqCommand(ScanParameters parameters, DVBSChannel channel)
...
BandTypeConverter.GetDefaultLnbSetup(parameters, channel.BandType, out LNBLOFLowBand, out LNBLOFHighBand, out LNBLOFHiLoSW);
if (LNBLOFHiLoSW == 0) LNBLOFHiLoSW = 18000; // dont use lo/hi switch...
if (channel.SatelliteIndex == 114)
{//91
LNBLOFHiLoSW = 12700;
}
else
{
LNBLOFHiLoSW = 12200;
} I've search a lot in the code and I can't see where the tuner realy get's it Lnb switch frequency setting! Thanks Math. |
| | |
| | #2 (permalink) |
| Portal Member Join Date: Jan 2007 Location: Montréal, Qc Age: 33
Posts: 41
Thanks: 0
Thanked 0 Times in 0 Posts
Country: | Maybe writing a plugin for TVserver with the TvServerEventType.StartZapChannel event changing the database entry would work better and be simpler the maintain! |
| | |
![]() |
| Bookmarks |
| Tags |
| card, dvbs, lnb, modifying, setting |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| LNB/Diseqc setting per Satellites | M4TH | Improvement Suggestions | 6 | 2007-07-12 07:05 |
| Monoblock LNB - BDA DVB-S DiSEqC problems | tijera | The old Bugreport Forum | 25 | 2007-06-15 09:34 |
| MyTV use wrong LNB switch(Mhz) setting | M4TH | 0.2.2.0 Final and SVN Builds | 0 | 2007-01-25 06:39 |
| Technotrend DVB-S no LNB switch | Erbsenkopp | General Support | 19 | 2006-08-17 11:11 |
| Technotrend DVB-S no LNB switch | Erbsenkopp | General Support | 0 | 2006-08-03 10:04 |