From a8e8337e96272b6f4735617282fd70b975f6c7d6 Mon Sep 17 00:00:00 2001 From: John-Mark Gurney <jmg@funkthat.com> Date: Fri, 25 Aug 2023 00:37:30 -0700 Subject: [PATCH] a string player requires these changes.. --- DIDLLite.py | 2 +- root-device.xml | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) 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 @@ <service> <serviceType>urn:schemas-upnp-org:service:ConnectionManager:1</serviceType> <serviceId>urn:upnp-org:serviceId:urn:schemas-upnp-org:service:ConnectionManager</serviceId> -<SCPDURL>ConnectionManager/scpd.xml</SCPDURL> -<controlURL>ConnectionManager/control</controlURL> -<eventSubURL>ConnectionManager/event</eventSubURL> +<SCPDURL>/ConnectionManager/scpd.xml</SCPDURL> +<controlURL>/ConnectionManager/control</controlURL> +<eventSubURL>/ConnectionManager/event</eventSubURL> </service> <service> <serviceType>urn:schemas-upnp-org:service:ContentDirectory:1</serviceType> <serviceId>urn:upnp-org:serviceId:urn:schemas-upnp-org:service:ContenDirectory</serviceId> -<SCPDURL>ContentDirectory/scpd.xml</SCPDURL> -<controlURL>ContentDirectory/control</controlURL> -<eventSubURL>ContentDirectory/event</eventSubURL> +<SCPDURL>/ContentDirectory/scpd.xml</SCPDURL> +<controlURL>/ContentDirectory/control</controlURL> +<eventSubURL>/ContentDirectory/event</eventSubURL> </service> </serviceList> <deviceList/>