diff options
author | montellese <montellese@kodi.tv> | 2015-12-23 09:48:22 +0100 |
---|---|---|
committer | montellese <montellese@kodi.tv> | 2015-12-28 11:24:59 +0100 |
commit | 0e1b270e1c0e9b3778a890d1bb63739984bce99b (patch) | |
tree | f7cca7f4f34f7675b1e4c0ccd74ac1f468e5f328 | |
parent | 8164fe22d49afb9b44372824bb239bed60ef10a5 (diff) |
[jsonrpc] CEpgInfoTag: fix serialization of "runtime" as an integer (in minutes) instead of as a string
Conflicts:
xbmc/interfaces/json-rpc/schema/version.txt
-rw-r--r-- | xbmc/epg/EpgInfoTag.cpp | 2 | ||||
-rw-r--r-- | 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 |