aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Blake <oak99sky@yahoo.co.uk>2015-11-08 11:29:44 +0000
committerDave Blake <oak99sky@yahoo.co.uk>2015-11-08 11:29:44 +0000
commita645bf85c56a7ac8344885f64deb2a82fd818554 (patch)
treeeafe83389a3dc17cdbde6134d6a125a9cfbc611c
parent8e4ecd8ec59b4ac9bfc7e18b141ecb87d03997bb (diff)
parent23b2fc917dd63aea581996579ba72b9f249f03b8 (diff)
Merge pull request #8358 from DaveTBlake/JSONFixMoodFormat
Fix album and artist mood output for JSON to be array as in spec
-rw-r--r--xbmc/interfaces/json-rpc/schema/version.txt2
-rw-r--r--xbmc/music/tags/MusicInfoTag.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/xbmc/interfaces/json-rpc/schema/version.txt b/xbmc/interfaces/json-rpc/schema/version.txt
index d6b71af529..45d6fb348d 100644
--- a/xbmc/interfaces/json-rpc/schema/version.txt
+++ b/xbmc/interfaces/json-rpc/schema/version.txt
@@ -1 +1 @@
-6.32.0
+6.32.1
diff --git a/xbmc/music/tags/MusicInfoTag.cpp b/xbmc/music/tags/MusicInfoTag.cpp
index fc8dfbe366..ca7b77fdc1 100644
--- a/xbmc/music/tags/MusicInfoTag.cpp
+++ b/xbmc/music/tags/MusicInfoTag.cpp
@@ -711,7 +711,7 @@ void CMusicInfoTag::Serialize(CVariant& value) const
value["musicbrainzalbumartistid"] = m_musicBrainzAlbumArtistID;
value["musicbrainztrmid"] = m_strMusicBrainzTRMID;
value["comment"] = m_strComment;
- value["mood"] = m_strMood;
+ value["mood"] = StringUtils::Split(m_strMood, g_advancedSettings.m_musicItemSeparator);
value["rating"] = (int)(m_rating - '0');
value["playcount"] = m_iTimesPlayed;
value["lastplayed"] = m_lastPlayed.IsValid() ? m_lastPlayed.GetAsDBDateTime() : StringUtils::Empty;