From 19863401ba591822bc1df58c8d804530e0bafc16 Mon Sep 17 00:00:00 2001 From: montellese Date: Thu, 23 Jan 2014 19:36:06 +0100 Subject: [PATCH 23/24] platinum: lastPlaybackTime is in the "upnp" and not in the "dc" namespace --- lib/libUPnP/Platinum/Source/Devices/MediaServer/PltMediaItem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libUPnP/Platinum/Source/Devices/MediaServer/PltMediaItem.cpp b/lib/libUPnP/Platinum/Source/Devices/MediaServer/PltMediaItem.cpp index 514a1ab..1728eff 100644 --- a/lib/libUPnP/Platinum/Source/Devices/MediaServer/PltMediaItem.cpp +++ b/lib/libUPnP/Platinum/Source/Devices/MediaServer/PltMediaItem.cpp @@ -559,7 +559,7 @@ PLT_MediaObject::FromDidl(NPT_XmlElementNode* entry) if (NPT_FAILED(str.ToInteger(value))) value = 0; m_MiscInfo.last_position = value; - PLT_XmlHelper::GetChildText(entry, "lastPlaybackTime", m_MiscInfo.last_time, didl_namespace_dc, 256); + PLT_XmlHelper::GetChildText(entry, "lastPlaybackTime", m_MiscInfo.last_time, didl_namespace_upnp, 256); NPT_String parsed_last_time; for (int format=0; format<=NPT_DateTime::FORMAT_RFC_1036; format++) { NPT_DateTime date; -- 1.7.11.msysgit.0