Retrieving video stream details with JSON-RPC
#1
Question 
Hi,

I am trying to retrieve Movie information with JSON RPC using the following command:

PHP Code:
xbmc.executeJSONRPC('{"jsonrpc": "2.0", "method": "VideoLibrary.GetMovieDetails", "params": {"movieid": %d, "properties": ["title", "studio", "mpaa", "plot", "genre", "year", "runtime", "streamdetails", "rating", "tagline", "director", "writer", "fanart", "thumbnail", "file", "trailer"]}, "id": 1}' % ( self.ID, ) ) 

I get all the information except "streamdetails", which just returns an empty string. Am I doing anything wrong in the JSON call? Please help!

Thanks,
tanzirc
Reply
#2
I expect it hasn't been extracted yet. It isn't done at scan time but when highlighted in the GUI etc. It's similar to artist details in that it isn't done at scan time. If not that then the JSONRPC thread is the place to report.
Image
AWXi - Ajax web interface. Wiki
Reply
#3
Question 
The stream details were extracted during the library scan, because I can access them in the SQL database.

Is there a dedicated JSONRPC thread to report this? I couldn't find one searching the forum.

Thanks,
tanzirc
Reply

Logout Mark Read Team Forum Stats Members Help
Retrieving video stream details with JSON-RPC0