]> git.parisson.com Git - telecaster-server.git/commitdiff
should use localhost if nor network netheir firewall !
authoryomguy <>
Wed, 23 Sep 2009 14:34:06 +0000 (14:34 +0000)
committeryomguy <>
Wed, 23 Sep 2009 14:34:06 +0000 (14:34 +0000)
etc/telecaster_mp3.xml
webview.py

index b7f11832e55fe0500ee2ab1559d4f1393f567ee8..37e74d9fb0d06e097fd369721c3712a696c830a3 100644 (file)
@@ -3,7 +3,7 @@
         <short_name>Pre-Barreau</short_name>
         <name>Pre-Barreau</name>
         <description>La preparation au Barreau de Paris</description>
-        <url>http://augustins.pre-barreau.com</url>
+        <url>http://localhost</url>
         <genre>Other</genre>
         <channels>1</channels>
     </infos>
index 2694023b41d1a45db8dc5d860760a8bc8c905631..393ea42077d13bd4102db0449b88afce849fb339 100644 (file)
@@ -53,7 +53,7 @@ class WebView(FieldStorage):
                 break
             except:
                 self.ip = 'localhost'
-        self.url = url
+        self.url = 'http://' + self.ip
         self.port = self.conf['port']
         self.acpi = acpi.Acpi()
         self.format = self.conf['format']