Automatically Tune to Strongest Duplicate Channel (1 Viewer)

vapourEyes

Portal Pro
July 31, 2013
142
43
United Kingdom United Kingdom
Country flag
@CyberSimian :
Tuning results... with channel movement detection to follow.
1593394755735.png


1593394860412.png


I did this test twice to be sure.
 
Last edited:

vapourEyes

Portal Pro
July 31, 2013
142
43
United Kingdom United Kingdom
Country flag
@CyberSimian
I have looked into the code to see what might be the issue.
I can't find anything yet though.

I'm loathe to ask you to clear all channels and try without movement detection, but that could be a next logical test.
I get different results with Movement Detection on and off. I get more channels with it off.

There must be a reason for your results in the code though. Just struggling to understand where.
 

CyberSimian

Test Group
  • Team MediaPortal
  • June 10, 2013
    1,998
    1,234
    Southampton
    United Kingdom United Kingdom
    Country flag
    I'm loathe to ask you to clear all channels and try without movement detection,
    I have been performing these tests using the test partition in my HTPC (my test partition is a copy of my production partition). I can try your suggestion and see what happens, but I won't be able to try that until later. :(

    -- from CyberSimian in the UK
     

    CyberSimian

    Test Group
  • Team MediaPortal
  • June 10, 2013
    1,998
    1,234
    Southampton
    United Kingdom United Kingdom
    Country flag
    try without movement detection
    Still no success, sadly. :(

    I deleted all TV and radio channels, rebooted (just for good measure), and then used the new scanner without "enable channel movement detection" selected. This is what I got; notice that it did not detect any channels for MUXes 1 and 5 (and the counts of the channels found are consistent with this):

    new_scanner,empty_db,no_chan_move_(1).jpg new_scanner,empty_db,no_chan_move_(2).jpg

    I then deleted all of the channels, rebooted, and used the old scanner; this time it found channels in all MUXes:

    old_scanner,empty_db,no_chan_move_(1).jpg old_scanner,empty_db,no_chan_move_(2).jpg

    Sorry, but I don't know what the problem might be. :(

    -- from CyberSimian in the UK
     

    vapourEyes

    Portal Pro
    July 31, 2013
    142
    43
    United Kingdom United Kingdom
    Country flag
    Still no success, sadly. :(

    Sorry, but I don't know what the problem might be. :(

    -- from CyberSimian in the UK
    No problem.

    Just back to the drawing board a little.

    Very much appreciate your efforts !!!

    I've clearly got some work to do.... :eek:

    Oddly a new MediaPortal build environment for this work is, errr, shot to **** at present
    Bear with me.

    I found a candidate for the behaviour, but setuptv.exe terminates on use from the current build env.
    Once I get further I'll update with new test code.

    New release with promising results I hope shipped here.

    Name: 1.25.n.7z
    Size: 846927 bytes (827 KiB)
    SHA256: 98E9364AEB5F9B52B2950A0C083D22B8F3861BA09A7AE5101287810E4E7A4089

    Name: 1.25.n.zip
    Size: 1220683 bytes (1192 KiB)
    SHA256: 6F623E0F0009BB03590CF3542AE48278E3D074F22B43ED4217C2888F3023B8CD
     

    Attachments

    Last edited:

    vapourEyes

    Portal Pro
    July 31, 2013
    142
    43
    United Kingdom United Kingdom
    Country flag
    A new candidate complete with UI element defaulting to false will be available in the next few minutes/hours.
    Code has been updated in this repo: vapoureyes/mediaportal

    So far we have this:
    1593616842275.png


    Conscious not to waste test time I'm doing some comprehensive tests here.
     

    vapourEyes

    Portal Pro
    July 31, 2013
    142
    43
    United Kingdom United Kingdom
    Country flag
    I deleted all TV channels and brought them back again.

    I completed 2 regional scans and an 'All Regions' scan. The first 2 picked up most channels.
    '
    1593617930799.png


    Full implementation, subject to test.

    Strongest channel selection defaults to false and is not persisted between Setup sessions.

    *** also this test .exe is for +ve Bias cards (0 -> -100 & 0 -> +100) only.
    *** global reach dictates another switch, maybe called 'Negative bias cards' for cards -100 -> 0.
     

    Attachments

    Last edited:

    CyberSimian

    Test Group
  • Team MediaPortal
  • June 10, 2013
    1,998
    1,234
    Southampton
    United Kingdom United Kingdom
    Country flag
    Full implementation, subject to test.
    Well, this version is better, but we are not there yet. :(

    I performed four tests:
    • Empty channel database, with and without prefer strongest, without channel movement detection.
    • Filled channel database, with and without prefer strongest, with channel movement detection.
    The number of channels detected was the same in all cases: 94 TV channels and 33 radio channels. (y)
    What looks wrong is the handling of channel movement detection:
    • The screen shot on the left shows the result when prefer strongest is not enabled.
    • The screen shot on the right shows the result when prefer strongest is enabled.
    Notice that when prefer strongest is not enabled, the number of channels updated is equal to the number of channels detected, but this number is always zero when prefer strongest is enabled:

    new_scanner,filled_db,with_move,no_strongest.jpg new_scanner,filled_db,with_move,with_strongest.jpg

    Even if there is no change to an existing channel, the old scanner considers it to be "updated", and so that channel appears in the count of updated channels. Is the new scanner excluding existing channels if they have not actually changed? The disadvantage of this is that there is no indication at the end of scanning of how many channels were found.

    Strongest channel selection defaults to false and is not persisted between Setup sessions.
    This is consistent with the way that the other settings on that panel are not saved between successive invocations of "TV Server Config" (y). Personally, I think that there would be some advantage to the user if certain of those settings were perserved, but that is a separate work item. :D

    also this test .exe is for +ve Bias cards (0 -> -100 & 0 -> +100) only.
    global reach dictates another switch, maybe called 'Negative bias cards' for cards -100 -> 0.
    I am not happy about the need to externalise this :(. How many users will know whether their tuner cards are positive or negative? And what about those users who have a mixture of cards?

    Also, I thought that you had decided to use signal quality as the determining factor, and not signal strength? Is it the case that signal quality can also be on a negative scale (0% quality = -100; 100% quality = 0)? :(

    -- from CyberSimian in the UK
     

    vapourEyes

    Portal Pro
    July 31, 2013
    142
    43
    United Kingdom United Kingdom
    Country flag
    Well, this version is better, but we are not there yet. :(

    I performed four tests:
    • Empty channel database, with and without prefer strongest, without channel movement detection.
    • Filled channel database, with and without prefer strongest, with channel movement detection.
    The number of channels detected was the same in all cases: 94 TV channels and 33 radio channels. (y)
    What looks wrong is the handling of channel movement detection:
    • The screen shot on the left shows the result when prefer strongest is not enabled.
    • The screen shot on the right shows the result when prefer strongest is enabled.
    Notice that when prefer strongest is not enabled, the number of channels updated is equal to the number of channels detected, but this number is always zero when prefer strongest is enabled:
    Even if there is no change to an existing channel, the old scanner considers it to be "updated", and so that channel appears in the count of updated channels. Is the new scanner excluding existing channels if they have not actually changed? The disadvantage of this is that there is no indication at the end of scanning of how many channels were found.
    I am working on this. I have code that updates counts better. I now need to pay closer attention to it.

    This is consistent with the way that the other settings on that panel are not saved between successive invocations of "TV Server Config" (y). Personally, I think that there would be some advantage to the user if certain of those settings were perserved, but that is a separate work item. :D
    Noting your comments here.

    I am not happy about the need to externalise this :(. How many users will know whether their tuner cards are positive or negative? And what about those users who have a mixture of cards?

    Also, I thought that you had decided to use signal quality as the determining factor, and not signal strength? Is it the case that signal quality can also be on a negative scale (0% quality = -100; 100% quality = 0)? :(

    -- from CyberSimian in the UK
    Forgive me. I am mixing terms. in the code we do have:

    Code:
    public int signalQuality;
    Please ignore the previous comment about card bias.

    I'll check latest results here - and ensure they are an improvement and then post for test ?
     

    vapourEyes

    Portal Pro
    July 31, 2013
    142
    43
    United Kingdom United Kingdom
    Country flag
    Empty DB. Local region scan.

    1593709452619.png


    Updates appearing... I think this is better ?

    Will do more and update this same post.
    1593709737285.png


    Second - different region scan.

    Both with Strongest channel selection latest.

    Updated SetupTV.exe... not sure which DLL's are needed ... included.
     

    Attachments

    Last edited:

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    vapourEyes Automatically Re-Tune Periodically Improvement Suggestions 1
    S TV-Server MP1 - Automatic search doesn't work Installation, configuration support 2
    W [solved] [FIXED] Survivor season 40 not automatically matching My TVSeries 1
    G Switch to new channel at begining of program automatically Feature Requests 0
    C How do I get MediaPortal to separate recording files by channel and month? General 2
    H MP1.21F video database scan, can it be scheduled to automatically run in background General Support 5
    Steve.Rayner61 Online Videos - Automatic Updates fails 'Automatic update disabled. Check your internet connection' OnlineVideos 10
    greybox 1.20 final does not update video duration automatically 1.20 10
    greybox 1.20 final does not update video duration automatically 1.20 Pre Release 1
    M TV Server can't tune to some DVB-S multiplexes while other software can General 0
    bribbon [Pending] DVB-C Tuning Parameters: Switzerland.UPC Cablecom [NID 43020] v.7.xml Submit: EPG-Grabbers and tuningdetails 0
    J DVB-S2 card fails to tune? Subchannel count increasing Television (MyTV frontend and TV-Server) 3
    M Tuning channels with quad tuner question General 6
    E [solved] Vodafone Kabel dvb-c Braunschweig Tuning Liste (Stand 31.01.2019) TV / Streaming 0
    A VB-IP SPAIN Movistar plus tunning details (Update 26 dec 2018) Submit: EPG-Grabbers and tuningdetails 1
    M Wrong DVB-T tuning parameters for Sweden, Vannas - Granlundsberget 1.20 Pre Release 1
    U Client cannot tune channels General 1
    Charlie TV [solved] Channels disappeared after transmitter changes (Midhurst) General Support 4
    The_Stig [solved] Client taking 40 seconds to tune a channel Television (MyTV frontend and TV-Server) 1
    porky996t "No Signal" when tuning TV Cards Installation, configuration support 10
    Similar threads




















    Top Bottom