]> git.parisson.com Git - telecaster-client.git/commitdiff
Reorganize
authoryomguy <>
Wed, 28 Nov 2007 14:35:21 +0000 (14:35 +0000)
committeryomguy <>
Wed, 28 Nov 2007 14:35:21 +0000 (14:35 +0000)
etc/teleoddcast.cfg
etc/teleoddcast.xml
teleoddcast.py

index 80b2e8bbc039a1da09c49af2a478e1aea128c441..cc30eb8e1b5df36a201ad32b62726f50c24e0cad 100644 (file)
@@ -1,7 +1,7 @@
 Server=localhost
 Port=8000
 ServerPassword=source2parisson
-ServerMountpoint=/My_best_funky_station_-_AE_-_Commercial_Correctio.ogg
+ServerMountpoint=/My_station_-_AE_-_REUNION.ogg
 ServerPublic=0
 AutomaticReconnectSecs=10
 Encode=OggVorbis
@@ -13,8 +13,8 @@ ServerType=Icecast2
 ExternalFile=/home/pre-barreau/augustins/audio/
 #YP Settings
 ServerStreamURL=http://www.pre-barreau.com
-ServerName=My_best_funky_station_-_AE_-_Commercial_Correctio_-_1
-ServerDescription=My_best_funky_station_-_AE_-_Commercial_Correctio_-_1_-_zad_-_azdzaddza
+ServerName=My_station_-_AE_-_REUNION_-_1
+ServerDescription=My_station_-_AE_-_REUNION_-_1_-_azd_-_azd
 ServerGenre=Teaching
 #Advanced Settings
 LogLevel=1
index 5f563c956e049df96365932959fc99efb8e58b44..b054974e8171cfcf15374df1fa833120d29900e8 100644 (file)
@@ -1,8 +1,8 @@
 <teleoddcast>
        <infos>
-            <short_name>My_Station_5</short_name>
-            <name>My best funky station</name>
-            <description>My personal best funky playlist ever !</description>
+            <short_name>My_Station</short_name>
+            <name>My station</name>
+            <description>A station where you can listen to me</description>
             <url>http://mydomain.com</url>
             <genre>Other</genre>
             <channels>1</channels>
@@ -13,8 +13,8 @@
             <sourcepassword>source2parisson</sourcepassword>
             <public>1</public>
             <root_dir>/var/www/cgi-bin/teleoddcast/</root_dir>
-            <odd_conf_file>teleoddcast.cfg</odd_conf_file>
-            <lock_file>teleoddcast.lock</lock_file>
+            <odd_conf_file>etc/teleoddcast.cfg</odd_conf_file>
+            <lock_file>lock/teleoddcast.lock</lock_file>
         </server>
         <media>
             <dir>/tmp/media</dir>
index 06fc31665b7ff101ef43dba321b9a5ed5a5759df..a406dfc019b5e6ca59cd7566eba6397a36fc7750 100755 (executable)
@@ -188,7 +188,7 @@ class WebView:
         print "<HTML>"
         print "<HEAD>"
         print "\t<TITLE>"+self.title+"</TITLE>"
-        print "<link href=\"teleoddcast.css\" rel=\"stylesheet\" type=\"text/css\">"
+        print "<link href=\"css/teleoddcast.css\" rel=\"stylesheet\" type=\"text/css\">"
         print '<script language="Javascript" type="text/javascript" >'
         print 'function choix(formulaire)'
         print '{var j; var i = formulaire.department.selectedIndex;'
@@ -361,8 +361,8 @@ class TeleOddCast:
 
 
 # Call main function.
-conf_file = 'teleoddcast.xml'
-school_file = 'pre-barreau.xml'
+conf_file = 'etc/teleoddcast.xml'
+school_file = 'etc/pre-barreau.xml'
 
 if __name__ == '__main__':
     t = TeleOddCast(conf_file, school_file)