Skip to content

Commit

Permalink
Merge pull request #681 from danieltutuianu/master
Browse files Browse the repository at this point in the history
Update plugin.py
  • Loading branch information
jbleyel authored Aug 17, 2024
2 parents eb5890c + c3852f6 commit 82fbcce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion epgexport/src/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
from time import gmtime, strftime
from twisted.internet.threads import deferToThread
from twisted.internet.reactor import listenTCP, run
from twisted.web import http
from twisted.web import http, static
from twisted.web.resource import Resource
from twisted.web.server import Site
from xml.etree.ElementTree import tostring, parse
Expand Down Expand Up @@ -336,6 +336,7 @@ def startingCustomEPGExternal():
root.putChild(b"epgexport.xml", resourcePrograms)
root.putChild(b"epgexport.gz", resourcePrograms)
root.putChild(b"epgexport.xz", resourcePrograms)
root.putChild(b"picon", static.File("/picon"))
factory = Site(root)
port = int(config.plugins.epgexport.port.value)
listenTCP(port, factory)
Expand Down

0 comments on commit 82fbcce

Please sign in to comment.