Release plugin.video.themoviedb.helper - Access to TheMovieDb API for Skinners
(2023-07-06, 12:35)Hitcher Wrote: I plan on using the 'Lists Next Aired Calendar' feature to replace my old 'TV Show Next Aired' layout but would like to check out how other skins implement it first. Do you use it any of yours use it or do you know of any other skins that do?

Thanks.

Yep AH2 has a next aired calendar

Relevant part of the include for the widgets which should be plenty to get you started:
https://github.com/jurialmunkey/skin.arc...l#L83-L148

I use widgets setup for individual days covering a week starting from Yesterday (startdate=-1 days=1). You can use any startdate/day values in paths that you like if you want a wider range of dates or want widgets that cover a longer period (startdate=0 is today and days=X is number of days the list covers - from memory I think limit is up to 31 days either side).

I have two custom windows - one for Library based calendar and one for Trakt based calendar. The windows are identical and just switch the info param used in the plugin path.
https://github.com/jurialmunkey/skin.arc...tAired.xml
https://github.com/jurialmunkey/skin.arc...tAired.xml

Container(ID).ListItem.Property(widget) can be used to get the day name if days=1 (unless it's one of the below special labels)
if days=1 and startdate=-1|0|1 "Yesterday|Today|Tomorrow"
if days=7|14|30 and startdate=0 "This Week|Fortnight|Month"
if days=7|14|30 and startdate=-7|-14|-30 "Last Week|Fortnight|Month"
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-07, 10:25
Logout Mark Read Team Forum Stats Members Help
plugin.video.themoviedb.helper - Access to TheMovieDb API for Skinners2