2019-12-08, 07:10
(2019-12-07, 13:49)bsoriano Wrote: EDIT: @jurialmunkey , there seems to be an issue with the ListItem.Duration returned by the service monitor. It is returning really high values, like 8520 for Star Wars: The Rise of SkyWalker. Is there a conversion to minutes missing here perhaps?
Ah I forgot that Window Properties don't have time formatting options!
Okay latest version will return the following:
Total Min - e.g. returns "125" for a 2hr 5m duration.
Code:
Window(Home).Property(TMDbHelper.ListItem.Duration)
Hours - e.g. returns "2" for a 2hr 5m duration.
Code:
Window(Home).Property(TMDbHelper.ListItem.Duration_H)
Minutes - e.g. returns "5" for a 2hr 5m duration.
Code:
Window(Home).Property(TMDbHelper.ListItem.Duration_M)
HH:MM - e.g. returns "02:05" for a 2hr 5m duration.
Code:
Window(Home).Property(TMDbHelper.ListItem.Duration_HHMM)