xbmc / Official-Kodi-Remote-iOS

Full-featured remote control for XBMC Media Center. It features library browsing, now playing informations and a direct remote control.
Other
219 stars 104 forks source link

Missing episodes in "After season" specials #57

Open zeehio opened 9 years ago

zeehio commented 9 years ago

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: a) As a "Specials" season, in TV Shows/Doctor Who (2005)/Specials b) On the season they should be watched at their expected position (as shown on the link above)

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.

joethefox commented 8 years ago

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)

...mumble mumble...

zeehio commented 8 years ago

Then this means that if I want to get this issue addressed I have forwarded this issue on the Kodi feature request forum. Let's hope it gets some attention :smiley:

joethefox commented 8 years ago

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.