summaryrefslogtreecommitdiff
path: root/httptnt/deviceDescription.ecpp
diff options
context:
space:
mode:
authormethodus <methodus@web.de>2012-09-15 23:37:25 +0200
committermethodus <methodus@web.de>2012-09-15 23:37:25 +0200
commit216e4086520765fface77acd86a718dfb6e627e2 (patch)
tree05c08d294174825e880f6e9af26db36c157bb78f /httptnt/deviceDescription.ecpp
parent4d808c7f57e7de856154c7d13b6d2dc6501bb6fc (diff)
downloadvdr-plugin-upnp-216e4086520765fface77acd86a718dfb6e627e2.tar.gz
vdr-plugin-upnp-216e4086520765fface77acd86a718dfb6e627e2.tar.bz2
Anpassung der Plugin-Schnittstelle
Diffstat (limited to 'httptnt/deviceDescription.ecpp')
-rw-r--r--httptnt/deviceDescription.ecpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/httptnt/deviceDescription.ecpp b/httptnt/deviceDescription.ecpp
index f43ff8c..dfbe853 100644
--- a/httptnt/deviceDescription.ecpp
+++ b/httptnt/deviceDescription.ecpp
@@ -38,7 +38,6 @@ using namespace upnp;
<major>1</major>
<minor>0</minor>
</specVersion>
- <URLBase><$ urlBase $></URLBase>
<device>
<deviceType>urn:schemas-upnp-org:device:MediaServer:1</deviceType>
<friendlyName><$ serverDescription.friendlyName $></friendlyName>
@@ -50,7 +49,7 @@ using namespace upnp;
<modelURL><$ serverDescription.modelURL $></modelURL>
<serialNumber><$ serverDescription.serialNumber $></serialNumber>
<UDN><$ deviceUUID $></UDN>
- <presentationURL><$ presentationUrl $></presentationURL>
+ <presentationURL><$ urlBase $><$ presentationUrl $></presentationURL>
<dlna:X_DLNADOC>DMS-1.50</dlna:X_DLNADOC>
<serviceList>
<{
@@ -63,7 +62,7 @@ using namespace upnp;
<service>
<serviceType><$ serviceDescription.serviceType $></serviceType>
<serviceId><$ serviceDescription.serviceID $></serviceId>
- <SCPDURL><$ serviceUrl $><$ serviceDescription.SCPDXML $></SCPDURL>
+ <SCPDURL><$ urlBase $><$ serviceUrl $><$ serviceDescription.SCPDXML $></SCPDURL>
<controlURL><$ controlUrl $><$ serviceDescription.controlDescriptor $></controlURL>
<eventSubURL><$ controlUrl $><$ serviceDescription.eventSubscriberDescriptor $></eventSubURL>
</service>
@@ -80,7 +79,7 @@ using namespace upnp;
<width><$ (*it).profile.width $></width>
<height><$ (*it).profile.height $></height>
<depth><$ (int)(*it).profile.bitDepth $></depth>
- <url><$ staticContentUrl $><$ (*it).filename $></url>
+ <url><$ urlBase $><$ staticContentUrl $><$ (*it).filename $></url>
</icon>
% };
</iconList>