drinfernoo / plugin.program.autowidget

AutoWidget is a program add-on for Kodi, designed to give a more dynamic and interesting experience to using skin widgets.
73 stars 17 forks source link

Create "timer" Setting for holliday/featured content cycles [Request] #88

Open jojobrogess opened 3 years ago

jojobrogess commented 3 years ago

My Feature Request Is NOT Related To A Problem.

I would like to be able to set up an autowidget that would traditionally, let's say, use recommended movies as it's main content source, but when Christmas time starts it "switches" (or I guess you call it cycles? idk) to showing aChristmas movie smartplaylist.

This would also help with the creation of another idea I had, which was to cycle smartplaylists from specific actors to "feature" on a weekly or biweekly basis.

A convoluted way of kinda accomplishing this is to create the individual playlists and then switch/add/search the widget/playlist when a holiday comes up or when I want to "feature" an actor, or just to display all holiday, seasonal, and specialty playlists always. Which I find annoying, because I don't really want to show content from specific widgets like this I don't plan on watching at this time. Like displaying a Christmas movie playlist in the middle of August.

Additional context Add any other context or screenshots about the feature request here.

I think the ability to choose a specific "cycle" date/time would allow myself and others the ability create custom seasonal and featured autowidgets that have the ability to change content based off of the date or time.

As well I think having a "fallback" option would be nice because instead of just cycling to the next or to a random item it would cycle back to whatever you set it to before it was activated. So using my main example from above, my recommended movie widget would turn into a Christmas movie recommended widget, then after Christmas (let's say the 26th) it would go back to the recommended movie widget and then on New Years Eve it would switch to a playlist of sloshy drunken movies, and on New Years day(mid-day) it would switch to a bunch of Hallmark "get your life together" movies. And a week later, it would be back to the normal recommended movie widgets because lets face it we all know new years resolutions are a lie. This would be pretty freakin siick for doing a Halloween Horror Mashup. Like in the beginning of the month you could start off with the classics black and white, then move into horror, psychological thriller, gore, week by week getting more intense.

I don't really know how involved this would be to implement, so if it's a far reach let me know. Or if you need any more examples or explanations let me know.

OHH and thanks for autowidget in general, this shit is dope af.

drinfernoo commented 3 years ago

Thanks for opening this issue 👍 I do like the suggestion, but I'm not sure how involved it would be to implement.

jojobrogess commented 2 years ago

Is there any way of setting the Default time between widget refreshes to something more than 12 hours?

I ask this because I have, for the most part, a static library and while I want the widgets to change, it's a little unnecessary for me to refresh it so quickly. Is there any way of arbitrarily setting it? To like multiple days. So that it doesn't refresh everyday(everytime I open kodi)

This issue(#88) is about the ability to set the widget refresh time to specific dates, and have advanced features that coincide with that(possible fallback option). Since it is a little bit different from this one, should I open a new issue to ask this?

jojobrogess commented 2 years ago

I've been giving this some thought and I think this could be solved by either adding an additional option to the context menu options for widgets something like 'refresh date instead of time' or changing the refresh context menu entirely.

So my idea is Instead of selecting from a range of 15min-12h, it can be user defined in either hours, days, or specific dates.

I also think that adding an option to "stack" the refresh parameters would allow for more advanced widget options.

Using my example from above, I would have a widget group that has recommended widgets and a playlist with Christmas type movies in it. Once the date reaches the one I have set for the widget inside Autowidget, it cycles to my Christmas movies playlist. Then once the second date is reached it cycles again.


I've been trying to study your addon to see if I can understand it enough to be able to add this in. But it's proving to be a little too complicated for me lol I'm still learning about how to do all of this.

I doubt I'll be able to do this, but if I can I'll post it in here. Is that okay with you?

drinfernoo commented 2 years ago

@jojobrogess Thanks for reminding me of this request... I'm definitely not opposed to it, but I just haven't really had much time to get into AutoWidget lately.

I really like the idea of automatically changing out for holiday- or event-based widgets, as I think it gives this an important way to achieve the "streaming provider vibe" that I initially set out for. I do, however, think that making multiple sets of refresh parameters will complicate things on the backend quite a bit, and be a pretty hefty modification to the code.

If you want to take a stab at it, I'm more than happy to entertain a PR (or even simply further discussion here), but I'm not sure when I might get the time and motivation to implement it myself.