diff --git a/DIDLLite.py b/DIDLLite.py index 2b1b5e5..7d980b7 100644 --- a/DIDLLite.py +++ b/DIDLLite.py @@ -577,7 +577,7 @@ class StorageFolder(Container): class DIDLElement(Element): def __init__(self): super().__init__('DIDL-Lite', {}) - self.attrib['xmlns'] = 'urn:schemas-upnp-org:metadata-1-0/DIDL-Lite' + self.attrib['xmlns'] = 'urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/' self.attrib['xmlns:dc'] = 'http://purl.org/dc/elements/1.1/' self.attrib['xmlns:upnp'] = 'urn:schemas-upnp-org:metadata-1-0/upnp' diff --git a/root-device.xml b/root-device.xml index 9d7e489..8d517da 100644 --- a/root-device.xml +++ b/root-device.xml @@ -21,16 +21,16 @@ urn:schemas-upnp-org:service:ConnectionManager:1 urn:upnp-org:serviceId:urn:schemas-upnp-org:service:ConnectionManager -ConnectionManager/scpd.xml -ConnectionManager/control -ConnectionManager/event +/ConnectionManager/scpd.xml +/ConnectionManager/control +/ConnectionManager/event urn:schemas-upnp-org:service:ContentDirectory:1 urn:upnp-org:serviceId:urn:schemas-upnp-org:service:ContenDirectory -ContentDirectory/scpd.xml -ContentDirectory/control -ContentDirectory/event +/ContentDirectory/scpd.xml +/ContentDirectory/control +/ContentDirectory/event