Bug Bad stop object notificaiton
#1
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...
Reply
#2
Thanks for your report. PR10620 should fix it.

For next time please include the whole notification because that makes it easier to find it in the code.
Always read the online manual (wiki), FAQ (wiki) and search the forum before posting.
Do not e-mail Team Kodi members directly asking for support. Read/follow the forum rules (wiki).
Please read the pages on troubleshooting (wiki) and bug reporting (wiki) before reporting issues.
Reply
#3
Ok full objects from now on.
Glad if I can help
Reply

Logout Mark Read Team Forum Stats Members Help
Bad stop object notificaiton0