CastagnaIT / plugin.video.netflix

InputStream based Netflix plugin for Kodi
MIT License
1.89k stars 258 forks source link

[infolabels] Make sure that parsed persons have a name #1670

Closed CastagnaIT closed 6 months ago

CastagnaIT commented 6 months ago

Check if this PR fulfills these requirements:

Types of changes

Description

Looks like we have found one of website bugs, on the second response of the requested menu list data2.json the "person" list have the ID 60008166 that have a empty value on "name" field this should not happens but yeah one of many website weirdness

            "60008166": {
                "id": {
                    "$type": "atom",
                    "value": 60008166
                },
                "name": {
                    "$type": "atom",
                    "value": ""
                }
            },

the change take care that all values taken from "person" list are not empty

fix #1655 superseeds #1664