2015-09-11, 08:24
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"
}
}
},
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"
}
}
},