I want to say I heard this work when I maybe first installed this but now it doesn't seem to work. When I'm saying "What Movie is this" it states the movie then says staring and then nothing. I thought it would say the 3 main stars of the movie / tv show.currently this is what it looks like.
Now if I do a test in postman to see how the cast comes back it looks like the following:
http://10.1.1.70:8080/jsonrpc?request={"jsonrpc": "2.0", "method": "Player.GetItem","params":{"playerid":1,"properties":["cast"]}, "id": "VideoGetItem"}
information is returned as the following:
{
"id": "VideoGetItem",
"jsonrpc": "2.0",
"result": {
"item": {
"cast": [
{
"name": "Jeremy Clarkson",
"order": 1,
"role": "himself",
"thumbnail": "image://http%3a%2f%2f10.1.1.25%3a8096%2femby%2fItems%2f21c34fd934fe6d5bd8b286539b7f84d2%2fImages%2fPrimary%3fMaxWidth%3d400%26MaxHeight%3d400%26Index%3d0%26Tag%3d358f4d9b42d2568103ad79db8a3dddb4/"
},
{
"name": "Jonathan Palmer",
"order": 2,
"role": "Himself",
"thumbnail": "image://http%3a%2f%2f10.1.1.25%3a8096%2femby%2fItems%2f97da624e6b257227ddf03bf7f292d0d3%2fImages%2fPrimary%3fMaxWidth%3d400%26MaxHeight%3d400%26Index%3d0%26Tag%3da6ec76a7621a7dab137ff5426d34d884/"
},
{
"name": "Russ Swift",
"order": 3,
"role": "Himself",
"thumbnail": "image://http%3a%2f%2f10.1.1.25%3a8096%2femby%2fItems%2f312d155e42d314bd7c0b563a859eb655%2fImages%2fPrimary%3fMaxWidth%3d400%26MaxHeight%3d400%26Index%3d0%26Tag%3d31dcd3dd6134011a954ae409648923a2/"
}
],
"id": 46,
"label": "Clarkson: No Limits",
"type": "movie"
}
}
}
if I change {lastresult} to {item.cast} it'll start speaking everything there. Is there anyway to parse just the name out when it is returned back so that I can just here the names and not it trying to read every single item between the cast brackets? I've been programming so much in this thing giving me a lot of info from Kodi and it's been great.
Any input would be greatly appreciated.