Browse Source

fix copy/paste error so that we properly respond to discovery

requests...  this should fix the problem where we wouldn't be
seen till we restarted the server...

[git-p4: depot-paths = "//depot/": change = 1588]
main
John-Mark Gurney 14 years ago
parent
commit
91d11773a3
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      pymeds.py

+ 2
- 2
pymeds.py View File

@@ -198,10 +198,10 @@ def makeService(config):
'urn:schemas-upnp-org:device:MediaServer:1', rdxml)

s.register('%s::urn:schemas-upnp-org:service:ConnectionManager:1' % uuid,
'urn:schemas-upnp-org:device:ConnectionManager:1', rdxml)
'urn:schemas-upnp-org:service:ConnectionManager:1', rdxml)

s.register('%s::urn:schemas-upnp-org:service:ContentDirectory:1' % uuid,
'urn:schemas-upnp-org:device:ContentDirectory:1', rdxml)
'urn:schemas-upnp-org:service:ContentDirectory:1', rdxml)

def stopService(self):
# Some reason stopProtocol isn't called


Loading…
Cancel
Save