[mythtv] Is it normal to rerun the same select query every 8 seconds?

Karl Dietz dekarl at spaetfruehstuecken.org
Mon Aug 27 21:12:18 UTC 2012


On 27.08.2012 22:52, Göran Uddeborg wrote:
>> Did you delete unwanted channels instead of marking them invisible?
>
> I'm not sure.  It has been some time since we configured this.  But
> maybe we did.
>
> My "channel" table contains 14 entries, which is much less than the
> transmitter has.
> (http://www.teracom.se/Sandarinformation/Frekvenstabeller/Detaljer/?ft=tv&sid=G/BM
> It is in Swedish, but probably pretty obvious.)  If that means we
> deleted things, then we obviously did.

it is also possible that you did not add encrypted and radio channels
in the first place. There are option in the channel scanner to omit
them.

>> I have posted a patch based on your question at
>
> Nice! :-)  I even think I understood it. :-)
>
>> Btw, you can check with dvbsnoop's section scan.
>
> I couldn't find anything called "dvbsnoop" on my machine, nor in
> Fedora's repositories.  Are you talkning about this tool from
> Sourceforge?
>
> http://dvbsnoop.sourceforge.net/

yes, http://www.linuxtv.org/wiki/index.php/Dvbsnoop says
"not on Fedora", too :)

The EIT section scan will look something like this:
http://dvbsnoop.sourceforge.net/examples/example-eit.html

each event_information_section will begin with (among others) the
following attributes:

Service_ID: 47 (0x002f)  [=  --> refers to PMS program_number]
...
Transport_stream_ID: 33 (0x0021)
Original_network_ID: 133 (0x0085)  [= BetaTechnik | BetaTechnik]

which should match your database queries (The ONID is called NID in
MythTV for historical reasons)

Regards,
Karl


More information about the mythtv-dev mailing list