diff options
author | Rechi <Rechi@users.noreply.github.com> | 2018-01-02 22:00:00 +0100 |
---|---|---|
committer | Rechi <Rechi@users.noreply.github.com> | 2018-01-02 22:00:00 +0100 |
commit | 17504edb7856f53798beeb3d0f944a1fbe2139eb (patch) | |
tree | 0ecc6185600664a0804a5951d3479181632c1132 /lib | |
parent | c62a0d7175eb386fbffbddf9c9c0e926272efb31 (diff) |
[libUPnP] remove xbmc change from patch
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libUPnP/patches/0040-platinum-add-resume-playerstate.patch | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/lib/libUPnP/patches/0040-platinum-add-resume-playerstate.patch b/lib/libUPnP/patches/0040-platinum-add-resume-playerstate.patch index b293ae3bcd..2b3387727c 100644 --- a/lib/libUPnP/patches/0040-platinum-add-resume-playerstate.patch +++ b/lib/libUPnP/patches/0040-platinum-add-resume-playerstate.patch @@ -105,25 +105,3 @@ index e52fb5a..1493a50 100644 /*---------------------------------------------------------------------- | PLT_MediaContainerListener -diff --git a/xbmc/network/upnp/UPnP.cpp b/xbmc/network/upnp/UPnP.cpp -index fc19147..efbb216 100644 ---- a/xbmc/network/upnp/UPnP.cpp -+++ b/xbmc/network/upnp/UPnP.cpp -@@ -249,8 +249,13 @@ public: - if (time < 0) time = 0; - curr_value.Append(NPT_String::Format("<upnp:lastPlaybackPosition>%ld</upnp:lastPlaybackPosition>", - (long)item.GetVideoInfoTag()->m_resumePoint.timeInSeconds)); -+ curr_value += "<xbmc:lastPlayerState>"; -+ PLT_Didl::AppendXmlEscape(curr_value, item.GetVideoInfoTag()->m_resumePoint.playerState.c_str()); -+ curr_value += "</xbmc:lastPlayerState>"; - new_value.Append(NPT_String::Format("<upnp:lastPlaybackPosition>%ld</upnp:lastPlaybackPosition>", time)); -- new_value.Append(NPT_String::Format("<xbmc:lastPlayerState>%s</xbmc:lastPlayerState>", bookmark.playerState.c_str())); -+ new_value += "<xbmc:lastPlayerState>"; -+ PLT_Didl::AppendXmlEscape(new_value, bookmark.playerState.c_str()); -+ new_value += "</xbmc:lastPlayerState>"; - } - if (updatePlayCount) { - CLog::Log(LOGDEBUG, "UPNP: Marking video item %s as watched", path.c_str()); --- -2.10.2.windows.1 - |