Kodi Community Forum
Fix suggestion: X of Y EPISODES WATCHED - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Skins Support (https://forum.kodi.tv/forumdisplay.php?fid=67)
+---- Forum: Skin Archive (https://forum.kodi.tv/forumdisplay.php?fid=179)
+----- Forum: Ellipsis (https://forum.kodi.tv/forumdisplay.php?fid=119)
+----- Thread: Fix suggestion: X of Y EPISODES WATCHED (/showthread.php?tid=79550)



Fix suggestion: X of Y EPISODES WATCHED - karvaztor - 2010-08-23

There is a bug in the TV Shows views. When in "Show Only New Videos" mode, the total number of unwatched episodes is shown where the total number of episodes should be presented.

For instance, if you have a TV show with 46 episodes, 12 of which are unwatched, it's gonna show "34 OF 12 EPISODES WATCHED" when in "Show Only New Videos" mode.

In IncludeLibraryInfo.xml, changing
Code:
ListItem.Episode
to
Code:
ListItem.Property(TotalEpisodes)
on lines 206, 294, 904 and 993 seems to fix the issue.


- Blackbolt - 2010-08-25

Nice one, I hadn't had a chance to get to this yet. Its things like this that we need from our users, thanks for the input I'll add it to the build asap.