Kodi Community Forum
VideoLibrary.GetTVShowDetails returns only first path? - 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: VideoLibrary.GetTVShowDetails returns only first path? (/showthread.php?tid=218586)



VideoLibrary.GetTVShowDetails returns only first path? - vajonam - 2015-02-16

I have a TV show that is spread across many paths


Code:
SELECT * FROM xbmc_video90.tvshowlinkpath where idShow = 24;

# idShow, idPath
24, 173
24, 644
24, 770
24, 1018

When I use

Code:
http://192.168.100.1:8080/jsonrpc?request={"jsonrpc":"2.0","method":"VideoLibrary.GetTVShowD​etails","params":{"tvshowid":24, "properties": ["file"]},"id":

the return is just

Code:
{"id":1,"jsonrpc":"2.0","result":{"tvshowdetails":{"file":"/net/atacama/Video/English/Television/Family Guy/","label":"Family Guy","tvshowid":24}}}

This is only the 1st path of the show, it is idPath 173 (result table) , what about all the other paths? How can I get those?


RE: VideoLibrary.GetTVShowDetails returns only first path? - Tolriq - 2015-02-17

Haven't checked in Helix but before you could only get them with a GetTvShows and seek for the same show name as they will have different ids.


RE: VideoLibrary.GetTVShowDetails returns only first path? - vajonam - 2015-02-18

Yeah that doesn't work. GetTVShow only returns 1 record per show and 1 ID. Think this is feature request.