Boy this one was getting me for a while, on occasion i was receiving a crash on a notification…
Finally caught the object:
Code:
{
"end": false,
"item": {
"title": "drdvd.iso",
"type": "movies"
}
}
But this notification is bad as there is no type “movies”, but rather only “movie” as defined in the spec:
Code:
"Notifications.Item.Type": {
"default": "unknown",
"enums": [
"unknown",
"movie",
"episode",
"musicvideo",
"song",
"picture",
"channel"
],
"id": "Notifications.Item.Type",
"type": "string"
}
As i dont use the video on Kodi all that much, i was never hitting this on a movie, but low and behold it’s either a bug or a documentation issue.
fwiw, i only get this bad data on a dvd player stop notification, so…