2011-07-04, 13:35
markus101 Wrote:Hello,
I've just started looking at the JSON interface, I'm currently accessing it via HTTP, which is working great. There is currently one thing I'm looking for, is there a way to get the path of a TV Show with "VideoLibrary.GetTvShows"? I see for Episodes I can get the file, the same for Movies, hoping the same exists for GetTvShows.
I attempted to use, directory, path, folder, dir, to no avail.
Edit: I've been testing against both Dharma (my main setup) and the latest nightly from XBMC.org (20110703-36d20e9), if i pass the field "file" to Dharma, I get a response, without that field, If I pass the same field to the nightly I get an empty string back (progress!).
I also gave GetTvShowDetails a shot with the field "file", method not implemented on Dharma, but on the nightly I get a valid response with the file filled out.
Based on what I've uncovered now it seems I will need Bleeding Edge/Eden to support what I'm looking for, but I'm hoping to save the extra step of having to get the details for a TvShow, though that is less of a concern.
I'd appreciate any help with this.
Cheers,
Markus
Uhm sounds like nightly have a bug then. Tvshows and season cant have a directory coupled with them. Episodes of the same show can be spread out over many sources and directories. Same goes with albums and artists.