Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Missing episodes in "After season" specials #57
Some TV Shows have "Special Episodes" that should be played before or after some episode or season. These episodes are usually catalogued as belonging to "Season 00" (S00E??). The episode number can be quite arbitrary.
As an example I will use "Doctor Who (2005)" and in particular Season 4. A list of episodes and specials can be found at the TVDB Doctor Who (2005) Season 4. The long list of specials is available at Doctor Who (2005) Specials.
Currently, the TV Kodi interface shows these special episodes in two different places:
Option b) is very user friendly as it is not obvious that after S04E13 comes S00E09. :-)
When using your (awesome) Kodi Remote, in the "TV Shows/Doctor Who (2005)" I can only find special episodes in "a)", but not listed at their expected place "b)".
It would be great if the Kodi Remote app could be improved to match the episode list shown on the Kodi interface for this Special episodes case.
I have no experience in Objective-C nor in the Kodi API, otherwise I would try to fix this by myself. If you feel you can't fix this, maybe with some pointers such as "the episode list is fetched here using this API call" I may be able to submit a pull request.
Hi zeehio, sorry for the long delay... your issue is well explained but at first look seems not possibile accomplish your feature request.
The match between episode and season is done by using the field "season" obtained into the calls "VideoLibrary.GetSeasons" ( http://kodi.wiki/view/JSON-RPC_API/v6#VideoLibrary.GetSeasons ) and "VideoLibrary.GetTVShows" ( http://kodi.wiki/view/JSON-RPC_API/v6#VideoLibrary.GetTVShows ).
For those specials I obtain season "0" and they end up into the "specials" section (season 0). Looking at the "tv shows" fields ( http://kodi.wiki/view/JSON-RPC_API/v6#Video.Fields.TVShow ) and tv show's season fields ( http://kodi.wiki/view/JSON-RPC_API/v6#Video.Details.Season ) seems that there aren't fields that can help to rebuild the list as you explained in option b)
I have done some tests and seems that I've been able to obtain the specials into the seasons if I change the logic on how the episodes list is retrieved.
As described above, if I ask to retrieve all the episodes for a tvshowid then I can't do the match for the reasons above BUT if I ask the single season then the special episodes are into the requested season.
It's a real change of logic on how the data are retrieved and displayed via the app, having some clue into the episodes details imho could be better. I'm thinking about.