From bb0653a8017f8f9652aae4bcc4e0d0dca1fa9de2 Mon Sep 17 00:00:00 2001 From: Antoine Durand-Gasselin Date: Wed, 20 May 2009 19:51:00 +0200 Subject: [PATCH] [tv/gen_conf] commit darcs-hash:20090520175100-bd074-2bcf64fefc286556511b090c4b1f46b9d8e1bfb4.gz --- tv/genconf/sat_base.py | 97 ++++++++++++++++-------------------------- tv/genconf/sat_conf.py | 16 +++---- 2 files changed, 45 insertions(+), 68 deletions(-) diff --git a/tv/genconf/sat_base.py b/tv/genconf/sat_base.py index 31158c16..e017e947 100755 --- a/tv/genconf/sat_base.py +++ b/tv/genconf/sat_base.py @@ -163,30 +163,36 @@ sap_default_group=various class Hotbird_10853(carte) : + pol='h' + srate=27500 + chaines = { + '140' : ('x-ero' , 'x-ero Eurotic TV'), + '4100' : ('eng' , 'eng Physique TV ')} + +class Hotbird_11034(carte) : + pol='v' + srate=27500 + chaines = { + '500' : ('ara' , 'ara fra 2M Monde'), + '550' : ('ara' , 'ara fra radio 2M'), + '1200' : ('fra' , 'fra Telesud'), + '1400' : ('eng' , 'eng Al Jazeera')} + + +class Hotbird_11054(carte) : pol='h' srate=27500 chaines = {} + class Hotbird_11137(carte) : pol='h' srate=27500 chaines = { '717' : ('fra' , 'fra TV5MONDE FBS'), '719' : ('fra' , 'fra TV5MONDE Europe'), - '262' : ('ara' , 'ara ANN'), - '263' : ('ara' , 'ara Kurdistan TV'), - '264' : ('ita' , 'ita Videolina')} - -class Hotbird_11200(carte) : #A mettre a jour - pol='V' - srate=27500 - chaines = { - '366 367 2560' : ('ita' , 'ita Elite shopping TV'), - '386 387 512' : ('x-ero' , 'x-ero All Sex'), - '397 398 399' : ('ita' , 'ita StarSat'), - '394 395 4864' : ('ita' , 'ita Play TV'), - '400 404 402' : ('ita' , 'ita People TV'), - '405 406 407' : ('ita' , 'ita Roma Sat')} + '257' : ('ara' , 'ara ANN'), + '258' : ('ara' , 'ara Kurdistan TV')} class Hotbird_11240(carte) : pol='v' @@ -196,6 +202,7 @@ class Hotbird_11240(carte) : '247' : ('eng' , 'eng France 24'), '401' : ('fra' , 'fra RTBF sat')} + class Hotbird_11604(carte) : pol='h' srate=27500 @@ -205,7 +212,6 @@ class Hotbird_11604(carte) : '700' : ('ger' , 'ger DW TV'), '800' : ('divers' , 'divers DW tv arabic (ara eng ger)'), '900' : ('ger' , 'ger RTL2 Schweiz'), - '3500' : ('eng' , 'eng Cool TV'), '2600' : ('ger' , 'ger Erde Mensch'), '1600' : ('x-ero' , 'x-ero hot arab tv'), '3200' : ('x-ero' , 'x-ero xxx Action TV')} @@ -219,28 +225,16 @@ class Hotbird_11642(carte) : pol='h' srate=27500 chaines = { - '1360 1320 5003' : ('eng' , 'eng Bloomberg Europe'), - '1460 1420 5004' : ('ger' , 'ger Bloomberg TV Deutschland'), - '1560 1520 5005' : ('eng' , 'eng Bloomberg U.K.'), - '2101 2111 256 128 2121' : ('gr' , 'gr ERT Sat')} + '5003' : ('eng' , 'eng Bloomberg Europe'), + '5004' : ('eng' , 'eng Bloomberg Europe"'), + '5005' : ('eng' , 'eng Bloomberg U.K.'), + '256' : ('gre' , 'gre ERT World')} class Hotbird_11727(carte) : pol='v' srate=27500 - chaines = { - '2711 2712 257 2710' : ('fra' , 'fra La Locale'), - '2791 2792 269' : ('ita' , 'ita Sicilia International (SET)'), - '2751 2752 266' : ('ita' , 'ita Sardegna Uno Sat'), - '6507 6662' : ('radios' , 'rad eng BBC English (Europe)'), - '6510 6692' : ('radios' , 'rad eng BBC English News'), - '7302 6571' : ('radios' , 'rad eng BBC Feed 1'), - '7312 6572' : ('radios' , 'rad eng BBC Feed 2'), - '7322 6573' : ('radios' , 'rad eng BBC Feed 3'), - '7332 6574' : ('radios' , 'rad eng BBC Feed 4'), - '7342 6575' : ('radios' , 'rad eng BBC Feed 5'), - '7352 6576' : ('radios' , 'rad eng BBC Feed 6')} + chaines = {} -# Pour remplacer 10796 class Hotbird_11766(carte) : pol='v' srate=27500 @@ -253,16 +247,15 @@ class Hotbird_11766(carte) : '1107' : ('eng' , 'eng ita Senato italiano'), '261' : ('ita' , 'ita Rai Edu2')} -class Hotbird_11727(carte) : - pol='v' - srate=27500 - chaines = {} -class Hotbird_11054(carte) : + +class Hotbird_11539(carte) : pol='h' srate=27500 chaines = {} + + class Hotbird_12111(carte) : pol='v' srate=27500 @@ -276,40 +269,24 @@ class Hotbird_12111(carte) : '1040' : ('ita' , 'ita Radio Radio TV'), '1042' : ('ita' , 'ita MediterraneoSat 1')} -class Hotbird_12476(carte) : - pol='h' - srate=27500 - chaines = { - #2M don't support autoconfiguration - '600 601 602' : ('ara' , 'ara fra 2M'), - '600 603' : ('ara' , 'ara radio 2M'), - '550' : ('x-ero' , 'x-ero X Stream')} - -class Hotbird_12558(carte) : #outdated - pol='v' - srate=27500 - chaines = { - '6660 6661 6659' : ('ita' , 'ita Administra.it'), - '6916 6917 6915 6930' : ('ita' , 'ita 24 Ore')} - class Hotbird_12597(carte) : pol='v' srate=27500 chaines = { - '1024' : ('rus' , 'rus sport planeta'), '1027' : ('eng' , 'eng BBC World'), '1031' : ('rus' , 'rus ORT International'), - '1032' : ('eng' , 'eng CNN'), + '1032' : ('eng' , 'eng CNN radio'), '1034' : ('fra' , 'fra autres Euronews'), '1034 2221 2232 768' : ('eng' , 'eng Euronews')} -class Hotbird_12673(carte) : #outdated - pol='v' +class Hotbird_12539(carte) : + pol='h' srate=27500 chaines = { - '308 309 306 307' : ('ara' , 'ara Al Maghribiyah'), - '35 36 33 34 38' : ('ara' , 'ara TVM inter l'), - '46 47 44 45' : ('ara' , 'ara Arabiaa')} + '4436' : ('ara fra' , 'ara fra Canal Algerie'), + '4439' : ('ara fra' , 'ara fra Algerie 3'), + '5123' : ('fra' , 'fra DIRECT 8'), + '5124' : ('fra' , 'fra TV8 Mont Blanc')} class TNT_base(carte) : qam="auto" diff --git a/tv/genconf/sat_conf.py b/tv/genconf/sat_conf.py index c8867d65..3fef067b 100755 --- a/tv/genconf/sat_conf.py +++ b/tv/genconf/sat_conf.py @@ -1,25 +1,25 @@ #! /usr/bin/env python -# -*- coding: iso-8859-15 -*- +# -*- coding: utf-8 -*- -""" Défini les transpondeurs à associer à chacune des cartes """ +""" Defini les transpondeurs a associer a chacune des cartes """ from sat_base import * from socket import gethostname host = gethostname() -transpondeurs = { 'canard' : [ Hotbird_12476(0) , +transpondeurs = { 'canard' : [ Hotbird_11034(0) , Hotbird_11240(1) , Hotbird_12597(2) , - TNT_R4_498000(4) , - Hotbird_11604(3) ], - 'lapin' : [ Hotbird_11727(0) , - Hotbird_11623(4) , #Cette carte capte tres mal (non commente car on s'occupe juste de generer la conf) + Hotbird_11604(3) , + TNT_R4_498000(4) ], + 'lapin' : [ Hotbird_12539(0) , + Hotbird_11727(4) , #Cette carte capte bizarrement, lancer un scan avant pour voir ce u'elle capte TNT_R1_586000(1) , TNT_R6_562000(2) , TNT_R2_474000(3) ], 'oie' : [ Hotbird_10853(0) , - Hotbird_11766(1) , + Hotbird_11642(1) , Hotbird_12111(2) , Hotbird_11137(3) , TNT_R7_490000(4) ,