Can't uncheck "Visible in Guide" in XMLTV (2 Viewers)

mm1352000

Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    Okay, it is 1 AM here in New Zealand, so I'm going to bed. I'll check this thread again in the morning. :)
     

    longjohn119

    Portal Member
    October 29, 2010
    19
    1
    This is an Avermedia A188 dual ATSC PCIe tuner which picks up all the channels just fine in the supplied (but ugly and clunky) TV app

    OK here are the logs where it missed physical channel 54, on both tuners and then I did a Clear in TV Channels and did a rescan (Just the 1st tuner because what';s the point of scanning the 2nd when it will fail like the 1st) and this time I got absolutely nothing for channels 51, 52, 53, 54, 55, and 56 .... The ONLY way to get it to pick up any of those channels again is to delete the logs which is why I was clearing the logs as it's the ONLY way to pick up missing stations again .....
     

    longjohn119

    Portal Member
    October 29, 2010
    19
    1
    I fixed most of it by imaging my Win7 drive, reloading the March backup image and exporting the tuner XML file which I moved to a backup drive and then I loaded the image I made today back in and imported the tuner .... I'll still have to delete a couple of (sub)channels, change the subchannel on another and add one new (sub)channel to bring me back up to date with the new cable changes but I'll do that manually and skip fighting that tuner scan which has always been hit and miss for me with 3 different QAM/ATSC tuners on 4 different computers running 3 different versions of Windows .... Works fine for OTA ATSC on a USB Pinnacle but that also has QAM which I used for cable before I got this dual PCIe card 18 months ago and it didn't scan QAM right either but I just figured it was because it was just a USB tuner .... guess not .... Let me guess, you are using Microsoft's .NET or C# example source code for TV tuners as a base for this tuner scan ..... Frankly C+ or even better Assembly does a much better job with embedded uController devices like these for things like scanning or any direct hardware functions .... .NET and C# is OK for fancy GUI's and decoding and graphing of digital streams but not so much for actual control of embedded hardware. That's exactly why Android devices use Embedded Linux (Straight C and some C+) for all the hardware functions and Android itself is just a GUI written in a modified version of Java .... Which is basically what C# is too, a modified version of Java to get around IP rights and patents

    Oh yeah I've now scheduled a monthly export and backup of the tuner when I do my backup image ..... Any changes in the channels/subchannels will be done by hand unless it's a major 20 channel change or something which I doubt is going to happen
     

    mm1352000

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

    OK here are the logs where it missed physical channel 54...
    The log files don't agree:
    2015-04-30 06:40:05,395] [Log ] [ATSC scan thread] [INFO ] - ATSC: scanning clear QAM cable, physical channel = 54, frequency = 403250 kHz, modulation = 256 QAM, frequency plan = QAM Standard
    [2015-04-30 06:40:28,706] [Log ] [ATSC scan thread] [INFO ] - ATSC: scan result, new = 0, updated = 166

    The user interface would have shown the following:
    "physical channel = 54, frequency = 403250 kHz, modulation = 256 QAM... new = 0, updated = 166"

    That means that TV Server found details for 166 channels at physical channel 54.

    These are the details of the (sub)channels that TV Server found for physical channel 54:
    [collapse]
    [2015-04-30 07:33:22,322] [79eaf10] [f20] - 0) AMC TSID = 0x0000, service ID = 0x0017, source ID = 0x1004, maj. ch. # = 24 , min. ch. # = 0 , access controlled = 1, type = 2, video stream count = 0, audio stream count = 0, frequency = 405000 kHz, modulation = 11
    [2015-04-30 07:33:22,334] [79eaf10] [f20] - 1) A&E TSID = 0x0000, service ID = 0x000b, source ID = 0x1005, maj. ch. # = 28 , min. ch. # = 0 , access controlled = 1, type = 2, video stream count = 0, audio stream count = 0, frequency = 405000 kHz, modulation = 11
    [2015-04-30 07:33:22,484] [79eaf10] [f20] - 21) HIST TSID = 0x0000, service ID = 0x000d, source ID = 0x1020, maj. ch. # = 57 , min. ch. # = 0 , access controlled = 1, type = 2, video stream count = 0, audio stream count = 0, frequency = 405000 kHz, modulation = 11
    [2015-04-30 07:33:22,489] [79eaf10] [f20] - 22) HGTV TSID = 0x0000, service ID = 0x0003, source ID = 0x1021, maj. ch. # = 58 , min. ch. # = 0 , access controlled = 1, type = 2, video stream count = 0, audio stream count = 0, frequency = 405000 kHz, modulation = 11
    [2015-04-30 07:33:22,503] [79eaf10] [f20] - 25) LIFE TSID = 0x0000, service ID = 0x0011, source ID = 0x1032, maj. ch. # = 29 , min. ch. # = 0 , access controlled = 1, type = 2, video stream count = 0, audio stream count = 0, frequency = 405000 kHz, modulation = 11
    [2015-04-30 07:33:22,532] [79eaf10] [f20] - 31) Syfy TSID = 0x0000, service ID = 0x0015, source ID = 0x1046, maj. ch. # = 48 , min. ch. # = 0 , access controlled = 1, type = 2, video stream count = 0, audio stream count = 0, frequency = 405000 kHz, modulation = 11
    [2015-04-30 07:33:22,570] [79eaf10] [f20] - 39) FOOD TSID = 0x0000, service ID = 0x0001, source ID = 0x105a, maj. ch. # = 61 , min. ch. # = 0 , access controlled = 1, type = 2, video stream count = 0, audio stream count = 0, frequency = 405000 kHz, modulation = 11
    [2015-04-30 07:33:22,575] [79eaf10] [f20] - 40) VH1 TSID = 0x0000, service ID = 0x000f, source ID = 0x105b, maj. ch. # = 73 , min. ch. # = 0 , access controlled = 1, type = 2, video stream count = 0, audio stream count = 0, frequency = 405000 kHz, modulation = 11
    [2015-04-30 07:33:22,646] [79eaf10] [f20] - 55) WGNA TSID = 0x0000, service ID = 0x0019, source ID = 0x127a, maj. ch. # = 53 , min. ch. # = 0 , access controlled = 1, type = 2, video stream count = 0, audio stream count = 0, frequency = 405000 kHz, modulation = 11
    [2015-04-30 07:33:22,665] [79eaf10] [f20] - 59) TELEMUe TSID = 0x0000, service ID = 0x0009, source ID = 0x1497, maj. ch. # = 127 , min. ch. # = 0 , access controlled = 1, type = 2, video stream count = 0, audio stream count = 0, frequency = 405000 kHz, modulation = 11
    [2015-04-30 07:33:22,726] [79eaf10] [f20] - 72) DISNEY TSID = 0x0000, service ID = 0x0007, source ID = 0x2718, maj. ch. # = 41 , min. ch. # = 0 , access controlled = 1, type = 2, video stream count = 0, audio stream count = 0, frequency = 405000 kHz, modulation = 11
    [2015-04-30 07:33:23,113] [79eaf10] [f20] - 153) DisneyJr TSID = 0x0000, service ID = 0x0005, source ID = 0x5dac, maj. ch. # = 75 , min. ch. # = 0 , access controlled = 1, type = 2, video stream count = 0, audio stream count = 0, frequency = 405000 kHz, modulation = 11[/collapse]

    So, I don't understand why you say TV Server "missed" that channel. Can you explain?

    and this time I got absolutely nothing for channels 51, 52, 53, 54, 55, and 56
    Again, the log files appear to show the opposite:
    [collapse]
    [2015-04-30 07:20:13,216] [Log ] [ATSC scan thread] [INFO ] - ATSC: scanning clear QAM cable, physical channel = 51, frequency = 385262 kHz, modulation = 256 QAM, frequency plan = QAM Standard
    [2015-04-30 07:20:24,869] [Log ] [ATSC scan thread] [INFO ] - ATSC: scan result, new = 0, updated = 166
    [2015-04-30 07:20:24,873] [Log ] [ATSC scan thread] [INFO ] - ATSC: scanning clear QAM cable, physical channel = 52, frequency = 391262 kHz, modulation = 256 QAM, frequency plan = QAM Standard
    [2015-04-30 07:20:47,848] [Log ] [ATSC scan thread] [INFO ] - ATSC: scan result, new = 0, updated = 166
    [2015-04-30 07:20:47,852] [Log ] [ATSC scan thread] [INFO ] - ATSC: scanning clear QAM cable, physical channel = 53, frequency = 397262 kHz, modulation = 256 QAM, frequency plan = QAM Standard
    [2015-04-30 07:21:11,001] [Log ] [ATSC scan thread] [INFO ] - ATSC: scan result, new = 0, updated = 166
    [2015-04-30 07:21:11,004] [Log ] [ATSC scan thread] [INFO ] - ATSC: scanning clear QAM cable, physical channel = 54, frequency = 403250 kHz, modulation = 256 QAM, frequency plan = QAM Standard
    [2015-04-30 07:21:23,290] [Log ] [ATSC scan thread] [INFO ] - ATSC: scan result, new = 0, updated = 166
    [2015-04-30 07:21:23,293] [Log ] [ATSC scan thread] [INFO ] - ATSC: scanning clear QAM cable, physical channel = 55, frequency = 409250 kHz, modulation = 256 QAM, frequency plan = QAM Standard
    [2015-04-30 07:21:46,199] [Log ] [ATSC scan thread] [INFO ] - ATSC: scan result, new = 0, updated = 168
    [2015-04-30 07:21:46,203] [Log ] [ATSC scan thread] [INFO ] - ATSC: scanning clear QAM cable, physical channel = 56, frequency = 415250 kHz, modulation = 256 QAM, frequency plan = QAM Standard
    [2015-04-30 07:22:09,203] [Log ] [ATSC scan thread] [INFO ] - ATSC: scan result, new = 0, updated = 166
    [/collapse]

    TV Server found (sub)channel details on each of those physical channels, so I fail to understand what you're talking about. If you want me to understand then you're going to have to explain/describe in more detail.

    The ONLY way to get it to pick up any of those channels again is to delete the logs which is why I was clearing the logs as it's the ONLY way to pick up missing stations again .....
    Believe it or not, deleting the log files does not make any difference to the scan behaviour. If you're getting different results then it's just "luck"/timing. Increasing the SDT/VCT timeout should give more consistent results.

    I fixed most of it...
    Great. :)
    Still, I really wish you would provide the detailed explanation, screenshots etc. that I've asked for. We don't want the scanning process to be something you have to fight! We want it to "just work", but we need input from people such as yourself in order to make that happen.

    ...and skip fighting that tuner scan which has always been hit and miss for me with 3 different QAM/ATSC tuners on 4 different computers running 3 different versions of Windows
    Our QAM scan process is the same for all QAM tuners on all versions of Windows.

    Works fine for OTA ATSC on a USB Pinnacle...
    Our OTA scan process is very different. A lot simpler.

    ...but that also has QAM which I used for cable before I got this dual PCIe card 18 months ago and it didn't scan QAM right either but I just figured it was because it was just a USB tuner .... guess not
    Definitely not!
    Like I said above: it makes no difference what tuner or version of Windows you use. The scan process is the same in all cases.
    Clearly you expect the scan process to work in a certain way. It would be great if you could explain what you expect. Otherwise it just feels like you're complaining/ranting/trolling. ;)

    Let me guess, you are using Microsoft's .NET or C# example source code for TV tuners as a base for this tuner scan
    Nope! There's no such thing as .NET/C# example source code for TV tuners. It's impossible for us to use something that doesn't exist.

    Frankly C+ or even better Assembly does a much better job with embedded uController devices like these for things like scanning or any direct hardware functions .... .NET and C# is OK for fancy GUI's and decoding and graphing of digital streams but not so much for actual control of embedded hardware.
    LOL!
    If you'd ever written code to interact with tuners on Windows then you'd know:
    1. "Direct hardware functions" are handled by the vendor-supplied/controlled drivers... and yes, they are written in C, C++, assembly etc.
    2. Scanning is not a direct hardware function. It mostly involves decoding and interpreting a "digital stream".
    As it happens, TV Server uses a combination of C++ and C# for our scanning code... but this is completely irrelevant. If the algorithm (logic) is wrong then language (eg. C#, C++, C, Java, Assembler) won't make diddly squat difference.

    That's exactly why Android devices use Embedded Linux (Straight C and some C+) for all the hardware functions and Android itself is just a GUI written in a modified version of Java .... Which is basically what C# is too, a modified version of Java to get around IP rights and patents
    If you say so.
     

    longjohn119

    Portal Member
    October 29, 2010
    19
    1
    I'm been an Electrical Engineer for over 22 years dealing mostly with embedded microcontrollers for Industrial Process Controls and Commercial HVAC systems .....

    Every single security update (and most inter-version updates) represents at least one bug and several lines of sloppily written code .... All Viruses, Trojans, Hacks and Exploits are based on exploiting someone's sloppily written code ..... Studies show that the average 10,000 line program contains an average of 1000 lines of bad code .....

    I don't have that luxury in my line of work ..... If I designed embedded hardware like programmers write software programs these days people would get killed .... literally
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    Sure. I'm an electronics and computer systems engineer, so I have some understanding of what you're saying. However, writing code for TV Server is nothing like writing code for embedded microcontrollers.

    Of course we have bugs! No code is perfect. If you think our code is sloppily written, that we're bad programmers... or whatever... and you think you can do better, then by all means do it. That's what open source is all about! Our code is on github, so you can dive in any time:
    https://github.com/MediaPortal/MediaPortal-1/

    I like constructive criticism because it enables improvement. So far you've been critical... but not constructive, because you've ignored the repeated requests for detailed descriptions, screenshots etc. of what is wrong/"ridiculous"/"crude"/"meaningless"/"irrelevant". I can't do anything with non-constructive criticism.
     

    Users who are viewing this thread

    Top Bottom