how to get 'tvshowid' for all the tv shows I have in Library.
#1
I'm using method 'VideoLibrary.GetTVShows' to retrieve list of TV shows and am able to receive it. But the response does not have any 'tvshowid' field. (I have tried adding "tvshowid" in properties, but that just makes the call fail with an error message)

In absence of this field, how do I fetch season and episodes of any specific show ? My current JSON RPC call to 'VideoLibrary.GetEpisodes' returns all episodes of all shows. Which is not what I want. I want only specific show.

Here are the calls that I make for the two methods above:

{ "jsonrpc": "2.0",
  "method": "VideoLibrary.GetTVShows",  
  "params": {  "limits": { "start" : 0, "end": 1000 }, 
                    "properties" : ["art", "rating", "title", "originaltitle", "thumbnail", "playcount", "file", "plot", "cast", "year", "genre", "season", "episode"]
                 },
"id": "libTvShows"} );


{ "jsonrpc": "2.0",
"method": "VideoLibrary.GetEpisodes",
"params": { 
                "limits": { "start" : 0, "end": 1000 },
                "properties" : ["art", "rating", "title", "originaltitle", "thumbnail", "playcount", "file", "plot", "season", "episode"]
                },
"id": "libTvShows"} );

Thanks in advance.
Reply
#2
Nevermind, the <tvshowid> was available in the output, I was looking at the processed output where I was only picking up select keys. I'm all set for now.
Reply

Logout Mark Read Team Forum Stats Members Help
how to get 'tvshowid' for all the tv shows I have in Library.0