Kodi Community Forum
Bug AudioLibrary.OnUpdate object contains undocumented value(s) - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93)
+---- Forum: JSON-RPC (https://forum.kodi.tv/forumdisplay.php?fid=174)
+---- Thread: Bug AudioLibrary.OnUpdate object contains undocumented value(s) (/showthread.php?tid=295542)



AudioLibrary.OnUpdate object contains undocumented value(s) - axa88 - 2016-11-02

receiving this notification:

Code:
{
  "jsonrpc": "2.0",
  "method": "AudioLibrary.OnUpdate",
  "params": {
    "data": {
      "id": 491,
      "type": "album"
    },
    "sender": "xbmc"
  }
}

you will find type "album" is not in the api spec.
It only contains one enumerated value for Notifications.Library.Audio.Type

Code:
"type": {
    "enum": [
        "song"
        ],
    "id": "Notifications.Library.Audio.Type",
    "required": true,
    "type": "string"
}

this leaves me wondering how many other types there are....


RE: AudioLibrary.OnUpdate object contains undocumented value - axa88 - 2017-03-21

well, just got hit with the undocumented type "artist" as well... still wondering what else is left undocumented...