-from enigma import *
-
from twisted.internet import reactor
from twisted.web2 import server, http, static
-def autostart():
+# this is currently not working
+def startWebserver():
print "Web startup"
- # For example, serve the /tmp directory
- toplevel = static.File("/tmp")
+ toplevel = static.File("/hdd")
site = server.Site(toplevel)
- reactor.listenTCP(8080, http.HTTPFactory(site))
-
-def autoend():
- pass
+ reactor.listenTCP(80, http.HTTPFactory(site))
-def getPicturePaths():
- return []
-
-def getPlugins():
- return []
-
-def getMenuRegistrationList():
- return []
+def Plugins():
+ return [ ]