From 0e1b270e1c0e9b3778a890d1bb63739984bce99b Mon Sep 17 00:00:00 2001 From: montellese Date: Wed, 23 Dec 2015 09:48:22 +0100 Subject: [jsonrpc] CEpgInfoTag: fix serialization of "runtime" as an integer (in minutes) instead of as a string Conflicts: xbmc/interfaces/json-rpc/schema/version.txt --- xbmc/epg/EpgInfoTag.cpp | 2 +- xbmc/interfaces/json-rpc/schema/version.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/xbmc/epg/EpgInfoTag.cpp b/xbmc/epg/EpgInfoTag.cpp index 567207442a..18574cf8dc 100644 --- a/xbmc/epg/EpgInfoTag.cpp +++ b/xbmc/epg/EpgInfoTag.cpp @@ -202,7 +202,7 @@ void CEpgInfoTag::Serialize(CVariant &value) const value["filenameandpath"] = m_strFileNameAndPath; value["starttime"] = m_startTime.IsValid() ? m_startTime.GetAsDBDateTime() : StringUtils::Empty; value["endtime"] = m_endTime.IsValid() ? m_endTime.GetAsDBDateTime() : StringUtils::Empty; - value["runtime"] = StringUtils::Format("%d", GetDuration() / 60); + value["runtime"] = GetDuration() / 60; value["firstaired"] = m_firstAired.IsValid() ? m_firstAired.GetAsDBDate() : StringUtils::Empty; value["progress"] = Progress(); value["progresspercentage"] = ProgressPercentage(); diff --git a/xbmc/interfaces/json-rpc/schema/version.txt b/xbmc/interfaces/json-rpc/schema/version.txt index 4b3b8be193..d9589113ad 100644 --- a/xbmc/interfaces/json-rpc/schema/version.txt +++ b/xbmc/interfaces/json-rpc/schema/version.txt @@ -1 +1 @@ -6.32.3 +6.32.4 -- cgit v1.2.3