2016-07-11, 12:53
Is there a way to limit or filter the data returned or video cast information?
I send the following JSON command to get movie details:
{"jsonrpc":"2.0","method":"VideoLibrary.GetMovieDetails","params":{"movieid":38,"properties":["title","genre","year","rating","director","plot","thumbnail","cast"]},"id":55}
All informations is returned correctly but the cast information is very long. The cast information includes:
Name
Order
Role
Thumbnail
Because I will am not going to show the cast thumbnails within my GUI it would be helpful not to receive this information. Is there a way to filter this and if so, how?
I am still learning how to use the JSON and I am getting better in it, but it is a pretty steep learning curve.
I send the following JSON command to get movie details:
{"jsonrpc":"2.0","method":"VideoLibrary.GetMovieDetails","params":{"movieid":38,"properties":["title","genre","year","rating","director","plot","thumbnail","cast"]},"id":55}
All informations is returned correctly but the cast information is very long. The cast information includes:
Name
Order
Role
Thumbnail
Because I will am not going to show the cast thumbnails within my GUI it would be helpful not to receive this information. Is there a way to filter this and if so, how?
I am still learning how to use the JSON and I am getting better in it, but it is a pretty steep learning curve.