Kodi Community Forum
Movies.InProgress Infolabel - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12)
+--- Thread: Movies.InProgress Infolabel (/showthread.php?tid=212518)



Movies.InProgress Infolabel - MacGyver - 2014-12-27

There seems to be no "Movies.InProgress" infolabel (or TVShows.InProgress for that matter) Any plans for one?


RE: Movies.InProgress Infolabel - phil65 - 2014-12-27

What should that InfoLabel display? We already have ListItem.PercentPlayed if that is what you´re lookin for.


RE: Movies.InProgress Infolabel - Sranshaft - 2014-12-27

To add to what Phil65 said, there's also ListItem.IsResumable if you're looking for a bool condition.


RE: Movies.InProgress Infolabel - jingai - 2014-12-27

He's looking for total movies/shows that are currently in progress to show in the library stats on Metropolis home screen.


RE: Movies.InProgress Infolabel - Sranshaft - 2014-12-27

(2014-12-27, 17:32)jingai Wrote: He's looking for total movies/shows that are currently in progress to show in the library stats on Metropolis home screen.

He probably should have been a bit clearer. Best you can do at the moment is load a smart playlist into a hidden list and get the Container.NumItems from it. Example playlist I use in Immersive is:

Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<smartplaylist type="movies">
    <name>Movies In Progress</name>
    <rule field="inprogress" operator="true"></rule>
    <order direction="descending">lastplayed</order>
</smartplaylist>

and call the playlist like:

Code:
<content target="video">special://skin/playlists/In Progress (Movies).xsp</content>



RE: Movies.InProgress Infolabel - MacGyver - 2014-12-27

Sorry for my vagueness. Yes, it's to go along with Movies.Watched and Movies.Unwatched. Just for library overview.

As seen in the top left panel near the bottom left corner. But for showing a Total, Watched, and In-Progress instead.
Image