Merge pull request #26220 from 78andyp/blurayfixes
[xbmc.git] / lib / libUPnP / patches / 0023-platinum-lastPlaybackTime-is-in-the-upnp-and-not-in-.patch
blob22622c37e3e60a02ffaa334c0d6243c0e255c316
1 From 19863401ba591822bc1df58c8d804530e0bafc16 Mon Sep 17 00:00:00 2001
2 From: montellese <montellese@xbmc.org>
3 Date: Thu, 23 Jan 2014 19:36:06 +0100
4 Subject: [PATCH 23/24] platinum: lastPlaybackTime is in the "upnp" and not in
5 the "dc" namespace
7 ---
8 lib/libUPnP/Platinum/Source/Devices/MediaServer/PltMediaItem.cpp | 2 +-
9 1 file changed, 1 insertion(+), 1 deletion(-)
11 diff --git a/lib/libUPnP/Platinum/Source/Devices/MediaServer/PltMediaItem.cpp b/lib/libUPnP/Platinum/Source/Devices/MediaServer/PltMediaItem.cpp
12 index 514a1ab..1728eff 100644
13 --- a/lib/libUPnP/Platinum/Source/Devices/MediaServer/PltMediaItem.cpp
14 +++ b/lib/libUPnP/Platinum/Source/Devices/MediaServer/PltMediaItem.cpp
15 @@ -559,7 +559,7 @@ PLT_MediaObject::FromDidl(NPT_XmlElementNode* entry)
16 if (NPT_FAILED(str.ToInteger(value))) value = 0;
17 m_MiscInfo.last_position = value;
19 - PLT_XmlHelper::GetChildText(entry, "lastPlaybackTime", m_MiscInfo.last_time, didl_namespace_dc, 256);
20 + PLT_XmlHelper::GetChildText(entry, "lastPlaybackTime", m_MiscInfo.last_time, didl_namespace_upnp, 256);
21 NPT_String parsed_last_time;
22 for (int format=0; format<=NPT_DateTime::FORMAT_RFC_1036; format++) {
23 NPT_DateTime date;
24 --
25 1.7.11.msysgit.0