Hi,

I'm connected to a french cable network. This operator uses some exented 
channels, so I did changes to freq.py.
basically, I added a france-cable section in the file.
I never uploaded that change to the main freevo project, because I'm not 
sure that the information I added are correct (I tried to find a correct 
french table between channel and frequency, but with no luck).

But, finaly, as this table is useful for me, it could be useful for others !

I can send my freq.py.diff to the bugtracker, is that the correct way ? 
Or is that a bad idea ?

Thanks,
Pascal

diff -u svn/freevo/src/tv/freq.py freq.py
--- svn/freevo/src/tv/freq.py   2008-10-12 18:53:18.000000000 +0200
+++ freq.py     2008-10-11 19:38:38.000000000 +0200
@@ -917,6 +917,23 @@
      ('10',   217250),
 ]

+CABLE_FRANCE = [
+     ("2",     55750),
+     ("3",     60500),
+     ("4",     63750),
+     ("5",    176000),
+     ("6",    184000),
+     ("7",    192000),
+     ("8",    200000),
+     ("9",    208000),
+     ("10",   216000),
+     ("S06",  140250),
+     ("S07",  147250),
+     ("S08",  154250),
+     ("S09",  161250),
+     ("S10",  168250),
+] + FREQ_UHF
+
 SECAM_FRANCE = [
      ('K01',   47750),
      ('K02',   55750),
@@ -1320,22 +1337,23 @@
 ]

 CHANLIST = {
-     'us-bcast'         : dict(NTSC_BCAST),
-     'us-cable'         : dict(NTSC_CABLE),
-     'us-cable-hrc'     : dict(NTSC_HRC),
-     'japan-bcast'      : dict(NTSC_BCAST_JP),
-     'japan-cable'      : dict(NTSC_CABLE_JP),
-     'europe-west'      : dict(PAL_EUROPE),
-     'europe-east'      : dict(PAL_EUROPE_EAST),
-     'italy'            : dict(PAL_ITALY),
-     'newzealand'       : dict(PAL_NEWZEALAND),
-     'australia'        : dict(PAL_AUSTRALIA),
-     'ireland'          : dict(PAL_IRELAND),
-     'france'           : dict(SECAM_FRANCE),
-     'china-bcast'      : dict(PAL_CHINA),
-     'canada-cable'     : dict(NTSC_CABLE_CAN),
-     'southafrica'      : dict(PAL_BCAST_ZA),
-     'argentina'        : dict(ARGENTINA),
-     'russia'           : dict(RUSSIA),
-     'switzerland'      : dict(PAL_SWITZERLAND),
+     "us-bcast"         : dict(NTSC_BCAST),
+     "us-cable"         : dict(NTSC_CABLE),
+     "us-cable-hrc"     : dict(NTSC_HRC),
+     "japan-bcast"      : dict(NTSC_BCAST_JP),
+     "japan-cable"      : dict(NTSC_CABLE_JP),
+     "europe-west"      : dict(PAL_EUROPE),
+     "europe-east"      : dict(PAL_EUROPE_EAST),
+     "italy"            : dict(PAL_ITALY),
+     "newzealand"       : dict(PAL_NEWZEALAND),
+     "australia"        : dict(PAL_AUSTRALIA),
+     "ireland"          : dict(PAL_IRELAND),
+     "france"           : dict(SECAM_FRANCE),
+     "france-cable"     : dict(CABLE_FRANCE),
+     "china-bcast"      : dict(PAL_CHINA),
+     "canada-cable"     : dict(NTSC_CABLE_CAN),
+     "southafrica"      : dict(PAL_BCAST_ZA),
+     "argentina"        : dict(ARGENTINA),
+     "russia"           : dict(RUSSIA),
+     "switzerland"      : dict(PAL_SWITZERLAND),
 }

 

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to