aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Plugins/web/plugin.py
blob: b450b8cda656bcd900f5d51619451c71150a7474 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
from enigma import *

from twisted.internet import reactor
from twisted.web2 import server, http, static

def autostart():
	print "Web startup"
	toplevel = static.File("/hdd")
	site = server.Site(toplevel)
	
	reactor.listenTCP(80, http.HTTPFactory(site))

def autoend():
	pass

def getPicturePaths():
	return []

def getPlugins():
	return []
	
def getMenuRegistrationList():
	return []