Kodi Community Forum

Full Version: miscatigorized properties in schema
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Why are items that are returned for one player, categorized with items from another player?
Such as the lastplayed property which is valid and returnable for both a video AND AUDIO player items, but its buried in Video.Details.Item...
This is not the only one but the only one i can think of right now...
Makes it tricky to write proper hierarchical code when valid and invalid items are mixed in together


"Video.Details.Item": {
"extends": "Video.Details.Media",
"id": "Video.Details.Item",
"properties": {
"dateadded": {
"default": "",
"type": "string"
},
"file": {
"default": "",
"type": "string"
},
"lastplayed": {
"default": "",
"type": "string"
},
"plot": {
"default": "",
"type": "string"
}
}
},