New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing episodes in "After season" specials #57

Open
zeehio opened this Issue May 17, 2015 · 3 comments

Comments

Projects
None yet
2 participants
@zeehio
Copy link

zeehio commented May 17, 2015

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

This comment has been minimized.

Copy link
Member

joethefox commented Dec 12, 2015

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

This comment has been minimized.

Copy link
Author

zeehio commented Dec 13, 2015

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 😃

@joethefox

This comment has been minimized.

Copy link
Member

joethefox commented Dec 13, 2015

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment