2018-08-01, 23:04
I'm trying to figure out how to make a single request that triggers Kodi to play the latest added episode of a TV-Show without first issuing a command to list the episodes of that show.
The usage would be in a home automation scenario to trigger a request from a third-party physical or software device to start playing a particular show.
I'm imagining something like "Google, show me XYZ", "Alexa, play my favourite show" or "Hey Siri, play XYZ"
I'm stuck trying to figure out this: http://192.168.XYZ.XYZ:8080/jsonrpc?request={"jsonrpc":"2.0","method":"Player.Open","params":{??????????}
Known and preconfigured in the command would be the tvshowid but not the id of the latest episode.
Does anyone have any suggestions on how to solve this?
The usage would be in a home automation scenario to trigger a request from a third-party physical or software device to start playing a particular show.
I'm imagining something like "Google, show me XYZ", "Alexa, play my favourite show" or "Hey Siri, play XYZ"
I'm stuck trying to figure out this: http://192.168.XYZ.XYZ:8080/jsonrpc?request={"jsonrpc":"2.0","method":"Player.Open","params":{??????????}
Known and preconfigured in the command would be the tvshowid but not the id of the latest episode.
Does anyone have any suggestions on how to solve this?