[mythtv-users] Repack - Rescan question

Ross Boylan rossboylan at stanfordalumni.org
Wed Mar 11 02:27:24 UTC 2020


I just ran into the same problem.  I too wonder if there is some automatic
way to do a rescan; in the past I've noticed when I scan channels lots of
other stuff of I've done needs to be redone (e.g., picking the subset of
interest).  FWIW, omitting the rather confused process of figuring out what
was going on, these were the steps:
1. hdhomerun_config  MyTunerID scan 0
Results include
SCANNING: 575000000 (us-bcast:31)
LOCK: 8vsb (ss=100 snq=93 seq=100)
TSID: 0x0141
PROGRAM 3: 2.1 KTVU-HD
PROGRAM 4: 2.2 KTVU-SD
PROGRAM 5: 2.3 Movies!
PROGRAM 6: 2.4 Buzzr

The key items are from the line SCANNING: 575000000 (us-bcast:31)

2. In the database find the relevant entries in channels; change freqid to
31 there for atsc_major_chan = 2
Those records also have an mplexid which can be used to locate a record (I
had just one) in dtv_multiplex.

3. update dtv_multiplex set frequency=575000000 where mplexid=13;

2 alone was insufficient.

I know directly messing with the database is frowned on, but it seemed to
work for me.

Ross

On Tue, Mar 10, 2020 at 12:51 PM Allen Edwards <allen.p.edwards at gmail.com>
wrote:

>
>
> On Tue, Mar 10, 2020 at 11:04 AM Klaas de Waal <klaas.de.waal at gmail.com>
> wrote:
>
>>
>>
>> On Tue, 10 Mar 2020 at 07:39, Klaas de Waal <klaas.de.waal at gmail.com>
>> wrote:
>>
>>>
>>>
>>> On Tue, 10 Mar 2020 at 01:57, Allen Edwards <allen.p.edwards at gmail.com>
>>> wrote:
>>>
>>>> I am trying to plan for the upcoming repack. I would like to do this
>>>> with a minimum of "learning" new ways to do things. My basic question is
>>>> can I scan a narrow range of frequencies in order to add a new channel to
>>>> an existing lineup without that deleting the existing channels?
>>>>
>>>> Here is the background.  Right now a local station KTVU transmits on
>>>> the old station, 44 and the repack station 31. Both come in great. It also
>>>> transmits on 26 which comes in poorly as it is hitting the back of my
>>>> antenna. There is another station, KGO that is moving from 7 to 12 that
>>>> also transmits on 35 into the back of my antenna. Both the San Francisco
>>>> versions that I can get and the San Jose versions that hit the back have
>>>> the same call signs although they might have different xmltvids. What I
>>>> recall from past times is that if Myth scans low to high, I end up with the
>>>> wrong KGO and if it scans high to low I get the wrong KTVU. I am not sure
>>>> of which way it scans or even if it does reject duplicate call signs that
>>>> have different xmltvids.
>>>>
>>>> Ideally I could just set the scan to go from 31 to 31 and it would just
>>>> find the new KTVU and I could manually edit out channel 44 if it isn't
>>>> overwritten.
>>>>
>>>> Another idea I had was to add attenuators until the back stations no
>>>> longer came in at all and then scan but my hope is there is an easier way.
>>>> The repack is 4 stations of which 2 have both SF and SJ versions. Not sure
>>>> if that would work though.
>>>>
>>>>
>>>> There is the option "Scan of single existing transport" as described in
>>> https://www.mythtv.org/wiki/Channel_Scanning#Channel_Scan but you have
>>> to know the frequency to select the correct transport.
>>> For ATSC only it is possible to select a from-to range of channels (this
>>> are frequencies, not TV channels). This is described in section
>>> https://www.mythtv.org/wiki/Channel_Scanning#ATSC_configuration
>>>
>>>
>>>
>> About
>>
>>> Ideally I could just set the scan to go from 31 to 31 and it would just
>>> find the new KTVU and I could manually edit out channel 44 if it isn't
>>> overwritten.
>>
>>
>> I expect that this works without manual editing but you really need the
>> latest mythtv, v31 or master, for this.
>> The code uses the ATSC major/minor channel number to identify the channel
>> so these numbers should stay the same.
>> Note that the channel update  code has not been tested much because the
>> repacks are not that frequent so I am interested in your results!
>>
>> Klaas.
>>
>> I am running MythTV Version : v0.28.2-6-g9031599 for the record.
>
> I found that my KTVU has in fact moved to the repack channel 31 and that
> Myth no longer could get it as the previous scan was 44. I deleted channel
> 2 (KTVU) in mythweb and then went to the channel editor and scanned from 31
> to 31 and it worked.  Too easy. I then did a mythfilldatabase and have yet
> to see a problem with the limited testing I did.
>
> Allen
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20200310/2a251c29/attachment-0001.htm>


More information about the mythtv-users mailing list