I wrote a little crawler that scans my preferred P2P site, checks (according to keywords) if a show is available and downloads it.
But before downloading I would like to check if that episode already exists in my PMS library.
So I thought I would find the information in the XML response given by querying "localhost:32400/library/metadata/5442/allLeaves" (note : 5442 is the id of the show) but no season/episode information here...
from there you will be kind of redirected with key=
/library/metadata/37/children
to the view like described. For sure the "2", "37", "children" are only keywords valid in my database - they would different on you machine. Also, the Season/Episode view only comes up when using a TVShow scanner, a Movie has different metadata.