Release plugin.video.themoviedb.helper - Access to TheMovieDb API for Skinners
(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)
Arctic Fuse - Alpha now available. Support me on Ko-fi.
Reply


Messages In This Thread
RE: TheMovieDB Helper - by jurialmunkey - 2019-07-31, 11:47
RE: plugin.video.themoviedb.helper - Access to TheMovieDb API for Skinners - by jurialmunkey - 2019-12-08, 07:10
Logout Mark Read Team Forum Stats Members Help
plugin.video.themoviedb.helper - Access to TheMovieDb API for Skinners2