Release plugin.video.themoviedb.helper - Access to TheMovieDb API for Skinners
(2023-07-08, 21:01)Hitcher Wrote: Can you add an option to let the skin override the 'stacked' option please?

What's the justification for overriding the user's settings?

I try to avoid options overriding the user's settings because otherwise I end up with complaints and bug reports about settings being broken.

Happy to consider it but needs a compelling reason other than personal preference (in which case it should be up to the user).

(2023-07-08, 21:01)Hitcher Wrote: EDIT: I also noticed that ListItem.Property(air_time) isn't using my regional setting for 'Time format' of h:mmConfuseds xx instead it's always using hh:mm.

Seconds are stripped out intentionally as air time data doesn't include seconds and it wouldn't really make sense for air_time anyway.

The AM/PM for xx should be honoured (it works for me).

The 0 padded hours is because Kodi hardcodes "h" as %I which is 0 padded 12 hour time as seen here:
https://github.com/xbmc/xbmc/blob/5b7e88...c.cpp#L449

So that's working correctly according to what Kodi returns with getRegion()


(2023-07-08, 21:01)Hitcher Wrote: EDIT2: Is it also possible to open the TV show in the library when clicking on an episode?

ListItem.Property(tvshow.dbid) will give you the base tvshow library DBID as long as you have enabled the option to retrieve Kodi database details in settings (it's an option for performance reasons for users with large libraries - so it's not something that can be forced by a skin).

xml:

<onclick>ActivateWindow(videos,videodb://tvshows/titles/$INFO[Container(ID).ListItem.Property(tvshow.dbid)]/,return)</onclick>

There is also a user setting to automatically set this as the folderpath
Code:

TMDbHelper Settings > Widgets > Next aired library calendar links to local tvshow

However, I just realised that setting is only working for single episodes and I need to fix it for stacked ones.
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 - 2023-07-09, 10:22
Logout Mark Read Team Forum Stats Members Help
plugin.video.themoviedb.helper - Access to TheMovieDb API for Skinners2