You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need to use GetMovieDetails with the movie ID in order to get the filepath like in this python example: json_query = xbmc.executeJSONRPC('{"jsonrpc": "2.0", "method": "VideoLibrary.GetMovieDetails", "params": {"properties": ["file", "imdbnumber", "year", "trailer", "streamdetails", "art"], "movieid":%s }, "id": 1}' %dbid)
Then we can use Files.PrepareDownload to get a url we can playback: curl --user kodi:kodi --header "Content-Type: application/json" --data '{"jsonrpc":"2.0", "id":1, "method":"Files.PrepareDownload", "params":{ "path": "/home/a1rwulf/Videos/moviecuts/2_Fast_2_Furious/2_Fast_2_Furious.mkv" }}' 'http://127.0.0.1:8080/jsonrpc'
We can playback that url in the browser with a HTML5 player(only will support some formats, if we ever get transcoding working we could support every format)
No description provided.
The text was updated successfully, but these errors were encountered: