A Python UPnP Media Server
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
581 B

  1. # Licensed under the MIT license
  2. # http://opensource.org/licenses/mit-license.php
  3. # Copyright 2005, Tim Potter <tpot@samba.org>
  4. # Connection Manager service
  5. from twisted.python import log
  6. from twisted.web import resource, static, soap
  7. from upnp import UPnPPublisher
  8. class ConnectionManagerControl(UPnPPublisher):
  9. pass
  10. class ConnectionManagerServer(resource.Resource):
  11. def __init__(self):
  12. resource.Resource.__init__(self)
  13. self.putChild('scpd.xml', static.File('connection-manager-scpd.xml'))
  14. self.putChild('control', ConnectionManagerControl())