![]() |
how to use Video.Cast in a Json Get Request? - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93) +---- Forum: JSON-RPC (https://forum.kodi.tv/forumdisplay.php?fid=174) +---- Thread: how to use Video.Cast in a Json Get Request? (/showthread.php?tid=361803) |
how to use Video.Cast in a Json Get Request? - Skinnerxyz - 2021-03-30 hello, i try to get the Video.Cast over the Json RPC, but my request dont works. I want the Actors Thumbs and Name. my GET request {"jsonrpc": "2.0", "method": "Video.Cast", "params": { "properties": ["name","order","role","thumbnail"] }} perhaps someone can say whats wrong? THX RE: how to use Video.Cast in a Json Get Request? - Skinnerxyz - 2021-03-30 of the currently playing media the Video.Cast RE: how to use Video.Cast in a Json Get Request? - jonib - 2021-03-30 (2021-03-30, 20:12)Skinnerxyz Wrote: {"jsonrpc": "2.0", "method": "Video.Cast", "params": { "properties": ["name","order","role","thumbnail"] }}"Video.Cast" is not a method so can't be used directly to get cast information. I didn't fully check what you need but here are some hints: Use "Player.GetItem" method to get currently playing media info Then use "VideoLibrary.GetMovieDetails" or "VideoLibrary.GetEpisodeDetails" method to get the "Cast". You might need to use some other methods to get extra parameters like playerid. Hopefully this helps jonib |