From 1c4576cbd2bd1a671f02b4c12c1030b2a49bb3f2 Mon Sep 17 00:00:00 2001
From: yomguy <>
Date: Fri, 18 Jul 2008 13:03:53 +0000
Subject: [PATCH] * Add professor list
---
etc/localhost.xml | 204 ++++++++++++++++++++++++++++++++
etc/pre-barreau_conferences.xml | 71 ++++++++++-
etc/telecaster_mp3.cfg | 23 ++++
etc/telecaster_mp3.xml | 30 +++++
telecaster.py | 10 +-
5 files changed, 335 insertions(+), 3 deletions(-)
create mode 100644 etc/localhost.xml
create mode 100644 etc/telecaster_mp3.cfg
create mode 100644 etc/telecaster_mp3.xml
diff --git a/etc/localhost.xml b/etc/localhost.xml
new file mode 100644
index 0000000..91384de
--- /dev/null
+++ b/etc/localhost.xml
@@ -0,0 +1,204 @@
+
+ http://localhost
+ Augustins - Pre-Barreau
+ 8000
+
+ CRFPA
+
+
+ Liberté publiques - Cours
+
+
+ Note de synthèse - Corrections
+
+
+ Droit civil - Cours
+
+
+ Droit civil - Corrections
+
+
+ Procédure administrative et contentieuse - Cours
+
+
+ Procédure administrative et contentieuse - Corrections
+
+
+ Procédure civile - Cours
+
+
+ Procédure civile - Corrections
+
+
+ Procédure pénale - Cours
+
+
+ Procédure pénale - Corrections
+
+
+ Droit commercial des affaires - Cours
+
+
+ Droit commercial des affaires - Corrections
+
+
+ Droit communautaire et européen - Cours
+
+
+ Droit communautaire et européen - Corrections
+
+
+ Droit fiscal - Cours
+
+
+ Droit fiscal - Corrections
+
+
+ Droit pénal - Cours
+
+
+ Droit pénal - Corrections
+
+
+ Droit de la famille et des personnes - Cours
+
+
+ Droit de la famille et des personnes - Corrections
+
+
+ Droit patrimonial - Cours
+
+
+ Droit patrimonial - Corrections
+
+
+ Droit du travail - Cours
+
+
+ Droit du travail - Corrections
+
+
+ Droit administratif - Cours
+
+
+ Droit administratif - Corrections
+
+
+ Droit public des activités économiques - Cours
+
+
+ Droit public des activités économiques - Corrections
+
+
+ Droit international privé - Cours
+
+
+ Droit international privé - Corrections
+
+
+ Procédures collectives et sûretés - Cours
+
+
+ Procédures collectives et sûretés - Corrections
+
+
+ Procédure communautaire - Cours
+
+
+ Procédures civile d'exécution - Cours
+
+
+ Comptabilité privée - Cours
+
+
+ Finances publiques - Cours
+
+
+ REUNION
+
+
+ TEST
+
+
+
+
+
+ AE
+
+
+ Administratif_Cours
+
+
+ Adm_Correction
+
+
+ Civil_Correction
+
+
+ Commercial_Correctio
+
+
+ Commercial_Cours
+
+
+ Deontologie_Cours
+
+
+ Droit civil - Cours
+
+
+ Methodo_Oraux
+
+
+ Penal_Correction
+
+
+ Penal_Cours
+
+
+ Procedures_Cours
+
+
+ Reunion_info
+
+
+ Social_Corrections
+
+
+ Social_Cours
+
+
+ REUNION
+
+
+ TEST
+
+
+
+
+
+ ENM
+
+
+ TEST
+
+
+ REUNION
+
+
+
+
+
+
+ FJP
+
+
+ TEST
+
+
+ REUNION
+
+
+
+
+
diff --git a/etc/pre-barreau_conferences.xml b/etc/pre-barreau_conferences.xml
index afc7324..bba08a5 100644
--- a/etc/pre-barreau_conferences.xml
+++ b/etc/pre-barreau_conferences.xml
@@ -1,6 +1,6 @@
http://localhost
- Default School
+ Pre-Barreau - ICP
8000
mp3
@@ -106,8 +106,8 @@
TEST
-
+
@@ -189,5 +189,72 @@
+
+ MARINHO A.
+
+
+ GIUSTINIANI G.
+
+
+ BOFFA R.
+
+
+ MEUNIER J.
+
+
+ THERY C.
+
+
+ JLB
+
+
+ AZZI T.
+
+
+ ETIENNEY A.
+
+
+ MARKUS J.
+
+
+ ANDREU L.
+
+
+ ROUMIER W.
+
+
+ HAIK R.
+
+
+ POISSON S.
+
+
+ CARTIER-BRESSON A.
+
+
+ MBONGO P.
+
+
+ MATHONNET P.
+
+
+ FOULQUIER N.
+
+
+ RILOV. F
+
+
+ JEANSEN E.
+
+
+ LA J.
+
+
+ MECARELLI G.
+
+
+ COLLET M.
+
+
diff --git a/etc/telecaster_mp3.cfg b/etc/telecaster_mp3.cfg
new file mode 100644
index 0000000..87ae267
--- /dev/null
+++ b/etc/telecaster_mp3.cfg
@@ -0,0 +1,23 @@
+Server=localhost
+Port=8000
+ServerPassword=source2parisson
+ServerMountpoint=/Pre-Barreau_-_ICP_-_CRFPA_-_Droit_civil_Corrections.mp3
+ServerPublic=0
+AutomaticReconnectSecs=10
+Encode=MP3 Lame
+BitrateNominal=64
+NumberChannels=1
+Samplerate=44100
+ServerType=Icecast2
+ExternalFile=/tmp
+#YP Settings
+ServerStreamURL=http://www.pre-barreau.com
+ServerName=Pre-Barreau_-_ICP_-_CRFPA_-_Droit_civil_Corrections
+ServerDescription=Pre-Barreau_-_ICP_-_CRFPA_-_Droit_civil_Corrections_-_2_-_GIUSTINIANI_G._-_lkh
+ServerGenre=Teaching
+#Advanced Settings
+LogLevel=1
+LogFile=oddcastv3.log
+SaveAsWAV=0
+OutputControl=SERVER,GENERAL,OUTPUT
+
diff --git a/etc/telecaster_mp3.xml b/etc/telecaster_mp3.xml
new file mode 100644
index 0000000..63ceee6
--- /dev/null
+++ b/etc/telecaster_mp3.xml
@@ -0,0 +1,30 @@
+
+
+ Pre-Barreau - ICP
+ Pre-Barreau - ICP
+ La preparation au Barreau de Paris
+ http://pre-barreau.com
+ Other
+ 1
+
+
+ localhost
+ 8000
+ source2parisson
+ 0
+ /var/www/telecaster/
+ etc/telecaster_mp3.cfg
+ lock/telecaster.lock
+ localhost/tmp/
+
+
+ true
+ /tmp/media
+ mp3
+ 64
+ 2
+ 44100
+ 2
+ 1
+
+
diff --git a/telecaster.py b/telecaster.py
index a792e18..1b5436d 100755
--- a/telecaster.py
+++ b/telecaster.py
@@ -262,10 +262,13 @@ class WebView:
self.format = self.conf['format']
self.title = self.conf['title']
self.departments = self.conf['department']
+ self.professors = self.conf['professor']
#print self.departments
#self.conferences = self.conf['department']['conferences']
self.len_departments = len(self.departments)
+ self.len_professors = len(self.professors)
self.conference_nb_max = 40
+ self.professor_nb_max = 40
def header(self):
# Required header that tells the browser how to render the HTML.
@@ -341,7 +344,12 @@ class WebView:
for i in range(1,21):
print ""
print ""
- print "
Professeur : | |
---|
"
+ print "
Professeur : | "
+ print " |
"
print "Commentaire : | |
"
print ""
print ""
--
2.39.5