diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-10 18:07:22 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-10 18:07:22 +0000 |
commit | c04dcc2e7d834218ef2d4194331e383402495ae1 (patch) | |
tree | 7333e38d10d75386e60f336b80c2443c1166031d /lib/libUPnP/patches/0023-platinum-lastPlaybackTime-is-in-the-upnp-and-not-in-.patch | |
parent | Initial commit. (diff) | |
download | kodi-c04dcc2e7d834218ef2d4194331e383402495ae1.tar.xz kodi-c04dcc2e7d834218ef2d4194331e383402495ae1.zip |
Adding upstream version 2:20.4+dfsg.upstream/2%20.4+dfsg
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'lib/libUPnP/patches/0023-platinum-lastPlaybackTime-is-in-the-upnp-and-not-in-.patch')
-rw-r--r-- | lib/libUPnP/patches/0023-platinum-lastPlaybackTime-is-in-the-upnp-and-not-in-.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/lib/libUPnP/patches/0023-platinum-lastPlaybackTime-is-in-the-upnp-and-not-in-.patch b/lib/libUPnP/patches/0023-platinum-lastPlaybackTime-is-in-the-upnp-and-not-in-.patch new file mode 100644 index 0000000..22622c3 --- /dev/null +++ b/lib/libUPnP/patches/0023-platinum-lastPlaybackTime-is-in-the-upnp-and-not-in-.patch @@ -0,0 +1,26 @@ +From 19863401ba591822bc1df58c8d804530e0bafc16 Mon Sep 17 00:00:00 2001 +From: montellese <montellese@xbmc.org> +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 + |