-<teleoddcast>
- <url>http://localhost</url>
- <title>Example University</title>
+<telecaster>
+ <url>localhost</url>
+ <title>My Streams</title>
<port>8000</port>
+ <format>mp3</format>
+
<department>
<name>Audio</name>
<conferences>
</conference>
</conferences>
</department>
-</teleoddcast>
+</telecaster>
<telecaster>
- <host>telecaster-04.parisson.com</host>
+ <host>localhost</host>
<title>Pre-Barreau</title>
<port>8000</port>
<format>mp3</format>
# Call main function.
-conf_file = '/etc/telecaster/telecaster_mp3.xml'
-school_file = '/etc/telecaster/pre-barreau_conferences.xml'
+conf_file = '/etc/telecaster/telecaster.xml'
+school_file = '/etc/telecaster/sessions.xml'
if __name__ == '__main__':
t = TeleCaster(conf_file, school_file)
def hardware_data(self):
jackd_pid = get_pid('jackd ', self.uid)
+ if jackd_pid == []:
+ jackd_pid = get_pid('/usr/bin/jackdbus ', self.uid)
self.acpi.update()
self.power_state = self.acpi.charging_state()
if self.power_state == 0: