b450b8cda656bcd900f5d51619451c71150a7474
[enigma2.git] / lib / python / Plugins / web / plugin.py
1 from enigma import *
2
3 from twisted.internet import reactor
4 from twisted.web2 import server, http, static
5
6 def autostart():
7         print "Web startup"
8         toplevel = static.File("/hdd")
9         site = server.Site(toplevel)
10         
11         reactor.listenTCP(80, http.HTTPFactory(site))
12
13 def autoend():
14         pass
15
16 def getPicturePaths():
17         return []
18
19 def getPlugins():
20         return []
21         
22 def getMenuRegistrationList():
23         return []