[mythtv-users] Adding Country to selection when Scanning for Channels

Roger Mårtensson roger.martensson at gmail.com
Sat May 2 15:39:28 UTC 2015


Frank Phillips skrev den 2015-05-01 21:21:
> On Thu, Apr 30, 2015 at 10:32 AM, Roger Mårtensson 
> <roger.martensson at gmail.com <mailto:roger.martensson at gmail.com>> wrote:
>
>     Frank Phillips skrev den 2015-04-29 23:39:
>
>
>
>         On Wed, Apr 29, 2015 at 3:46 PM, Hika van den Hoven
>         <hikavdh at gmail.com <mailto:hikavdh at gmail.com>
>         <mailto:hikavdh at gmail.com <mailto:hikavdh at gmail.com>>> wrote:
>
>             Hoi Roger,
>
>             Wednesday, April 29, 2015, 10:18:34 PM, you wrote:
>
>             > Hi!
>
>             > When I am scanning for channels on of the screens let me
>         select a
>             > Country. Two countries are selectable. Germany and UK.
>             > Since I don't live in either of these countries I would
>         like to
>             add my
>             > country to it. (Sweden)
>
>             > What type of information is needed for the developers be
>         able to
>             add a
>             > new country?
>
>             > _______________________________________________
>
>             I second that! I see more but am missing the Netherlands.
>         I just
>             started playing with my new HD homerun 4DC.
>
>
>         Hika, see
>         https://github.com/MythTV/mythtv/commit/cf82ba4727e4395ac1def118ff0fa1739e8004a4
>         and frequencytables.cpp. It's organized by dvbt and dvbc, then
>         country.
>
>     Ok.. When looking into that file I see why I don't see sweden.
>     Because I'm on DVB-C and there is only DVB-T available.
>     Do I create a ticket for this or is a mail to dev-list a better
>     option?
>
>     The information I have from my provider is the text below (in
>     swedish). It says that Country is Finland but I guess that is
>     because some older equipment doesn't have Sweden in their select
>     lists. So I guess this information is the same for Finland.
>
>     It talks about first and second arameter setting. Don't know what
>     that is.
>     Anyway. Each row below is: Frequency, Symbol speed, Mod, Network id.
>
>     If you want me to do any type of scanning (eg. w_scan or other
>     command) don't hesitate to contact me.
>
>     Första parameterinställningen:
>
>     Ange land /Finland/
>     *Frekvens:* 306-498 MHz
>     *Symbolhastighet:* 6875 kS/s
>     *Modulation:* QAM-64
>     *Nätverksnummer/nätid:* 100
>     *Conax version:* Contego
>     *Nätstandard:* DVB-C
>
>     Andra parameterinställningen:
>
>     Ange land /Finland/
>     *Frekvens:* 506-546 MHz
>     *Symbolhastighet:* 6952 kS/s
>     *Modulation:* QAM 256
>     *Nätverksnummer/nätid:* 100
>     *Conax version:* Contego
>     *Nätstandard:* DVB-C
>
>     // Finland (untested)
>     fmap["dvbc_qam_fi0"] = new FrequencyTable(
>         306000000, 498000000, 8000000, "Channel %1", 1,
>         DTVCodeRate::kFECAuto, DTVModulation::kModulationQAM64,
>         6900000, 0, 0);
>     fmap["dvbc_qam_fi1"] = new FrequencyTable(
>         506000000, 546000000, 8000000, "Channel %1", 1,
>         DTVCodeRate::kFECAuto, DTVModulation::kModulationQAM256,
>         6900000, 0, 0);
>
>     fmap["dvbc_qam_se0"] = new FrequencyTable(
>         306000000, 498000000, 8000000, "Channel %1", 1,
>         DTVCodeRate::kFECAuto, DTVModulation::kModulationQAM64,
>         6900000, 0, 0);
>     fmap["dvbc_qam_se1"] = new FrequencyTable(
>         506000000, 546000000, 8000000, "Channel %1", 1,
>         DTVCodeRate::kFECAuto, DTVModulation::kModulationQAM256,
>         6900000, 0, 0);
>
> Don't know the frequency step, so leave it at 8MHz, and the 
> name_offset at 1 for now.
> You can take this to mythtv-dev and see what they say. It would help 
> if you are able to compile MythTV with any patches they come up with.

Will do so. Unfortunately I don't have opportunity compile and test. :/

Any other Swedish/Finnish people here that is in a position to make a 
compile and test? (Need to be a person with DVB-C available to test in)
I (and hopefully others) would appreciate it.



More information about the mythtv-users mailing list