[Approved] Transponder list search, DiSeqC problems (1 Viewer)

jblomb

Retired Team Member
  • Premium Supporter
  • May 17, 2007
    96
    17
    Sundsvall
    Home Country
    Sweden Sweden
    When using Advanced tuning options when scanning a sattellite, you can search for transponder list.
    You enter the freq/symbolrate/polarisation and it scans each LNB for the transponder list.
    Well, thats how it's supposed to do at least.

    It doesn't seem to take into account the DiSeqC-settings for each LNB.
    This patch sets the DiSeqC according to which LNB is scanned.

    Code:
    Index: CardDvbS.cs
    ===================================================================
    --- CardDvbS.cs	(revision 27442)
    +++ CardDvbS.cs	(working copy)
    @@ -964,6 +964,14 @@
             case ScanTypes.NIT:
               _transponders.Clear();
               DVBSChannel tuneChannel = GetManualTuning();
    +          if (LNB == 1) 
    +              tuneChannel.DisEqc = (DisEqcType)mpDisEqc1.SelectedIndex;
    +          if (LNB == 2) 
    +              tuneChannel.DisEqc = (DisEqcType)mpDisEqc2.SelectedIndex;
    +          if (LNB == 3) 
    +              tuneChannel.DisEqc = (DisEqcType)mpDisEqc3.SelectedIndex;
    +          if (LNB == 4) 
    +              tuneChannel.DisEqc = (DisEqcType)mpDisEqc4.SelectedIndex;
     
               listViewStatus.Items.Clear();
               string line = String.Format("lnb:{0} {1}tp- {2} {3} {4}", LNB, 1, tuneChannel.Frequency,
     

    Attachments

    • Search_for_transponder_list.patch
      849 bytes

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    Hi there

    You've correctly identified a bug. :)
    The fix is actually slightly simpler though because the Scan() function has a "disEqc" parameter. All that is required is to add:

    Code:
    DVBSChannel tuneChannel = GetManualTuning();
    [B]tuneChannel.DisEqc = disEqc;[/B]
    
    listViewStatus.Items.Clear();

    The team is currently evaluating a patch that adds support for manual scanning with DVB-S2 parameters. I'll make sure that this fix is added to that patch, and hopefully it'll make it into 1.2.0b...
    :D
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    Hi again

    Just wanted to let you know that the fix has been committed in SVN 27482. That means it will be in 1.2.0b. Thank you once again for reporting the bug. :)
     

    sofakng

    Portal Member
    October 22, 2007
    18
    0
    Home Country
    United States of America United States of America
    Is this regarding the settings for LNB band (Ku-Hi, Bandstacked, etc)?

    I've noticed that when you manually scan it uses "Universal" as opposed to what you actually selected for each LNB. This sounds like the same issue...
     

    sofakng

    Portal Member
    October 22, 2007
    18
    0
    Home Country
    United States of America United States of America
    Oh, this is actually two issues isn't it? (ie. it doesn't use the correct LOF settings AND it doesn't use the correct DiSEqC settings)

    Is it possible to backport this to the 1.1.3 release? I don't quite want to update to the latest SVN. I'd like to stick with 1.1.3 but have this patch...
     

    Users who are viewing this thread

    Top Bottom