Kodi Community Forum

Full Version: Movies.InProgress Infolabel
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
There seems to be no "Movies.InProgress" infolabel (or TVShows.InProgress for that matter) Any plans for one?
What should that InfoLabel display? We already have ListItem.PercentPlayed if that is what you´re lookin for.
To add to what Phil65 said, there's also ListItem.IsResumable if you're looking for a bool condition.
He's looking for total movies/shows that are currently in progress to show in the library stats on Metropolis home screen.
(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>
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